After the VAT registration details in your ERP and LSP are
set up, you can continue to generate an access token in HMRC and apply it in LSP.
-
Navigate to the test or production URL listed above to gain
access to the HMRC website. Click Continue
-
Sign in using your MTD account, using your generated test user or registered
user as appropriate.
-
Click Grant Authority.
A blank or error page is opened in your browser. You must
get the authorization code in the url on the opened blank page. The code is
retrieved after the parameter “code=” .
Sample generated URL:
http://localhost:8080/oauth/grant?action=doGrant&code=b3b90afa7e9544bea5f4edb9bc0cf15d.
Note: The
code to apply in LSP is
b3b90afa7e9544bea5f4edb9bc0cf15d.
You now have 10 minutes to apply the code in LSP.