Calculate tax
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The unique identifier for the corporation associated with this transaction.
"b6d009b0-d174-463f-b030-94643c28e209"
ISO 8601 formatted date string indicating date on which the transaction took place.
ISO 4217 alpha-3 currency code for the transaction. If omitted, defaults to the standard currency of the ship-to country (e.g., USD for the US, CAD for Canada, GBP for the UK). When this differs from the ship-to country's default currency, amounts are automatically converted for tax calculation and converted back in the response.
"USD"
Type of the transaction:
- SALE: Standard sales transaction.
- REFUND: Refund/return transaction with negative line item amounts.
- PURCHASE: Purchase transaction for input tax credit tracking. Line item amounts must be negative.
SALE, REFUND, PURCHASE Shipping origin and destination addresses. The ship_to field is optional when a customer_id is provided that has a default shipping address on file. The ship_from field is required for certain destination countries. All address fields are validated against country-specific requirements — query /address-requirements to check which fields are required, optional, or ignored for a given country.
Customer details for this transaction.
Total discount amount applied to the subtotal.
x >= 00.99
Optional exemption reason to apply to the entire transaction. When provided, the transaction may be fully or partially exempt from tax based on the exemption type and applicable jurisdiction rules.
PURPOSE_RESALE, ENTITY_TYPE_NONPROFIT, GOVERNMENT, MANUFACTURER, AGRICULTURAL, EXEMPT_PRODUCT, OTHER, EXEMPT_PRODUCT