Documentation Index
Fetch the complete documentation index at: https://docs.commenda.io/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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. If omitted, defaults to the standard currency of the ship-to country (e.g., USD for the US, CAD for Canada, GBP for the UK). When this differs from the ship-to country's default currency, amounts are automatically converted for tax calculation and converted back in the response.
"USD"
Type of the transaction:
SALE, REFUND, PURCHASE Shipping origin and destination addresses. The ship_to field is optional when a customer_id is provided that has a default shipping address on file. The ship_from field is required for certain destination countries. All address fields are validated against country-specific requirements — query /address-requirements to check which fields are required, optional, or ignored for a given country.
Customer details for this transaction.
Total discount amount applied to the subtotal.
x >= 00.99
Optional exemption reason to apply to the entire transaction. When provided, the transaction may be fully or partially exempt from tax based on the exemption type and applicable jurisdiction rules.
PURPOSE_RESALE, ENTITY_TYPE_NONPROFIT, GOVERNMENT, MANUFACTURER, AGRICULTURAL, EXEMPT_PRODUCT, OTHER, EXEMPT_PRODUCT