VAT Number Verification

Automatically identify and verify VAT numbers from receipts and invoices.

How It Works

  1. Extracts VAT number from a receipt
  2. Verifies the authenticity of VAT numbers using VIES
  3. Checks the existence of VAT numbers in the country's companies register
  4. Returns prompt results with valid VAT numbers or informative error messages

Compatible Endpoints

The VAT Number Verification feature is available on the following Data Extraction API Endpoints endpoints:


Enabling VAT Number Verification

To use VAT number verification, set the verifyVAT parameter to true in your API request:

curl --request POST \
  --url https://api.taggun.io/api/receipt/v1/verbose/file \
  --header 'accept: application/json' \
  --header 'apikey: YOUR_API_KEY' \ # UPDATE To Your API Key
  --header 'content-type: multipart/form-data' \
  --form 'file=@/path/to/your/receipt.jpg' \ # UPDATE To Your File Path
  --form 'verifyVAT=true'

Understanding the Response

The verified VAT number information is found in the vatNumber object inside the entities object of the response. It contains:


VAT Number Data Fields

Field NameTypeDescriptionAccess Path
VAT NumberStringThe extracted and verified VAT numberentities.vatNumber.data
Country CodeStringThe country code associated with the VAT numberentities.vatNumber.countryCode
ValidBooleanIndicates if the VAT number is validentities.vatNumber.valid
Company NameStringThe registered company name (if available)entities.vatNumber.companyName
Company AddressStringThe registered company address (if available)entities.vatNumber.companyAddress

Additional VAT Number Properties

FieldDescription
confidenceLevelA measure of how confident the system is about the extracted information.
regionsThe location of the text on the image (coordinates not shown for readability)

Response Body

You can find vatNumber inside the entities object:

{
  "entities": {
    "vatNumber": {
      "data": "GB660454836",
      "countryCode": "GB",
      "valid": true,
      "companyName": "Example Company Ltd",
      "companyAddress": "123 Business Street, London, UK",
      "confidenceLevel": 0.95,
      "regions": []
    }
  }
}

Supported Countries

European countries that are currently using the VIES system:

Austria, Belgium, Bulgaria, Croatia, Cyprus, Czechia, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Poland, Portugal, Romania, Slovakia, Slovenia


What’s Next