VAT Checker API

Post check user’s VAT number.

Authorization is required to call this api.

API is designed for collecting of customer’s VAT numbers and checking for correctness.

 

Request

POST /returns/declarations/check_users_vat_number/{access_token}

 

Parameters

Parameter

Type

Description

input_vat_numbers

json

JSON object contains information about

access_token

string

User’s website token

 

Api returns a summary_rates JSON object with an array of summarized rates for each region/state.

Imput_vat_numbers example

{

  "vat_numbers": [

    {

      "country": "CZE",

      "number": "685345797"

    },

    {

      "country": "EST",

      "number": "101977100"

    },

{      "country": "CZE",

      "number": "685"}

  ]

}

 

 

Response Example

Summary response shortened for brevity.

{

  "correct": [

    "685345797",

    "101977100"

  ],

  "incorrect": [

    "685"

  ],

  "pending": []

}

  "incorrect": [

    "685"

  ]  "pending": []

}




Close Bitnami banner
Bitnami