Comments (20)
This is probably very late as I note your last post was 12 June and you have probably worked out a solution. However, I like you, am using VB6 and have developed routines for the new HMRC API using Chilkat Software ActiveX components. Not too expensive and very good.
from vat-api.
Thank you for your question, unfortunately we cannot answer this question as it relates to the wider HMRC API Plaform and is not exclusive to the MTD Self Assessment and VAT APIs.
Could you please send your question to this email address [email protected] and your question will be dealt with.
Thanks and sorry for the inconvenience.
from vat-api.
Have you found a solution for this?
from vat-api.
No, I emailed team but did not get any answer yet
from vat-api.
from vat-api.
Thanks markogrady , interim web solution can be an option but I think this will cause extra work around.
yes, i want to discuss it with you, my contact details - [email protected]
from vat-api.
You need to set the redirect url to either:
"urn:ietf:wg:oauth:2.0:oob" or "urn:ietf:wg:oauth:2.0:oob:auto"
As mentioned here:
https://developer.service.hmrc.gov.uk/api-documentation/docs/authorisation/user-restricted-endpoints
from vat-api.
Tried that a get an html page with <title>Sorry, we are experiencing technical difficulties - 500</title>
c# code (Using RestSharp)
string url = "https://test-api.service.hmrc.gov.uk";
string client_id = "_xxxxxxxxxxxxxxxxxxxxxxxxxx";
string redirectUri = "urn:ietf:wg:oauth:2.0:oob";
var restclient = new RestClient(url);
RestRequest request = new RestRequest("oauth/authorize") { Method = Method.GET };
request.AddParameter("response_type", "code");
request.AddParameter("client_id", client_id);
request.AddParameter("scope", "hello");
request.AddParameter("redirect_uri", redirectUri);
from vat-api.
Authorisation is down at the moment - Was working earlier today
from vat-api.
Thanks, I tired using urn:ietf:wg:oauth:2.0:oob:auto but it saying redirect_url invalid.
from vat-api.
@thakurankesh ,
you also need to add that redirect url to the "Redirect URI" allowed on your application details page on:
https://developer.service.hmrc.gov.uk/developer/applications
from vat-api.
Thanks @CoppensBart . Just to confirm one thing, will it ask for login after API call is complete?
If thats true, how can we submit Vat without asking for login details from our VB6 app
from vat-api.
@thakurankesh
Follow @CoppensBart advice. Think of the refreshtoken as your as your apps login details
from vat-api.
Does anybody have sample code for the calling of the VAT submit API in VB6?
from vat-api.
I am looking at developing VB6 code for HMRC API. I have done some web interaction programs and also routines for the Government Gateway for VAT and Payroll. It would be nice to talk to other developers to prevent us all having to reinvent the wheel. I can see there being a lot of additional work being neeed in the future if HMRC has their way. [email protected]
from vat-api.
Ask @scottylace nicely for advice on the ready made OAuth2-enabled com component
from vat-api.
Hi All, can anyone suggest a contact for VB6 development HMRC VAT at Chilkat? We are having a lot of issues with obtaining structured sensible responses from HMRC (like so many of the contributors!). Thanks Aaron
from vat-api.
Have you had a look at this: https://www.chilkatsoft.com/refdoc/vbnetOAuth2Ref.html
from vat-api.
from vat-api.
from vat-api.
Related Issues (20)
- Missing info in new documentation for Submit VAT retrun HOT 2
- how to implement the getting code to generate token api for VAT returns HOT 1
- Inaccurate API documentation
- Gov-Client-Public-IP and Gov-Vendor-Forwarded fraud prevention headers don't support hybrid IPv4/IPv6 addresses HOT 1
- Incorrect DUPLICATE_SUBMISSION error HOT 7
- 500 Response when submitting a VAT Return on the sandbox environment HOT 2
- Test API service: INTERNAL_SERVER_ERROR HOT 22
- Incorrect response, client_id is required when requesting authorisation code HOT 1
- Following a VAT Return submission POST (box 5 non-zero), subsequent Liabilities calls return 404 HOT 3
- Missing Authentication - HMRC error code 401 HOT 1
- Invalid period key -VAT submission HOT 1
- Inconsistent VAT obligations in Sandbox environment HOT 4
- Timeout configuration HOT 2
- 403 - Forbidden - this endpoint is not available HOT 2
- VAT Penalty API - Discrepancy in API JSON names or keys HOT 2
- Incorrect Open VAT Obligations returned HOT 2
- RedirectURI stopped working HOT 1
- HMRC portal RedirectURI stopped working
- Can't get the /financial-details endpoint working in the sandbox HOT 5
- Sandbox: Gov-Test-Scenario header QUARTERLY_OBS_01_OPEN causes 500 Internal Server Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vat-api.