Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Edit - OAuth 2.0 Setup - HMRC VAT

(0) ShareShare
ReportReport
Posted on by 809

I'm experimenting on a BC Cloud Sandbox. I've navigated to the Service Connections page and selected HMRC VAT Setup. A page with the title: 'Edit - OAuth 2.0 Setup - HMRC VAT' is then displayed. My question is:

How do I change the Service URL on this page from the live environment to test?

(i.e.)
From:

https://api.service.hmrc.gov.uk

to

https://test-api.service.hmrc.gov.uk

... it appears to be read only?

anydesk00299.png

  • Nick Webb Profile Picture
    809 on at
    RE: Edit - OAuth 2.0 Setup - HMRC VAT

    Beg to differ. We've been doing test VAT submission to HMRC's test environment for years outside of Business Central (see link below):

    https://developer.service.hmrc.gov.uk/api-documentation/docs/api/service/vat-api/1.0

  • Suggested answer
    Marco Mels Profile Picture
    on at
    RE: Edit - OAuth 2.0 Setup - HMRC VAT

    Hello,

    Please see the following:

    learn.microsoft.com/.../making-tax-digital-submit-vat-return

    Testing the integration to HMRC in a sandbox

    Due to a limitation at HMRC, it is not possible to send test submissions of VAT Returns and test the integration in non-production scenarios. You can only send real VAT returns.

    Certain online documentation at HMRC refers to the term Sandbox. This term refers to an environment for software developers such as Microsoft and others for testing their features during development. This environment is not intended for customer testing, and it is unrelated to Business Central sandboxes.

    Thank you.

  • Nick Webb Profile Picture
    809 on at
    RE: Edit - OAuth 2.0 Setup - HMRC VAT

    I've just watched a tutorial video online which used a Service Connection called: HMRC VAT Sandbox Setup. I'm not seeing that option. Does it have to be switched on / configured somehow?

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans