TransactionResponse
- addressesType: object · TransactionAddressesrequired
All addresses associated with the transaction (billing, shipping, ship-from, supplier)
- billingType: object · AddressDto nullable
Billing address as submitted
- shippingType: object · ShippingAddressResponse nullable
Shipping destination address, including the geocoded result used to determine the tax jurisdiction
- shippingType: object · AddressDto nullable
_from Ship-from or origin address, used when origin-based tax rules apply
- supplierType: object · AddressDto nullable
Supplier address
- amountsType: object · TransactionAmountsrequired
Aggregated monetary breakdown of the transaction (totals, discounts, taxable/non-taxable splits)
- finalType: string · Final Transaction AmountFormat: decimal nullable
_transaction _amount Total value of the transaction after all discounts. If is_tax_inclusive=false, tax is added on top; if true, this already includes tax.
- nonType: string · Non Taxable AmountFormat: decimal nullable
_taxable _amount Portion of total_items_amount for items classified as non-taxable
- tangibleType: string · Tangible Items AmountFormat: decimal nullable
_items _amount Portion of total_items_amount attributable to tangible items only
- taxableType: string · Taxable Items AmountFormat: decimal nullable
_items _amount Portion of total_items_amount attributable to taxable items only
- totalType: string · Total DiscountFormat: decimal nullable
_discount Aggregate of all item-level discounts across all line items
- totalType: string · Total Items AmountFormat: decimal nullable
_items _amount Sum of all line item total_price_after_discounts (after per-item discounts, before transaction-level discount)
- transactionType: string · Transaction Level DiscountFormat: decimal nullable
_level _discount Transaction-wide discount that was distributed pro-rata across line items
- createdType: string · Created AtFormat: date-time
_at requiredSystem timestamp when this record was first created
- currencyType: object · TransactionCurrencyDetails
_details requiredCurrency code, any exchange rate applied, and converted USD amounts
- currencyType: string · Currency nullable
Currency code for the transaction amounts (e.g., USD, EUR). If not USD, amounts are also reported in USD via exchange_rate_info.
- exchangeType: object · ExchangeRateInfoResponse nullable
_rate _info Full currency conversion details including converted amounts and the rate source
- manualType: string · Manual Exchange RateFormat: decimal nullable
_exchange _rate Manual exchange rate override that was applied to this transaction, if provided
- customerType: object · TransactionCustomerDetails
_details requiredResolved customer information including the full customer record if one was matched or created
- customerType: object · CustomerResponse nullable
Full resolved customer record, included when a customer was found or inline-created
- customerType: string · Customer External Id nullable
_external _id External system ID of the resolved customer
- customerType: string · Customer IdFormat: uuid nullable
_id Internal UUID of the customer resolved for this transaction
- customerType: stringenum nullable
_source Data source of the resolved customer
values- netsuite
- priority
- zoho
_books - quickbooks
- salesforce
- customerType: stringenum nullable
_type _override Customer type that was used for this transaction, overriding the customer's default type (affects exemption logic)
values- retail
- marketplace
- reseller
- externalType: string · External Created AtFormat: date-time
_created _at requiredCreated timestamp from your system, used for audit and reconciliation
- externalType: string · External Id
_id requiredYour system's transaction identifier (e.g., invoice or order number)
- externalType: string · External Updated AtFormat: date-time
_updated _at requiredLast-updated timestamp from your system, used for audit and reconciliation
- idType: string · IdFormat: uuidrequired
Internal system UUID for this record
- sourceType: string · Sourcerequired
Namespace that scoped the external_id when this transaction was created. Used to uniquely identify the transaction together with external_id.
- taxType: object · TransactionTaxSummaryrequired
Total tax summary — aggregate of all item and shipping fee taxes across all jurisdictions
- effectiveType: string · Effective Tax RateFormat: decimal nullable
_tax _rate Blended effective tax rate for the transaction (total_tax ÷ total taxable amount)
- totalType: string · Total TaxFormat: decimal nullable
_tax Total tax amount calculated across all line items and the shipping fee, summed across all jurisdictions
- tenantType: string · Tenant IdFormat: uuid
_id requiredUUID of the tenant that owns this record
- updatedType: string · Updated AtFormat: date-time
_at requiredSystem timestamp of the most recent update to this record
- documentType: string · Document Name nullable
_name ERP or accounting system document reference (e.g., INV-001, SO-123)
- isType: boolean · Is Tax Inclusive nullable
_tax _inclusive Whether the submitted prices already include tax (true) or whether tax is calculated on top (false)
- itemsType: array object[] | null · Items nullable
Line items with full tax calculation results per item and per jurisdiction
- descriptionType: string · Description nullable
Detailed description of the product or service
- discountType: string · DiscountFormat: decimal nullable
Item-level discount amount deducted from total_price before tax calculation
- exemptionType: string · Exemption IdFormat: uuid nullable
_id UUID of the exemption certificate that was applied to this item. Only present if the item is exempt.
- exemptionType: string · Exemption Reason nullable
_reason Human-readable reason this item is exempt (e.g., resale_certificate, government_entity, customer_fully_exempt)
- isType: boolean · Is Exempt
_exempt True if this item was fully exempted from tax, either via an exemption certificate or customer-level exemption
- jurisdictionType: object · Jurisdiction Tax Breakdown nullable
_tax _breakdown Keys are jurisdiction levels. US: state, county, city, mta, spd. Non-US: country, federal, region, provincial, state. Manual fallback: combined.
- manualType: string · Manual Sales Tax RateFormat: decimal nullable
_sales _tax _rate Manual tax rate override (0–1) submitted at request time. When present, bypasses automatic jurisdiction rate lookup and applies this rate directly.
- nameType: string · Namemax length:256 nullable
Short display name or label for the item
- quantityType: string · QuantityFormat: decimal nullable
Number of units for this line item
- relativeType: string · Relative Transaction DiscountFormat: decimal nullable
_transaction _discount The portion of the transaction-level discount that was allocated to this line item, calculated pro-rata based on the item's share of the total transaction value
- tangibleType: stringenum nullable
_category Whether the item is a physical good (tangible) or a digital product or service (intangible). Affects taxability in many US jurisdictions.
values- tangible
- intangible
- taxType: object · ItemTaxSummary nullable
Tax amounts calculated for this item
- taxType: array string[] | null · Tax Adjustments nullable
_adjustments Adjustments applied during tax calculation (e.g., manual_tax_rate_applied).
- taxType: string · Tax Code
_code max length:256 nullableProduct tax classification code submitted with the item. Determines tangible/digital and taxable/non-taxable classification during tax calculation.
- taxabilityType: stringenum nullable
_reason The specific reason this item was classified as taxable or non-taxable (e.g., standard_rated, product_exempt, customer_exempt, zero_rated)
values- customer
_exempt - not
_available - not
_collecting - not
_subject _to _tax - not
_supported
- taxableType: stringenum nullable
_category Whether this item is subject to sales tax. Non-taxable items are excluded from the tax base.
values- taxable
- not
_taxable
- totalType: string · Total PriceFormat: decimal nullable
_price Gross line item amount (unit_price × quantity) before any discounts are applied
- totalType: string · Total Price After DiscountFormat: decimal nullable
_price _after _discount Final taxable amount for this item after both item-level discount and the item's pro-rata share of the transaction-level discount have been applied. This is the amount on which tax is calculated.
- unitType: string · Unit PriceFormat: decimal nullable
_price Per-item cost before quantity multiplication. Can be negative to represent a credit or refund line.
- linkedType: string · Linked Transaction nullable
_transaction For refunds: the external_id of the original invoice this refund is linked to.
- obligationType: string · Obligation IdFormat: uuid nullable
_id ID of the obligation governing tax collection for this transaction's jurisdiction and tax type.
- overrideType: boolean · Override Threshold
_threshold True when tax was calculated despite threshold not being established. Indicates this transaction bypassed normal threshold rules.
- shippingType: object · ShippingFeeResponse nullable
_fee Shipping cost with tax calculation result
- jurisdictionType: object · Jurisdiction Tax Breakdown nullable
_tax _breakdown Keys are jurisdiction levels. US: state, county, city, mta, spd. Non-US: country, federal, region, provincial, state. Manual fallback: combined.
- manualType: string · Manual Sales Tax RateFormat: decimal nullable
_sales _tax _rate Manual tax rate override applied to the shipping fee. When present, bypasses automatic jurisdiction rate lookup.
- tangibleType: stringenum nullable
_category Tangibility classification of the shipping fee
values- tangible
- intangible
- taxType: object · ItemTaxSummary nullable
Tax amounts calculated on the shipping fee
- taxType: string · Tax Code nullable
_code Product tax classification code for the shipping fee, used to determine taxability in each jurisdiction
- taxableType: stringenum nullable
_category Whether the shipping fee is subject to sales tax in the applicable jurisdiction
values- taxable
- not
_taxable
- totalType: string · Total PriceFormat: decimal nullable
_price Shipping cost submitted on the request. Taxed only if the transaction has at least one taxable item.
- totalType: string · Total Price After DiscountFormat: decimal nullable
_price _after _discount Shipping amount used as the tax base after any applicable discounts
- taxType: stringenum nullable
_collection _status Obligation-driven collection status: actual (collecting), hypothetical (calculated but not collected), suppressed (collection overridden off), enforced (collection overridden on).
values- actual
- realised
- hypothetical
- suppressed
- enforced
- transactionType: string · Transaction DateFormat: date-time nullable
_date Issue date of the document, used as the reference date for exemption validity checks
- transactionType: stringenum nullable
_status Lifecycle state. active: included in tax reports, cancelled: excluded from tax filing reports, paid: finalized and included in filing
values- active
- cancelled
- paid
- transactionType: stringenum nullable
_type Document type that determines tax treatment. sales_order: preliminary order (not reported), invoice: taxable sale, estimate: quote (not reported), refund: credit memo — use linked_transaction to link to original invoice and inherit its tax rate period
values- sales
_order - invoice
- estimate
- refund