The Transaction Object
Core Properties
Address Object
Line Item Properties
- For point-of-sale orders, set
shipFromAddressandshipToAddressto identical values. - Prefer separate
shippingandhandlingamounts; useshippingHandlingonly if combined. - Updates/deletions for transactions in closed filing periods are forbidden.
- Transactions created with
transactedAtin closed periods auto-adjust to current time.
Entity Exemption Types
EDU_PRIVATE, EDU_PUBLIC, FEDERAL_GOV, LOCAL_GOV, NON_PROFIT, STATE_GOV, TRIBAL
Marketplace Values
ALIBABA, AMAZON, APPLE, BEST_BUY, COSTCO, EBAY, ETSY, EVENTBRITE, FLIP, GOOGLE, GUNBROKER, LOWES, MACYS, META, MIRAKL, NEWEGG, NINTENDO, OVERSTOCK, POSHMARK, REVERB, SHOP, SONY, TARGET_PLUS, TIKTOK, WALMART, WAYFAIR
Example
The transaction object is the standard request shape across both the/transactions and /calculations endpoints.
List All Transactions
Number of items to return (1-100)
Pagination cursor from a previous
nextCursorExclude transactions before this timestamp
Exclude transactions after this timestamp
Request
GET /transactions
Response
200
Create a Transaction
Creates a new transaction. Uses the same request/response format as the Calculations endpoint.Request
POST /transactions
Response
Returns the transaction plustaxDue and the itemized taxes breakdown. When taxCollected is provided, it is allocated across each jurisdiction entry.
200
Create a Refund Transaction
Creates a refund transaction linked to the original viaparentId. See the Handling Refunds guide for details.
Request
POST /transactions
Response
A refund reduces previously reported liability, so the negative amounts net against the original transaction.taxDue is 0 and taxes is empty when the refund fully offsets the original.
200
Retrieve a Transaction
GET /transactions/:id
Response
Returns the transaction object plustaxDue and the full itemized taxes breakdown (same shape as the Create a Transaction response).
200
Update a Transaction
Updates a transaction by replacing the prior version with the same ID. Requires all transaction properties.PUT /transactions/:id
Delete a Transaction
Permanently deletes a transaction and all related tax information.DELETE /transactions/:id