Calculate
Calculate tax
POST
/
calculate
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
corporation_id
string
requiredThe unique identifier for the corporation associated with this transaction.
transacted_at
string
requiredISO 8601 formatted date string indicating date on which the transaction took place. If tax calculations need to be based on a different date, please contact our team for assistance.
customer_details
object
requiredCustomer details for this transaction.
invoice_currency
string
requiredISO 4217 alpha-3 currency code for the transaction.
subtotal
number
requiredTotal amount before tax, shipping, handling, and discounts.
discount
number
Total discount amount applied to the subtotal.
shipping_and_handling
number
Total shipping and handling charges.
line_items
object
requiredResponse
200 - application/json
data
object
message
string