Platform Calculation
Changed onCalculate taxes for marketplace/platform transactions where a merchant is involved. Important: In this endpoint, amount is per-unit. The taxable base is calculated as amount × quantity.
Request
- Base URLhttps://api.numeralhq.com
- URLhttps://api.numeralhq.com/tax/platform/calculations
- AuthHTTP bearer
Headers
API version. Must be 2026-03-01 for platform calculations.
Request body
Example request
{
"customer": {
"id": "cust_123456789",
"tax_ids": [
{
"type": "us_ein",
"value": "12-3456789"
}
],
"address": {
"address_line_1": "3990 N County Rd 300 E",
"address_line_2": "Unit 2",
"address_city": "Danville",
"address_province": "IN",
"address_postal_code": "46122",
"address_country": "US"
},
"ip": {
"value": "217.217.113.167"
}
},
"merchant": {
"merchant_id": "my-seller-123",
"tax_ids": [
{
"type": "us_ein",
"value": "12-3456789"
}
]
},
"order_details": {
"customer_currency_code": "USD",
"line_items": [
{
"product_category": "GENERAL_MERCHANDISE",
"amount": 2500,
"quantity": 3
}
]
},
"roles": [
"marketplace_provider"
],
"fee_details": {
"customer_currency_code": "USD",
"line_items": [
{
"product_category": "GENERAL_MERCHANDISE",
"amount": 2500,
"quantity": 3
}
]
},
"transacted_at": 1772323200,
"default_customer_type": "CONSUMER"
}Response
Platform calculation response
Example response
{
"id": "calc_platform_123456789",
"object": "tax.calculation",
"location_source": "address",
"resolution_precision": "POSTAL",
"address_used": {
"address_line_1": "3990 N County Rd 300 E",
"address_line_2": "Unit 2",
"address_city": "Danville",
"address_province": "IN",
"address_postal_code": "46122",
"address_country": "US"
}
}Changes
- breaking
removed the enum value
2026-01-01from theheaderrequest parameterX-API-Version - breaking
added to the response body
oneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
api operation id
platformCalculation_v20260101removed and replaced withplatformCalculation_v20260301 - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
- info
added the new optional request property
- info
added the new enum value
2026-03-01to theheaderrequest parameterX-API-Version - info
the request property
/became optional - info
the request property
/with a default value became required - info
the request property
/with a default value became required - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking