all-about-apikey/abstract-vat-validation-rates
Muhammad Daffa cdda7e6ab5 Fix readme and added 12 information 2022-07-24 22:40:18 +07:00
..
README.md Fix readme and added 12 information 2022-07-24 22:40:18 +07:00

README.md

Abstract VAT Validation Rates

Description

Stay compliant with our simple, reliable, and powerful API for all your domestic and cross-border sales.

Example Request

  • Curl
curl "https://vat.abstractapi.com/v1/?api_key={{token}}&vat_number=SE556656688001"
  • Raw
GET /v1/?api_key={{token}}&vat_number=SE556656688001 HTTP/1.1
Host: vat.abstractapi.com

Response

  • Success
{
    "vat_number": "SE556656688001",
    "is_vat_valid": true,
    "company_name": "Google Sweden AB",
    "company_address": "Google Ireland Ltd, M Collins, Gordon House, Barrow Street, Dublin 4, Ireland",
    "company_country": "SE",
    "company_country_code": "Sweden"
}
  • Error
{
    "error":{
        "message":"Invalid API key provided.",
        "code":"unauthorized",
        "details":null
    }
}

Regex

[a-z0-9]{32}

Example API key

of3ab02f3xd12ldofxc3fosc129sd241