Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

MTD - HMRC Obligation Request Error (403)

(0) ShareShare
ReportReport
Posted on by

Tax > Enquiries and Reports > Electronic Messages > Electronic Messages 

I'm having an issue when sending off a VAT obligation request through MTD. I get this error code: Exception at level 0 Message: The remote server returned an error: (403) Forbidden. Source: System Stack trace: at System.Net.HttpWebRequest.GetResponse() at Dynamics.AX.Application.EMCommonWebAPI.`getResponse(EMWebRequest _request) in xppSource://Source/RegulatorySe...

pastedimage1611679791690v1.png

Can anyone help with the above? 

  • Community member Profile Picture
    2 on at
    MTD - HMRC Obligation Request Error (403)
    Hi
     
    I am having the similar issue, can anyone find the solution to this issue?
  • Suggested answer
    Anthikala Profile Picture
    82 on at
    RE: MTD - HMRC Obligation Request Error (403)

    Hi Syed,

    Did you do some service update to your D365 system recently? If yes, please check if there is a latest package that has realized related to UK MTD. (Inside the package details, it explains the required latest versions of each MTD configuration)

    Sometimes we need to have the latest version of MTD reporting format configurations to proceed with this process. So you need to import the latest required version of the configurations from ‘configuration repository’.

  • Syed A Shahid Profile Picture
    25 on at
    RE: MTD - HMRC Obligation Request Error (403)

    Hi Sheela,

    Thank you so much, it worked.

    regards,

    Syed

  • Suggested answer
    Sheela Ningappa Profile Picture
    on at
    RE: MTD - HMRC Obligation Request Error (403)

    Hi Syed,

    Please right click, view details and add the vat number and you will be able to add the vat number.

    If you still face error, please log a support ticket with MS.

    Thanks,

    Sheela

  • Syed A Shahid Profile Picture
    25 on at
    RE: MTD - HMRC Obligation Request Error (403)

    Hi Sheela,

    You mean in the following fields? I tries but its not accepting the VRN.

    pastedimage1663771609436v2.png

  • Suggested answer
    Sheela Ningappa Profile Picture
    on at
    RE: MTD - HMRC Obligation Request Error (403)

    Hi Syed,

    After creating Test User, add the VAT number of test user in D#^%>>Organization administration>>Legal entities>>Foreign trade logistics>>Intrastat export and import field.

    Thanks,

    Sheela

  • Syed A Shahid Profile Picture
    25 on at
    RE: MTD - HMRC Obligation Request Error (403)

    Thank you Sheela,

    I created the test user from HMRC website and obtain the access token but getting error at Test retrieve VAT obligations.

    Error: "Exception at level 0 Message: The remote server returned an error: (403) Forbidden. Source: System Stack trace: at System.Net.HttpWebRequest.GetResponse() at Dynamics.AX.Application.EMCommonWebAPI.`getResponse(EMWebRequest _request) in xppSource://Source/RegulatoryServices\AxClass_EMCommonWebAPI.xpp:line 95"

  • Suggested answer
    Sheela Ningappa Profile Picture
    on at
    RE: MTD - HMRC Obligation Request Error (403)

    Hi Syed,

    You can create the Test user from the HMRC Website- Create test user - HMRC Developer Hub - GOV.UK.

    You cannot create user on D365

    Thanks,

    Sheela

  • Syed A Shahid Profile Picture
    25 on at
    RE: MTD - HMRC Obligation Request Error (403)

    Hello Anthikala,

    When creating a new test user I am getting this error "Electronic message action with "Generate test user request" name is not supported by "MTD VAT interoperation (UK)" format. Action canceled." Please advice.

    Regards,

    Syed

  • Suggested answer
    Anthikala Profile Picture
    82 on at
    RE: MTD - HMRC Obligation Request Error (403)

    Hi Syed,

    I had the same issue a few months ago and I was able to solve it by creating a new test user. So please give a try to submit the test VAT using a new test user account.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,983 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans