Grant authorization access

After the VAT registration details in your ERP and LSP are set up, you now can continue to generate an access token in HMRC and apply it in LSP.
  1. Navigate to the test or production URL listed above to gain access to the HMRC website. Click Continue
  2. Sign-in using your MTD account using your generated test user or registered user as appropriate.
  3. Click Grant Authority.

    A blank or error page is opened in your browser. You need to 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.

    1. Select your accounting entity, click Settings and select Tax Connector.
    2. Select User Authorization in the Choose Setup drop down. Click Open.
    3. Select the Environment to access, test or production and Set to Active.
    4. Paste the code in the User Authorization Code and click Submit.

      Click Refresh under Token History until the Status is updated with either Success or Fail.

      Note: If you fail to paste the code within the allotted time, you must repeat the steps above to generate a new code.