Platform
Platform Calculations
Calculate taxes for marketplace and platform transactions
POST
Calculate taxes for marketplace/platform transactions where a merchant (seller) is involved. This endpoint is designed for marketplaces, payment processors, and other platforms that facilitate transactions between buyers and sellers.Documentation Index
Fetch the complete documentation index at: https://docs.numeral.com/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Bearer token authentication.
Must be
2026-01-01 for platform calculations.Request Body
The customer (buyer) information.
The merchant (seller) involved in this transaction.
Order details including line items.
Your role(s) in this transaction. One or more of:
marketplace_provider- You operate a marketplace connecting buyers and sellerspayment_processor- You process payments for the transactionmerchant_of_record- You are the legal seller of record
Optional: Details for platform fees to be taxed separately. Same structure as
order_details, except automatic_tax only accepts auto or disabled — fees represent the platform’s own tax event toward the merchant and must honor the platform’s own nexus configuration.Line Item Properties
Per-unit price in the smallest currency unit (e.g., cents for USD).For a $25.00 item:
amount: 2500Number of units. The taxable base =
amount × quantity.Tax category code (e.g.,
GENERAL_MERCHANDISE, SAAS_GENERAL).Reference to a pre-created product.
Your ID for this line item.
Response
The calculation ID.
Always
tax.calculation.Tax calculations for order line items.
Tax calculations for fee line items (only present when
fee_details provided).Summary totals for order and fees.
The merchant used in this calculation.
The roles you specified.
Enhanced Response Fields
Platform calculations include additional tax jurisdiction details:Name of the tax authority (e.g., “California State”).
Type of authority:
STATE, COUNTY, CITY, or DISTRICT.Type of tax:
SALES, USE, VAT, or GST.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
API version. Must be 2026-01-01 for platform calculations.
Available options:
2026-01-01 Body
application/json
Request body for platform/marketplace tax calculations
The merchant (seller) involved in this platform transaction
Your role(s) in this transaction
Available options:
marketplace_provider, payment_processor, merchant_of_record Example:
["marketplace_provider"]Optional: Details for platform fees to be taxed separately
Response
Platform calculation response
Example:
"calc_platform_123456789"
Example:
"tax.calculation"
Tax calculations for platform fees (only present when fee_details provided)