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.
"USD"
Type of the transaction. Can be SALE
for standard sales or RETURN
for returns/refunds.
For RETURN
transactions, additional fields like parent_invoice_id
and refund_type
are required.
SALE
, RETURN
, REFUND
ISO 8601 formatted date string indicating the date on which the tax liability should be recognized for filings and for nexus tracking, if different from the transacted_at
date.
ISO 8601 formatted date string indicating the date to use for tax rate lookups, useful for ensuring returns use the same rates as the original sale.
ISO 8601 formatted date string indicating when this transaction should appear in reports, if different from transacted_at.
Invoice or receipt number for this transaction.
Total amount before tax, shipping, handling, and discounts.
x >= 0
Total discount amount applied to the transaction.
x >= 0
0.99
Total shipping and handling charges.
x >= 0
This is the total amount charged to the customer, which includes the subtotal, shipping and handling fees, tax, and reflects any applied discounts.
x >= 0
Numeric value representing the amount of sales tax paid by the customer for this transaction.
x >= 0
Optional ID of a previous calculation used for this transaction.
Required for RETURN transactions. The ID of the original sale transaction being returned. This links the return to the original sale for proper tax accounting.
Required for RETURN transactions. Specifies whether this is a full or partial return.
- FULL: The entire transaction amount is refunded
- PARTIAL: Only specific items or amounts are refunded
FULL
, PARTIAL
Whether tax is included in the line item prices.
If this field is present, this transaction will be considered exempt.
PURPOSE_RESALE
, ENTITY_TYPE_NONPROFIT
, GOVERNMENT
, MANUFACTURER
, AGRICULTURAL
, OTHER