v1

latestOpenAPI 3.0.02026-07-24103118224.7 KB
Payment

Get VAT/Tax rate for a country

Retrieves the applicable tax rate based on country code and optional postal code. Useful for displaying tax information before payment.

get/api/tax/rate

Query parameters

amountInCentsHTnumber required
Example:10000

Amount in cents excluding tax (HT) to calculate tax for

countryCodestring required
Example:FR

Country code (ISO 3166-1 alpha-2)

purchasingAsBusinessboolean

Whether the purchase is for a business

postalCodestring
Example:75001

Postal code (required for some countries like US)

Response

Get VAT/Tax rate for a country successful

amountWithTaxInCentsnumber required

Amount in cents including tax (TTC)

countryCodestring required

Country code

postalCodestring nullable required

Postal code

taxAmountInCentsnumber required

Tax amount in cents (TVA/VAT)

purchasingAsBusinessboolean required

Whether the purchase is for a business

taxRateInPercentagenumber required

Tax rate in percentage

taxablePartInPercentagenumber required

Taxable part in percentage (usually 100)

Example response

{
  "amountWithTaxInCents": 12000,
  "countryCode": "FR",
  "postalCode": "75001",
  "taxAmountInCents": 2000,
  "taxRateInPercentage": 20,
  "taxablePartInPercentage": 100
}