web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

UK MTD - How to set up IP addresses for fraud prevention headers

(0) ShareShare
ReportReport
Posted on by 94
Hello,

I am out of my depth here, so please excuse me if the question is incorrectly formulated. I am currently preparing a UK environment for MTD VAT integration. I have followed the set up of the official MS documentation. There is one part of it that I am unable to grasp however, that is detailed here https://learn.microsoft.com/en-us/dynamics365/finance/localizations/united-kingdom/emea-gbr-mtd-vat-integration-setup#headers. Specifically the following points, I don't understand how to approach them practically:
  • In the Lookup result field, select Gov-Client-Public-IP. In the ExternalServiceEndpoint field, specify the HTTPS address of the external web service that the system calls when a request is initiated to HMRC's MTD VAT API to collect the client public IP address. Your privacy is important to us. To learn more, read our privacy notice.
  • In the Regex field, specify a regular expression that's specific to the external web service that you specified in the ExternalServiceEndpoint field, and that enables the IP address in IPv4 or IPv6 format to be extracted from the response of the web service.
  • In the Lookup result field, select Gov-Vendor-Public-IP. In the ExternalServiceEndpoint field, specify the HTTPS address of the external web service that the system calls when a request is initiated to HMRC's MTD VAT API to collect the public IP address of the server. The length of this field's value is limited to 60 characters. Only HTTPS URLs are supported. The format for the Simple Traversal of User Datagram Protocol (UDP) through network address translation (NAT) server (STUN server) for Web Real-Time Communication (WebRTC) is just the STUN server address. When the endpoint doesn't start with https://, the system uses it as a STUN server.


The external services referenced, can we just use public services or are there specific ones recommended? If they are general, what serviced would one use?
 

The regular expression, is that necessary and if so how does one know what to enter here?

Thanks in advance,
O

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 804

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 639 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 528

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans