Check TIN (Tax Identification Numbers) from Database against public Webservice of European Commission

Hi Patrick,

The ProgrammingGiude didn’t help much. However, I used the DevTools in Chrome to track and analyze the web-request generated on the page you provided TIN on-the-Web - European Commission and it turns out it makes a simple HTTP POST request to https://ec.europa.eu/taxation_customs/tin/rest-api/tinRequest with the following payload (country code and TIN are taken from your example):

{msCode: "DE", tinNumber: "53497136022"}

So I reproduced the same request in the project below. You can modify it to run iterations.
europe-tin.morph (3.2 KB)