Skip to main content
Persist transactions after taxes have been calculated and the transaction is processed in your system.

The Transaction Object

Core Properties

Address Object

Line Item Properties

  • For point-of-sale orders, set shipFromAddress and shipToAddress to identical values.
  • Prefer separate shipping and handling amounts; use shippingHandling only if combined.
  • Updates/deletions for transactions in closed filing periods are forbidden.
  • Transactions created with transactedAt in 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

limit
integer
default:"10"
Number of items to return (1-100)
cursor
string
Pagination cursor from a previous nextCursor
minTransactedAt
datetime
Exclude transactions before this timestamp
maxTransactedAt
datetime
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 plus taxDue 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 via parentId. 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 plus taxDue 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