Get tax information for a given product and address or IP
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
API version to use.
2026-03-01, 2026-01-01, 2025-05-12, 2024-09-01 Customer details. At least one of address or ip must be provided.
Optional. The address that a product is shipped from.
You can store arbitrary keys and values in the metadata. Any valid JSON object whose values are less than 255 characters long is accepted.
Calculate response
The ID of the calculation. You will use this to create a transaction.
"calc_123456789"
The type of object: tax.calculation.
"tax.calculation"
The ISO-4217 currency code of the transaction.
"USD"
Customer information returned in the response.
The automatic tax setting for this calculation.
auto, disabled "auto"
false
Total tax to charge on this calculation.
14
Total sale charge, excluding tax.
200
Total sale charge plus tax. What you should charge your customer.
214
Epoch datetime representing the date and time the tax rates are valid until.
1714787673
True if using a production API key. False if using a test API key.
"false"
Status of address resolution for the customer address. EXACT: exact address match found, POSTAL_FALLBACK_1: used postal code fallback, POSTAL_ONLY: only postal code was used for tax calculation.
EXACT, POSTAL_FALLBACK_1, POSTAL_ONLY "EXACT"
The actual address used for tax calculation after resolution.
You can store arbitrary keys and values in the metadata. Any valid JSON object whose values are less than 255 characters long is accepted.
Which input was used for tax determination.
address, ip "address"
The precision level of the resolved location.
STREET, POSTAL_PLUS, POSTAL, PROVINCE, COUNTRY, APPROXIMATED "POSTAL"