Get tax information for a given product and address
Caution about simply summing tax_rate values. Each tax_rate in tax_jurisdictions is the statutory rate for that jurisdiction, and in some jurisdictions a rate applies to only part of the line item amount. Tennessee’s single article rules are the common example: local rates apply only to the first $1,600 of an item, and the 2.75% state single article rate applies only to the portion between $1,600 and $3,200. For a $10,000 item the returned rates sum to 12.25%, but the tax due is $788, an effective rate of 7.88%.Always charge the returned tax_amount (or total_tax_amount). If you need an effective rate, compute tax_amount / amount_excluding_tax from the response rather than adding up tax_rate values. Jurisdictions whose rate applies to only part of the amount carry a note value other than RATE_FRAC, such as PROGRESSIVE_RATE.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
X-API-Version
enum<string>
required
API version to use.
Available options:
2026-03-01,
2026-01-01,
2025-05-12,
2024-09-01
Body
application/json
API Version 2026-03-01
API Version 2026-01-01
API Version 2025-05-12
API Version 2024-09-01
customer
object
required
Customer details. At least one of address or ip must be provided.
Show child attributes
origin_address
object
required
Required from API version 2025-05-12+. The address that a product is shipped from.
Show child attributes
order_details
object
required
Show child attributes
metadata
object
You can store arbitrary keys and values in the metadata. Any valid JSON object whose values are less than 255 characters long is accepted.
Show child attributes
default_customer_type
enum<string>
Optional fallback customer type used when customer.id is provided but no matching customer exists in Numeral. Lets integration partners always pass a customer ID without first ensuring the customer has been created. When the lookup misses, this value drives tax-exemption logic and business tax-ID validation as if it were customer.type. If a matching customer is found, the stored customer.type takes precedence. Available in API version 2026-03-01 and later.
Available options:
CONSUMER,
BUSINESS
Example:
"CONSUMER"
Response
Calculate response
id
string
The ID of the calculation. You will use this to create a transaction.
Example:
"calc_123456789"
object
string
The type of object: tax.calculation.
Example:
"tax.calculation"
customer_currency_code
string
The ISO-4217 currency code of the transaction.
Example:
"USD"
customer
object
Customer information returned in the response.
Show child attributes
automatic_tax
enum<string>
The automatic tax setting for this calculation.
Available options:
auto,
disabled
Example:
"auto"
line_items
object[]
Show child attributes
tax_included_in_amount
boolean
Example:
false
total_tax_amount
number
Total tax to charge on this calculation.
Example:
14
total_amount_excluding_tax
number
Total sale charge, excluding tax.
Example:
200
total_amount_including_tax
number
Total sale charge plus tax. What you should charge your customer.
Example:
214
expires_at
number
Epoch datetime representing the date and time the tax rates are valid until.
Example:
1714787673
testmode
boolean
True if using a production API key. False if using a test API key.
Example:
"false"
address_resolution_status
enum<string>
Status of address resolution for the customer address. EXACT: exact address match found, POSTAL_FALLBACK_1: used postal code fallback, POSTAL_ONLY: only postal code was used for tax calculation.
Available options:
EXACT,
POSTAL_FALLBACK_1,
POSTAL_ONLY
Example:
"EXACT"
address_used
object
The actual address used for tax calculation after resolution.
Show child attributes
metadata
object
You can store arbitrary keys and values in the metadata. Any valid JSON object whose values are less than 255 characters long is accepted.
Show child attributes
location_source
enum<string>
Which input was used for tax determination.
Available options:
address,
ip
Example:
"address"
resolution_precision
enum<string>
The precision level of the resolved location.
Available options:
STREET,
POSTAL_PLUS,
POSTAL,
PROVINCE,
COUNTRY,
APPROXIMATED
Example:
"POSTAL"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Numeral API","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/numeralhq/w35K7dUKWBDiixfd/logo/logo.svg?fit=max\u0026auto=format\u0026n=w35K7dUKWBDiixfd\u0026q=85\u0026s=2330fe2568887c273331c4846f7a4d1e","dark":"https://mintcdn.com/numeralhq/w35K7dUKWBDiixfd/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=w35K7dUKWBDiixfd\u0026q=85\u0026s=3c46c5bdc314577d1ce3660b957c0ad8"},"favicon":"https://mintcdn.com/numeralhq/NAgHCHKl6ucev5Pu/favicon.ico?fit=max\u0026auto=format\u0026n=NAgHCHKl6ucev5Pu\u0026q=85\u0026s=a6ecac944d1933a8432a8b2234eed9a4","api":{"openapi":["api-reference/v2026-03-01/openapi.json","api-reference/v2026-01-01/openapi.json","api-reference/v2025-05-12/openapi.json","api-reference/v2024-09-01/openapi.json","api-reference/v2026-11-01/openapi.json"]},"navbar":{"links":[{"href":"mailto:hi@mintlify.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.mintlify.com"}},"interaction":{"drilldown":false},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"numeralhq","hasAudioNarration":false,"actualSubdomain":"numeralhq","customDomains":["docs.numeral.com"],"gitSource":{"type":"github","owner":"numeralhq","repo":"tax-engine-documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af4a2fc3e956335301ce2ab","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Documentation","count":56},{"language":"default","tag":"Integrations","count":55},{"language":"default","tag":"Platform Integrations","count":49},{"language":"default","tag":"API Reference","count":46},{"language":"default","tag":"Getting Started","count":10},{"language":"default","tag":"Stripe","count":8},{"language":"default","tag":"Integration Guides","count":6},{"language":"default","tag":"Numeral for Stripe Checkout","count":6},{"language":"default","tag":"Shopify","count":5},{"language":"default","tag":"MCP","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"src/style.css","content":".text-gray-100{color:#c1c2c5}[class*=\"max-w-8xl\"]{max-width:112rem!important}#content-container{max-width:none!important}td:first-child code{white-space:nowrap}"},{"filePath":"src/resource-pages.css","content":".sx-section{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);gap:3rem;padding:2.5rem 0;border-top:1px solid rgb(127 127 127 / 0.2)}.sx-section:first-of-type{border-top:none;padding-top:0}.sx-right{position:sticky;top:8rem;align-self:start;max-height:calc(100vh - 9rem);overflow-y:auto}.sx-wide{grid-template-columns:minmax(0, 1fr);gap:0}.sx-wide .sx-right{position:static;max-height:none}.sx-wide td code{white-space:nowrap}.sx-left>h2:first-child{margin-top:0}@media (max-width: 1024px){.sx-section{grid-template-columns:minmax(0, 1fr)}.sx-right{position:static;max-height:none}}.sx-endpoints{border:1px solid rgb(127 127 127 / 0.25);border-radius:0.75rem;padding:0.75rem 1rem 0.25rem}.sx-endpoints-title{font-size:0.75rem;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;opacity:0.7;margin-bottom:0.5rem}div.sx-endpoints a{display:block;position:relative;font-family:inherit;font-size:inherit;padding:0.6rem 1.5rem 0.6rem 0;border-top:1px solid rgb(127 127 127 / 0.2);border-bottom:none!important;text-decoration:none}.sx-endpoints a::after{content:\"›\";position:absolute;right:0.25rem;top:50%;transform:translateY(-50%);font-size:1.25rem;opacity:0.5}.sx-endpoints a:hover::after{opacity:1}.sx-ep-name{display:block;font-weight:600;font-size:0.9rem}.sx-ep-path{display:block;font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:0.8rem;margin-top:0.15rem}.sx-ep-url{opacity:0.65}.sx-endpoints .sx-method{display:inline-block;min-width:3.75rem;margin-right:0;font-weight:700}.sx-endpoints .sx-get{color:#3b82f6}.sx-endpoints .sx-post{color:#16a34a}.sx-endpoints .sx-delete{color:#ef4444}.sx-nav-sub{list-style:none;margin:0.15rem 0 0.5rem;padding:0 0 0 1.75rem}.sx-nav-sub a{display:flex;align-items:baseline;gap:0.5rem;padding:0.3rem 0.5rem;border-radius:0.5rem;font-size:0.8125rem;line-height:1.3;opacity:0.7}.sx-nav-sub a:hover,.sx-nav-sub a.sx-current{opacity:1;background:rgb(127 127 127 / 0.1)}.sx-nav-sub a:focus{outline:none}.sx-nav-sub a:focus-visible{outline:2px solid rgb(127 127 127 / 0.5)}.sx-nav-method.sx-nav-spacer{visibility:hidden}.sx-nav-method{flex:none;min-width:2.4rem;padding:0.05rem 0.3rem;border-radius:0.3rem;font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:0.625rem;font-weight:700;text-align:center}.sx-nav-method.sx-get{color:#3b82f6;background:rgb(59 130 246 / 0.15)}.sx-nav-method.sx-post{color:#16a34a;background:rgb(22 163 74 / 0.15)}.sx-nav-method.sx-delete{color:#ef4444;background:rgb(239 68 68 / 0.15)}.sx-page-end{height:4rem}.sx-toggle{margin-top:0.75rem;border:1px solid rgb(127 127 127 / 0.3);border-radius:9999px;padding:0.3rem 0.9rem;font-size:0.85rem;font-weight:500;white-space:pre;cursor:pointer}.sx-toggle.sx-open{border-radius:0.75rem 0.75rem 0 0;border-bottom:none}.sx-children{border:1px solid rgb(127 127 127 / 0.3);border-radius:0 0.75rem 0.75rem 0.75rem;padding:0 1rem 0.5rem}.sx-children[hidden]{border:0;padding:0}"}],"page":{"pagePath":"api-reference/endpoint/calculations","slug":"/api-reference/endpoint/calculations","pageMetadata":{"title":"Create Calculations","openapi":"POST /tax/calculations","description":"Get tax information for a given product and address or IP","href":"/api-reference/endpoint/calculations"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get tax information for a given product and address or IP\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Get tax information for a given product and address`}),`\n`,_jsxs(Warning,{children:[_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Caution about simply summing `,_jsx(_components.code,{children:`tax_rate`}),` values.`]}),` Each `,_jsx(_components.code,{children:`tax_rate`}),` in `,_jsx(_components.code,{children:`tax_jurisdictions`}),` is the statutory rate for that jurisdiction, and in some jurisdictions a rate applies to only part of the line item amount. Tennessee’s single article rules are the common example: local rates apply only to the first $1,600 of an item, and the 2.75% state single article rate applies only to the portion between $1,600 and $3,200. For a $10,000 item the returned rates sum to 12.25%, but the tax due is $788, an effective rate of 7.88%.`]}),_jsxs(_components.p,{children:[`Always charge the returned `,_jsx(_components.code,{children:`tax_amount`}),` (or `,_jsx(_components.code,{children:`total_tax_amount`}),`). If you need an effective rate, compute `,_jsx(_components.code,{children:`tax_amount / amount_excluding_tax`}),` from the response rather than adding up `,_jsx(_components.code,{children:`tax_rate`}),` values. Jurisdictions whose rate applies to only part of the amount carry a `,_jsx(_components.code,{children:`note`}),` value other than `,_jsx(_components.code,{children:`RATE_FRAC`}),`, such as `,_jsx(_components.code,{children:`PROGRESSIVE_RATE`}),`.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`curl-header-example`,children:`cURL Header Example`}),`\n`,_jsx(_components.p,{children:`Include all request headers explicitly:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.numeralhq.com/tax/calculations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'X-API-Version: 2024-09-01'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ ... }'`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Calculations","openapi":"POST /tax/calculations","description":"Get tax information for a given product and address or IP","href":"/api-reference/endpoint/calculations"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"cURL Header Example","slug":"curl-header-example","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/numeralhq/f4a41b99b7afe396/src/version-refresh.js","/_mintlify/custom/numeralhq/4721c15820461e09/src/resource-pages.js"],"openApiReferenceData":{"operation":{"description":"Get tax information for a given product and address or IP","parameters":["523f3218-e7a2-4842-bfeb-4135f6d1a04f"],"requestBody":"24c6cd83-96d1-4883-b873-d6e6d49b5701","responses":{"200":"3bafdabe-ec19-4324-86d3-4f5e1b2ac159","400":"10f32249-b074-48fc-a33b-8497cabf5183","404":"0700b60d-ecc8-4572-ac7e-e551bd969f35"},"method":"post","type":"path","servers":["7c1bb241-aad6-454b-8aff-08f19d349955"],"security":["8e1a5098-173a-4a80-9020-7cf4be08bb9e"],"path":"/tax/calculations","baseUrlOptions":["https://api.numeralhq.com/"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"523f3218-e7a2-4842-bfeb-4135f6d1a04f":{"name":"X-API-Version","in":"header","required":true,"schema":{"type":"string","enum":["2026-03-01","2026-01-01","2025-05-12","2024-09-01"],"isRequired":true,"description":"API version to use.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"API version to use.","example":"2026-03-01"}},"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"API Version 2026-03-01","required":["customer","origin_address","order_details"],"properties":{"customer":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the customer that you created in our system. Can be used to log customer information or indicate that a purchaser is tax exempt. For more, see [Creating a Customer](/api-reference/endpoint/customers).","example":"cus_123456789","uniqueKey":"oneOf.0.customer.id","typeLabel":"string"},"type":{"type":"string","enum":["CONSUMER","BUSINESS"],"description":"The type of customer. `CONSUMER` are private individuals. `BUSINESS` are companies, sole-proprietors, or other legal entities registered for VAT/GST.","example":"CONSUMER","uniqueKey":"oneOf.0.customer.type","typeLabel":"enum\u003cstring>"},"tax_ids":{"type":"array","description":"Array of tax identification numbers. Only available for `BUSINESS` customer types.","items":{"type":"object","properties":{"type":{"type":"string","description":"Stripe-style tax ID type. See [Tax IDs](/essentials/tax-ids) for the full list of supported types.","example":"us_ein","isRequired":true,"uniqueKey":"oneOf.0.customer.tax_ids.items.[INDEX].type","typeLabel":"string"},"value":{"type":"string","description":"The tax ID value","isRequired":true,"uniqueKey":"oneOf.0.customer.tax_ids.items.[INDEX].value","typeLabel":"string"}},"required":["type","value"],"uniqueKey":"oneOf.0.customer.tax_ids.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.customer.tax_ids","typeLabel":"object[]"},"address":{"type":"object","required":["address_type","address_line_1","address_city","address_province","address_postal_code","address_country"],"properties":{"address_line_1":{"type":"string","example":"3990 N County Rd 300 E","isRequired":true,"uniqueKey":"oneOf.0.customer.address.address_line_1","typeLabel":"string"},"address_city":{"type":"string","example":"Danville","isRequired":true,"uniqueKey":"oneOf.0.customer.address.address_city","typeLabel":"string"},"address_province":{"type":"string","description":"The state, province, or region of the transaction. Must be a valid 2 digit ISO 3166-2 subdivision code.","example":"IN","isRequired":true,"uniqueKey":"oneOf.0.customer.address.address_province","typeLabel":"string"},"address_postal_code":{"type":"string","example":"46122","isRequired":true,"uniqueKey":"oneOf.0.customer.address.address_postal_code","typeLabel":"string"},"address_country":{"type":"string","description":"The country code of the transaction. Must be a valid ISO 3166-1 alpha-2 country code.","example":"US","isRequired":true,"uniqueKey":"oneOf.0.customer.address.address_country","typeLabel":"string"},"address_type":{"type":"string","description":"The type of address. Must be one of: `shipping` or `billing`. Required if `ip` is not provided.","example":"shipping","isRequired":true,"uniqueKey":"oneOf.0.customer.address.address_type","typeLabel":"string"},"address_line_2":{"type":"string","example":"Unit 2","uniqueKey":"oneOf.0.customer.address.address_line_2","typeLabel":"string"}},"uniqueKey":"oneOf.0.customer.address","typeLabel":"object"},"ip":{"type":"object","description":"IP address for geo-based tax resolution. Required if `address` is not provided.","properties":{"value":{"type":"string","description":"A valid IPv4 or IPv6 address.","example":"217.217.113.167","isRequired":true,"uniqueKey":"oneOf.0.customer.ip.value","typeLabel":"string"},"resolution":{"type":"string","enum":["strict","zero","approximate","best_effort"],"default":"strict","description":"How to handle insufficient IP resolution. strict (default): error if insufficient. zero: return zero-rate. approximate: attempt to resolve using heuristics. best_effort: try approximate, fall back to zero.","uniqueKey":"oneOf.0.customer.ip.resolution","typeLabel":"enum\u003cstring>"}},"required":["value"],"uniqueKey":"oneOf.0.customer.ip","typeLabel":"object"}},"description":"Customer details. At least one of address or ip must be provided.","isRequired":true,"uniqueKey":"oneOf.0.customer","typeLabel":"object"},"origin_address":{"type":"object","properties":{"address_line_1":{"type":"string","example":"3990 N County Rd 300 E","isRequired":true,"uniqueKey":"oneOf.0.origin_address.address_line_1","typeLabel":"string"},"address_city":{"type":"string","example":"Danville","isRequired":true,"uniqueKey":"oneOf.0.origin_address.address_city","typeLabel":"string"},"address_province":{"type":"string","description":"The state, province, or region of the transaction. Must be a valid 2 digit ISO 3166-2 subdivision code.","example":"IN","isRequired":true,"uniqueKey":"oneOf.0.origin_address.address_province","typeLabel":"string"},"address_postal_code":{"type":"string","example":"46122","isRequired":true,"uniqueKey":"oneOf.0.origin_address.address_postal_code","typeLabel":"string"},"address_country":{"type":"string","description":"The country code of the transaction. Must be a valid ISO 3166-1 alpha-2 country code.","example":"US","isRequired":true,"uniqueKey":"oneOf.0.origin_address.address_country","typeLabel":"string"},"address_line_2":{"type":"string","example":"Unit 2","uniqueKey":"oneOf.0.origin_address.address_line_2","typeLabel":"string"}},"required":["address_line_1","address_city","address_province","address_postal_code","address_country"],"description":"Required from API version 2025-05-12+. The address that a product is shipped from.","isRequired":true,"uniqueKey":"oneOf.0.origin_address","typeLabel":"object"},"order_details":{"type":"object","properties":{"customer_currency_code":{"type":"string","description":"The currency code of the transaction. For API version 2024-09-01: Must be either 'USD' or 'CAD'. For API version 2025-05-12: Supports 32 currencies including USD, CAD, EUR, GBP, AUD, CHF, JPY, and more.","example":"USD","isRequired":true,"uniqueKey":"oneOf.0.order_details.customer_currency_code","typeLabel":"string"},"tax_included_in_amount":{"type":"boolean","description":"For the line items in this transaction, does the amount include tax? This should typically be `false` for most North American sales, but may vary by jurisdiction and business model.","example":false,"isRequired":true,"uniqueKey":"oneOf.0.order_details.tax_included_in_amount","typeLabel":"boolean"},"line_items":{"type":"array","description":"Each line item should represent one type of product. For compliance, we require either a `reference_product_id` or a `product_category`. See [this guide](/essentials/integration-guides/products-and-categories) for more.","items":{"type":"object","properties":{"amount":{"type":"number","description":"The price of this line item in the currency's smallest unit. We will calculate tax against this value. (e.g., if USD then 2000 = $20.00, if JPY then 2000 = ¥2000)","example":200,"isRequired":true,"uniqueKey":"oneOf.0.order_details.line_items.items.[INDEX].amount","typeLabel":"number"},"quantity":{"type":"number","description":"The quantity of this product being sold. Primarily used for record keeping.","example":2,"isRequired":true,"uniqueKey":"oneOf.0.order_details.line_items.items.[INDEX].quantity","typeLabel":"number"},"reference_line_item_id":{"type":"string","description":"The ID of the line item from your system. This field is optional and will be primarily used for record keeping.","example":"line_123456789","uniqueKey":"oneOf.0.order_details.line_items.items.[INDEX].reference_line_item_id","typeLabel":"string"},"reference_product_id":{"type":"string","description":"The product ID is used to uniquely reference this product in your system as well as in Numeral. Required if no `product_category`.","example":"p-1233543","uniqueKey":"oneOf.0.order_details.line_items.items.[INDEX].reference_product_id","typeLabel":"string"},"product_category":{"type":"string","description":"A tax category from our [category taxonomy](/essentials/product-categories). Required if no `reference_product_id`.","example":"GENERAL_MERCHANDISE","uniqueKey":"oneOf.0.order_details.line_items.items.[INDEX].product_category","typeLabel":"string"},"fallback_product_category":{"type":"string","description":"Optional fallback product category used when `reference_product_id` is provided but no matching product exists in Numeral. Lets integration partners always pass a product ID without first ensuring the product has been created. Must be a valid product category from the Numeral taxonomy — an invalid value returns a 400. If a matching product is found, its stored category takes precedence.","example":"GENERAL_MERCHANDISE","uniqueKey":"oneOf.0.order_details.line_items.items.[INDEX].fallback_product_category","typeLabel":"string"}},"required":["quantity","amount"],"uniqueKey":"oneOf.0.order_details.line_items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.0.order_details.line_items","typeLabel":"object[]"},"automatic_tax":{"type":"string","enum":["auto","disabled"],"description":"Controls automatic tax behavior. Available with API version 2025-05-12. `auto`: return real rates if client is registered/enabled in that jurisdiction, bypasses threshold checking. `disabled`: always return 0 tax rates regardless of registration status.","example":"auto","uniqueKey":"oneOf.0.order_details.automatic_tax","typeLabel":"enum\u003cstring>"}},"required":["customer_currency_code","tax_included_in_amount","line_items"],"isRequired":true,"uniqueKey":"oneOf.0.order_details","typeLabel":"object"},"metadata":{"type":"object","description":"You can store arbitrary keys and values in the metadata. Any valid JSON object whose values are less than 255 characters long is accepted.","properties":{"example_key":{"type":"string","description":"Storing things like an order number may be useful for reporting and reconciliation.","example":"example_value","uniqueKey":"oneOf.0.metadata.example_key","typeLabel":"string"}},"uniqueKey":"oneOf.0.metadata","typeLabel":"object"},"default_customer_type":{"type":"string","enum":["CONSUMER","BUSINESS"],"description":"Optional fallback customer type used when `customer.id` is provided but no matching customer exists in Numeral. Lets integration partners always pass a customer ID without first ensuring the customer has been created. When the lookup misses, this value drives tax-exemption logic and business tax-ID validation as if it were `customer.type`. If a matching customer is found, the stored `customer.type` takes precedence. Available in API version `2026-03-01` and later.","example":"CONSUMER","uniqueKey":"oneOf.0.default_customer_type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.0","typeLabel":"API Version 2026-03-01 · object"},{"type":"object","title":"API Version 2026-01-01","required":["customer","origin_address","order_details"],"properties":{"customer":{"type":"object","properties":{"address":{"type":"object","required":["address_type","address_line_1","address_city","address_province","address_postal_code","address_country"],"properties":{"address_line_1":{"type":"string","example":"3990 N County Rd 300 E","isRequired":true,"uniqueKey":"oneOf.1.customer.address.address_line_1","typeLabel":"string"},"address_city":{"type":"string","example":"Danville","isRequired":true,"uniqueKey":"oneOf.1.customer.address.address_city","typeLabel":"string"},"address_province":{"type":"string","description":"The state, province, or region of the transaction. Must be a valid 2 digit ISO 3166-2 subdivision code.","example":"IN","isRequired":true,"uniqueKey":"oneOf.1.customer.address.address_province","typeLabel":"string"},"address_postal_code":{"type":"string","example":"46122","isRequired":true,"uniqueKey":"oneOf.1.customer.address.address_postal_code","typeLabel":"string"},"address_country":{"type":"string","description":"The country code of the transaction. Must be a valid ISO 3166-1 alpha-2 country code.","example":"US","isRequired":true,"uniqueKey":"oneOf.1.customer.address.address_country","typeLabel":"string"},"address_type":{"type":"string","description":"The type of address. Must be one of: `shipping` or `billing`. For physical goods, `shipping` should be used. For software and digital goods, `billing` is more appropriate","example":"shipping","isRequired":true,"uniqueKey":"oneOf.1.customer.address.address_type","typeLabel":"string"},"address_line_2":{"type":"string","example":"Unit 2","uniqueKey":"oneOf.1.customer.address.address_line_2","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.1.customer.address","typeLabel":"object"},"id":{"type":"string","description":"The ID of the customer that you created in our system. Can be used to log customer information or indicate that a purchaser is tax exempt. For more, see [Creating a Customer](/api-reference/endpoint/customers).","example":"cus_123456789","uniqueKey":"oneOf.1.customer.id","typeLabel":"string"},"type":{"type":"string","enum":["CONSUMER","BUSINESS"],"description":"The type of customer. Available with API version 2025-05-12. `CONSUMER` are private individuals who are not registered for VAT/GST (or any other local indirect-tax scheme) in the country where the supply is taxed. `BUSINESS` are companies, sole-proprietors, or other legal entities registered for VAT/GST (or an equivalent local tax) in the country where the supply is taxed.","example":"CONSUMER","uniqueKey":"oneOf.1.customer.type","typeLabel":"enum\u003cstring>"},"tax_ids":{"type":"array","description":"Array of tax identification numbers. Available with API version 2025-05-12. Only available for `BUSINESS` customer types.","items":{"type":"object","properties":{"type":{"type":"string","description":"Stripe-style tax ID type. See [Tax IDs](/essentials/tax-ids) for the full list of supported types.","example":"us_ein","isRequired":true,"uniqueKey":"oneOf.1.customer.tax_ids.items.[INDEX].type","typeLabel":"string"},"value":{"type":"string","description":"The tax ID value","isRequired":true,"uniqueKey":"oneOf.1.customer.tax_ids.items.[INDEX].value","typeLabel":"string"}},"required":["type","value"],"uniqueKey":"oneOf.1.customer.tax_ids.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.customer.tax_ids","typeLabel":"object[]"}},"required":["address"],"description":"Customer details. Address is required. Optionally accepts a customer ID for order tracking and exemptions.","isRequired":true,"uniqueKey":"oneOf.1.customer","typeLabel":"object"},"origin_address":{"type":"object","properties":{"address_line_1":{"type":"string","example":"3990 N County Rd 300 E","isRequired":true,"uniqueKey":"oneOf.1.origin_address.address_line_1","typeLabel":"string"},"address_city":{"type":"string","example":"Danville","isRequired":true,"uniqueKey":"oneOf.1.origin_address.address_city","typeLabel":"string"},"address_province":{"type":"string","description":"The state, province, or region of the transaction. Must be a valid 2 digit ISO 3166-2 subdivision code.","example":"IN","isRequired":true,"uniqueKey":"oneOf.1.origin_address.address_province","typeLabel":"string"},"address_postal_code":{"type":"string","example":"46122","isRequired":true,"uniqueKey":"oneOf.1.origin_address.address_postal_code","typeLabel":"string"},"address_country":{"type":"string","description":"The country code of the transaction. Must be a valid ISO 3166-1 alpha-2 country code.","example":"US","isRequired":true,"uniqueKey":"oneOf.1.origin_address.address_country","typeLabel":"string"},"address_line_2":{"type":"string","example":"Unit 2","uniqueKey":"oneOf.1.origin_address.address_line_2","typeLabel":"string"}},"required":["address_line_1","address_city","address_province","address_postal_code","address_country"],"description":"Required for API version 2025-05-12. The address that a product is shipped from.","isRequired":true,"uniqueKey":"oneOf.1.origin_address","typeLabel":"object"},"order_details":{"type":"object","properties":{"customer_currency_code":{"type":"string","description":"The currency code of the transaction. For API version 2024-09-01: Must be either 'USD' or 'CAD'. For API version 2025-05-12: Supports 32 currencies including USD, CAD, EUR, GBP, AUD, CHF, JPY, and more.","example":"USD","isRequired":true,"uniqueKey":"oneOf.1.order_details.customer_currency_code","typeLabel":"string"},"tax_included_in_amount":{"type":"boolean","description":"For the line items in this transaction, does the amount include tax? This should typically be `false` for most North American sales, but may vary by jurisdiction and business model.","example":false,"isRequired":true,"uniqueKey":"oneOf.1.order_details.tax_included_in_amount","typeLabel":"boolean"},"line_items":{"type":"array","description":"Each line item should represent one type of product. For compliance, we require either a `reference_product_id` or a `product_category`. See [this guide](/essentials/integration-guides/products-and-categories) for more.","items":{"type":"object","properties":{"amount":{"type":"number","description":"The price of this line item in the currency's smallest unit. We will calculate tax against this value. (e.g., if USD then 2000 = $20.00, if JPY then 2000 = ¥2000)","example":200,"isRequired":true,"uniqueKey":"oneOf.1.order_details.line_items.items.[INDEX].amount","typeLabel":"number"},"quantity":{"type":"number","description":"The quantity of this product being sold. Primarily used for record keeping.","example":2,"isRequired":true,"uniqueKey":"oneOf.1.order_details.line_items.items.[INDEX].quantity","typeLabel":"number"},"reference_line_item_id":{"type":"string","description":"The ID of the line item from your system. This field is optional and will be primarily used for record keeping.","example":"line_123456789","uniqueKey":"oneOf.1.order_details.line_items.items.[INDEX].reference_line_item_id","typeLabel":"string"},"reference_product_id":{"type":"string","description":"The product ID is used to uniquely reference this product in your system as well as in Numeral. Required if no `product_category`.","example":"p-1233543","uniqueKey":"oneOf.1.order_details.line_items.items.[INDEX].reference_product_id","typeLabel":"string"},"product_category":{"type":"string","description":"A tax category from our [category taxonomy](/essentials/product-categories). Required if no `reference_product_id`.","example":"GENERAL_MERCHANDISE","uniqueKey":"oneOf.1.order_details.line_items.items.[INDEX].product_category","typeLabel":"string"},"fallback_product_category":{"type":"string","description":"Optional fallback product category used when `reference_product_id` is provided but no matching product exists in Numeral. Lets integration partners always pass a product ID without first ensuring the product has been created. Must be a valid product category from the Numeral taxonomy — an invalid value returns a 400. If a matching product is found, its stored category takes precedence.","example":"GENERAL_MERCHANDISE","uniqueKey":"oneOf.1.order_details.line_items.items.[INDEX].fallback_product_category","typeLabel":"string"}},"required":["quantity","amount"],"uniqueKey":"oneOf.1.order_details.line_items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.1.order_details.line_items","typeLabel":"object[]"},"automatic_tax":{"type":"string","enum":["auto","disabled"],"description":"Controls automatic tax behavior. Available with API version 2025-05-12. `auto`: return real rates if client is registered/enabled in that jurisdiction, bypasses threshold checking. `disabled`: always return 0 tax rates regardless of registration status.","example":"auto","uniqueKey":"oneOf.1.order_details.automatic_tax","typeLabel":"enum\u003cstring>"}},"required":["customer_currency_code","tax_included_in_amount","line_items"],"isRequired":true,"uniqueKey":"oneOf.1.order_details","typeLabel":"object"},"metadata":{"type":"object","description":"You can store arbitrary keys and values in the metadata. Any valid JSON object whose values are less than 255 characters long is accepted.","properties":{"example_key":{"type":"string","description":"Storing things like an order number may be useful for reporting and reconciliation.","example":"example_value","uniqueKey":"oneOf.1.metadata.example_key","typeLabel":"string"}},"uniqueKey":"oneOf.1.metadata","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"API Version 2026-01-01 · object"},{"type":"object","title":"API Version 2025-05-12","required":["customer","origin_address","order_details"],"properties":{"customer":{"type":"object","properties":{"address":{"type":"object","required":["address_type","address_line_1","address_city","address_province","address_postal_code","address_country"],"properties":{"address_line_1":{"type":"string","example":"3990 N County Rd 300 E","isRequired":true,"uniqueKey":"oneOf.2.customer.address.address_line_1","typeLabel":"string"},"address_city":{"type":"string","example":"Danville","isRequired":true,"uniqueKey":"oneOf.2.customer.address.address_city","typeLabel":"string"},"address_province":{"type":"string","description":"The state, province, or region of the transaction. Must be a valid 2 digit ISO 3166-2 subdivision code.","example":"IN","isRequired":true,"uniqueKey":"oneOf.2.customer.address.address_province","typeLabel":"string"},"address_postal_code":{"type":"string","example":"46122","isRequired":true,"uniqueKey":"oneOf.2.customer.address.address_postal_code","typeLabel":"string"},"address_country":{"type":"string","description":"The country code of the transaction. Must be a valid ISO 3166-1 alpha-2 country code.","example":"US","isRequired":true,"uniqueKey":"oneOf.2.customer.address.address_country","typeLabel":"string"},"address_type":{"type":"string","description":"The type of address. Must be one of: `shipping` or `billing`. For physical goods, `shipping` should be used. For software and digital goods, `billing` is more appropriate","example":"shipping","isRequired":true,"uniqueKey":"oneOf.2.customer.address.address_type","typeLabel":"string"},"address_line_2":{"type":"string","example":"Unit 2","uniqueKey":"oneOf.2.customer.address.address_line_2","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.2.customer.address","typeLabel":"object"},"id":{"type":"string","description":"The ID of the customer that you created in our system. Can be used to log customer information or indicate that a purchaser is tax exempt. For more, see [Creating a Customer](/api-reference/endpoint/customers).","example":"cus_123456789","uniqueKey":"oneOf.2.customer.id","typeLabel":"string"},"type":{"type":"string","enum":["CONSUMER","BUSINESS"],"description":"The type of customer. Available with API version 2025-05-12. `CONSUMER` are private individuals who are not registered for VAT/GST (or any other local indirect-tax scheme) in the country where the supply is taxed. `BUSINESS` are companies, sole-proprietors, or other legal entities registered for VAT/GST (or an equivalent local tax) in the country where the supply is taxed.","example":"CONSUMER","uniqueKey":"oneOf.2.customer.type","typeLabel":"enum\u003cstring>"},"tax_ids":{"type":"array","description":"Array of tax identification numbers. Available with API version 2025-05-12. Only available for `BUSINESS` customer types.","items":{"type":"object","properties":{"type":{"type":"string","description":"Stripe-style tax ID type. See [Tax IDs](/essentials/tax-ids) for the full list of supported types.","example":"us_ein","isRequired":true,"uniqueKey":"oneOf.2.customer.tax_ids.items.[INDEX].type","typeLabel":"string"},"value":{"type":"string","description":"The tax ID value","isRequired":true,"uniqueKey":"oneOf.2.customer.tax_ids.items.[INDEX].value","typeLabel":"string"}},"required":["type","value"],"uniqueKey":"oneOf.2.customer.tax_ids.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.2.customer.tax_ids","typeLabel":"object[]"}},"required":["address"],"description":"Customer details. Address is required. Optionally accepts a customer ID for order tracking and exemptions.","isRequired":true,"uniqueKey":"oneOf.2.customer","typeLabel":"object"},"origin_address":{"type":"object","properties":{"address_line_1":{"type":"string","example":"3990 N County Rd 300 E","isRequired":true,"uniqueKey":"oneOf.2.origin_address.address_line_1","typeLabel":"string"},"address_city":{"type":"string","example":"Danville","isRequired":true,"uniqueKey":"oneOf.2.origin_address.address_city","typeLabel":"string"},"address_province":{"type":"string","description":"The state, province, or region of the transaction. Must be a valid 2 digit ISO 3166-2 subdivision code.","example":"IN","isRequired":true,"uniqueKey":"oneOf.2.origin_address.address_province","typeLabel":"string"},"address_postal_code":{"type":"string","example":"46122","isRequired":true,"uniqueKey":"oneOf.2.origin_address.address_postal_code","typeLabel":"string"},"address_country":{"type":"string","description":"The country code of the transaction. Must be a valid ISO 3166-1 alpha-2 country code.","example":"US","isRequired":true,"uniqueKey":"oneOf.2.origin_address.address_country","typeLabel":"string"},"address_line_2":{"type":"string","example":"Unit 2","uniqueKey":"oneOf.2.origin_address.address_line_2","typeLabel":"string"}},"required":["address_line_1","address_city","address_province","address_postal_code","address_country"],"description":"Required for API version 2025-05-12. The address that a product is shipped from.","isRequired":true,"uniqueKey":"oneOf.2.origin_address","typeLabel":"object"},"order_details":{"type":"object","properties":{"customer_currency_code":{"type":"string","description":"The currency code of the transaction. For API version 2024-09-01: Must be either 'USD' or 'CAD'. For API version 2025-05-12: Supports 32 currencies including USD, CAD, EUR, GBP, AUD, CHF, JPY, and more.","example":"USD","isRequired":true,"uniqueKey":"oneOf.2.order_details.customer_currency_code","typeLabel":"string"},"tax_included_in_amount":{"type":"boolean","description":"For the line items in this transaction, does the amount include tax? This should typically be `false` for most North American sales, but may vary by jurisdiction and business model.","example":false,"isRequired":true,"uniqueKey":"oneOf.2.order_details.tax_included_in_amount","typeLabel":"boolean"},"line_items":{"type":"array","description":"Each line item should represent one type of product. For compliance, we require either a `reference_product_id` or a `product_category`. See [this guide](/essentials/integration-guides/products-and-categories) for more.","items":{"type":"object","properties":{"amount":{"type":"number","description":"The price of this line item in the currency's smallest unit. We will calculate tax against this value. (e.g., if USD then 2000 = $20.00, if JPY then 2000 = ¥2000)","example":200,"isRequired":true,"uniqueKey":"oneOf.2.order_details.line_items.items.[INDEX].amount","typeLabel":"number"},"quantity":{"type":"number","description":"The quantity of this product being sold. Primarily used for record keeping.","example":2,"isRequired":true,"uniqueKey":"oneOf.2.order_details.line_items.items.[INDEX].quantity","typeLabel":"number"},"reference_line_item_id":{"type":"string","description":"The ID of the line item from your system. This field is optional and will be primarily used for record keeping.","example":"line_123456789","uniqueKey":"oneOf.2.order_details.line_items.items.[INDEX].reference_line_item_id","typeLabel":"string"},"reference_product_id":{"type":"string","description":"The product ID is used to uniquely reference this product in your system as well as in Numeral. Required if no `product_category`.","example":"p-1233543","uniqueKey":"oneOf.2.order_details.line_items.items.[INDEX].reference_product_id","typeLabel":"string"},"product_category":{"type":"string","description":"A tax category from our [category taxonomy](/essentials/product-categories). Required if no `reference_product_id`.","example":"GENERAL_MERCHANDISE","uniqueKey":"oneOf.2.order_details.line_items.items.[INDEX].product_category","typeLabel":"string"},"fallback_product_category":{"type":"string","description":"Optional fallback product category used when `reference_product_id` is provided but no matching product exists in Numeral. Lets integration partners always pass a product ID without first ensuring the product has been created. Must be a valid product category from the Numeral taxonomy — an invalid value returns a 400. If a matching product is found, its stored category takes precedence.","example":"GENERAL_MERCHANDISE","uniqueKey":"oneOf.2.order_details.line_items.items.[INDEX].fallback_product_category","typeLabel":"string"}},"required":["quantity","amount"],"uniqueKey":"oneOf.2.order_details.line_items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.2.order_details.line_items","typeLabel":"object[]"},"automatic_tax":{"type":"string","enum":["auto","disabled"],"description":"Controls automatic tax behavior. Available with API version 2025-05-12. `auto`: return real rates if client is registered/enabled in that jurisdiction, bypasses threshold checking. `disabled`: always return 0 tax rates regardless of registration status.","example":"auto","uniqueKey":"oneOf.2.order_details.automatic_tax","typeLabel":"enum\u003cstring>"}},"required":["customer_currency_code","tax_included_in_amount","line_items"],"isRequired":true,"uniqueKey":"oneOf.2.order_details","typeLabel":"object"},"metadata":{"type":"object","description":"You can store arbitrary keys and values in the metadata. Any valid JSON object whose values are less than 255 characters long is accepted.","properties":{"example_key":{"type":"string","description":"Storing things like an order number may be useful for reporting and reconciliation.","example":"example_value","uniqueKey":"oneOf.2.metadata.example_key","typeLabel":"string"}},"uniqueKey":"oneOf.2.metadata","typeLabel":"object"}},"uniqueKey":"oneOf.2","typeLabel":"API Version 2025-05-12 · object"},{"type":"object","title":"API Version 2024-09-01","required":["customer","origin_address","order_details"],"properties":{"customer":{"type":"object","properties":{"address":{"type":"object","required":["address_type","address_line_1","address_city","address_province","address_postal_code","address_country"],"properties":{"address_line_1":{"type":"string","example":"3990 N County Rd 300 E","isRequired":true,"uniqueKey":"oneOf.3.customer.address.address_line_1","typeLabel":"string"},"address_city":{"type":"string","example":"Danville","isRequired":true,"uniqueKey":"oneOf.3.customer.address.address_city","typeLabel":"string"},"address_province":{"type":"string","description":"The state, province, or region of the transaction. Must be a valid 2 digit ISO 3166-2 subdivision code.","example":"IN","isRequired":true,"uniqueKey":"oneOf.3.customer.address.address_province","typeLabel":"string"},"address_postal_code":{"type":"string","example":"46122","isRequired":true,"uniqueKey":"oneOf.3.customer.address.address_postal_code","typeLabel":"string"},"address_country":{"type":"string","description":"The country code of the transaction. Must be a valid ISO 3166-1 alpha-2 country code.","example":"US","isRequired":true,"uniqueKey":"oneOf.3.customer.address.address_country","typeLabel":"string"},"address_type":{"type":"string","description":"The type of address. Must be one of: `shipping` or `billing`. For physical goods, `shipping` should be used. For software and digital goods, `billing` is more appropriate","example":"shipping","isRequired":true,"uniqueKey":"oneOf.3.customer.address.address_type","typeLabel":"string"},"address_line_2":{"type":"string","example":"Unit 2","uniqueKey":"oneOf.3.customer.address.address_line_2","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.3.customer.address","typeLabel":"object"},"id":{"type":"string","description":"The ID of the customer that you created in our system. Can be used to log customer information or indicate that a purchaser is tax exempt. For more, see [Creating a Customer](/api-reference/endpoint/customers).","example":"cus_123456789","uniqueKey":"oneOf.3.customer.id","typeLabel":"string"}},"required":["address"],"description":"Customer details. Address is required. Optionally accepts a customer ID for order tracking and exemptions.","isRequired":true,"uniqueKey":"oneOf.3.customer","typeLabel":"object"},"origin_address":{"type":"object","properties":{"address_line_1":{"type":"string","example":"3990 N County Rd 300 E","isRequired":true,"uniqueKey":"oneOf.3.origin_address.address_line_1","typeLabel":"string"},"address_city":{"type":"string","example":"Danville","isRequired":true,"uniqueKey":"oneOf.3.origin_address.address_city","typeLabel":"string"},"address_province":{"type":"string","description":"The state, province, or region of the transaction. Must be a valid 2 digit ISO 3166-2 subdivision code.","example":"IN","isRequired":true,"uniqueKey":"oneOf.3.origin_address.address_province","typeLabel":"string"},"address_postal_code":{"type":"string","example":"46122","isRequired":true,"uniqueKey":"oneOf.3.origin_address.address_postal_code","typeLabel":"string"},"address_country":{"type":"string","description":"The country code of the transaction. Must be a valid ISO 3166-1 alpha-2 country code.","example":"US","isRequired":true,"uniqueKey":"oneOf.3.origin_address.address_country","typeLabel":"string"},"address_line_2":{"type":"string","example":"Unit 2","uniqueKey":"oneOf.3.origin_address.address_line_2","typeLabel":"string"}},"required":["address_line_1","address_city","address_province","address_postal_code","address_country"],"description":"Required from API version 2025-05-12+. The address that a product is shipped from.","isRequired":true,"uniqueKey":"oneOf.3.origin_address","typeLabel":"object"},"order_details":{"type":"object","properties":{"customer_currency_code":{"type":"string","description":"The currency code of the transaction. For API version 2024-09-01: Must be either 'USD' or 'CAD'. For API version 2025-05-12: Supports 32 currencies including USD, CAD, EUR, GBP, AUD, CHF, JPY, and more.","example":"USD","isRequired":true,"uniqueKey":"oneOf.3.order_details.customer_currency_code","typeLabel":"string"},"tax_included_in_amount":{"type":"boolean","description":"For the line items in this transaction, does the amount include tax? This should typically be `false` for most North American sales, but may vary by jurisdiction and business model.","example":false,"isRequired":true,"uniqueKey":"oneOf.3.order_details.tax_included_in_amount","typeLabel":"boolean"},"line_items":{"type":"array","description":"Each line item should represent one type of product. For compliance, we require either a `reference_product_id` or a `product_category`. See [this guide](/essentials/integration-guides/products-and-categories) for more.","items":{"type":"object","properties":{"amount":{"type":"number","description":"The price of this line item in the currency's smallest unit. We will calculate tax against this value. (e.g., if USD then 2000 = $20.00, if JPY then 2000 = ¥2000)","example":200,"isRequired":true,"uniqueKey":"oneOf.3.order_details.line_items.items.[INDEX].amount","typeLabel":"number"},"quantity":{"type":"number","description":"The quantity of this product being sold. Primarily used for record keeping.","example":2,"isRequired":true,"uniqueKey":"oneOf.3.order_details.line_items.items.[INDEX].quantity","typeLabel":"number"},"reference_line_item_id":{"type":"string","description":"The ID of the line item from your system. This field is optional and will be primarily used for record keeping.","example":"line_123456789","uniqueKey":"oneOf.3.order_details.line_items.items.[INDEX].reference_line_item_id","typeLabel":"string"},"reference_product_id":{"type":"string","description":"The product ID is used to uniquely reference this product in your system as well as in Numeral. Required if no `product_category`.","example":"p-1233543","uniqueKey":"oneOf.3.order_details.line_items.items.[INDEX].reference_product_id","typeLabel":"string"},"product_category":{"type":"string","description":"A tax category from our [category taxonomy](/essentials/product-categories). Required if no `reference_product_id`.","example":"GENERAL_MERCHANDISE","uniqueKey":"oneOf.3.order_details.line_items.items.[INDEX].product_category","typeLabel":"string"},"fallback_product_category":{"type":"string","description":"Optional fallback product category used when `reference_product_id` is provided but no matching product exists in Numeral. Lets integration partners always pass a product ID without first ensuring the product has been created. Must be a valid product category from the Numeral taxonomy — an invalid value returns a 400. If a matching product is found, its stored category takes precedence.","example":"GENERAL_MERCHANDISE","uniqueKey":"oneOf.3.order_details.line_items.items.[INDEX].fallback_product_category","typeLabel":"string"}},"required":["quantity","amount"],"uniqueKey":"oneOf.3.order_details.line_items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.3.order_details.line_items","typeLabel":"object[]"},"automatic_tax":{"type":"string","enum":["auto","disabled"],"description":"Controls automatic tax behavior. Available with API version 2025-05-12. `auto`: return real rates if client is registered/enabled in that jurisdiction, bypasses threshold checking. `disabled`: always return 0 tax rates regardless of registration status.","example":"auto","uniqueKey":"oneOf.3.order_details.automatic_tax","typeLabel":"enum\u003cstring>"}},"required":["customer_currency_code","tax_included_in_amount","line_items"],"isRequired":true,"uniqueKey":"oneOf.3.order_details","typeLabel":"object"},"metadata":{"type":"object","description":"You can store arbitrary keys and values in the metadata. Any valid JSON object whose values are less than 255 characters long is accepted.","properties":{"example_key":{"type":"string","description":"Storing things like an order number may be useful for reporting and reconciliation.","example":"example_value","uniqueKey":"oneOf.3.metadata.example_key","typeLabel":"string"}},"uniqueKey":"oneOf.3.metadata","typeLabel":"object"}},"uniqueKey":"oneOf.3","typeLabel":"API Version 2024-09-01 · object"}],"uniqueKey":"","typeLabel":"API Version 2026-03-01 · object | API Version 2026-01-01 · object | API Version 2025-05-12 · object | API Version 2024-09-01 · object"},"examples":{"2024-09-01":{"title":"2024-09-01","summary":"Basic calculation (API version 2024-09-01)","value":{"customer":{"address":{"address_line_1":"4 Privet Drive","address_city":"Little Whining","address_province":"CA","address_postal_code":"90210","address_country":"US","address_type":"shipping"}},"order_details":{"customer_currency_code":"USD","tax_included_in_amount":false,"line_items":[{"reference_product_id":"wand_elder_12","amount":10000,"quantity":1}]}}},"2026-03-01":{"title":"2026-03-01","summary":"IP-based calculation (API version 2026-03-01)","value":{"customer":{"type":"CONSUMER","ip":{"value":"217.217.113.167","resolution":"strict"}},"order_details":{"customer_currency_code":"USD","tax_included_in_amount":false,"automatic_tax":"auto","line_items":[{"reference_line_item_id":"line_123456789","product_category":"SAAS_GENERAL","amount":10000,"quantity":2}]}}},"2026-01-01":{"title":"2026-01-01","summary":"Per-unit pricing calculation (API version 2026-01-01)","value":{"customer":{"type":"CONSUMER","address":{"address_line_1":"4 Privet Drive","address_city":"Little Whinging","address_province":"CA","address_postal_code":"90210","address_country":"US","address_type":"shipping"}},"origin_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"},"order_details":{"customer_currency_code":"USD","tax_included_in_amount":false,"automatic_tax":"auto","line_items":[{"reference_line_item_id":"line_20260101","product_category":"GENERAL_MERCHANDISE","amount":2500,"quantity":3}]}}},"2025-05-12-consumer":{"title":"2025-05-12-consumer","summary":"Enhanced consumer calculation (API version 2025-05-12)","value":{"customer":{"type":"CONSUMER","address":{"address_line_1":"4 Privet Drive","address_city":"Little Whinging","address_province":"CA","address_postal_code":"90210","address_country":"US","address_type":"shipping"}},"origin_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"},"order_details":{"customer_currency_code":"USD","tax_included_in_amount":false,"automatic_tax":"auto","line_items":[{"reference_product_id":"wand_elder_12","amount":10000,"quantity":1}]}}},"2025-05-12-business":{"title":"2025-05-12-business","summary":"Business customer with tax IDs (API version 2025-05-12)","value":{"customer":{"type":"BUSINESS","tax_ids":[{"type":"gb_vat","value":"GB123456789"}],"address":{"address_line_1":"123 Business St","address_city":"Commerce City","address_province":"NY","address_postal_code":"10001","address_country":"US","address_type":"billing"}},"origin_address":{"address_line_1":"Tech Park 1","address_city":"Dublin","address_province":"L","address_postal_code":"D02 XY45","address_country":"IE"},"order_details":{"customer_currency_code":"EUR","tax_included_in_amount":false,"automatic_tax":"auto","line_items":[{"reference_product_id":"business_software_license","amount":50000,"quantity":5}]}}},"2025-05-12-US-standard":{"title":"2025-05-12-US-standard","summary":"US standard consumer sale (API version 2025-05-12)","value":{"customer":{"address":{"address_line_1":"4 Privet Drive","address_city":"Little Whinging","address_province":"CA","address_postal_code":"92037","address_country":"US","address_type":"shipping"}},"origin_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"},"order_details":{"customer_currency_code":"USD","tax_included_in_amount":false,"automatic_tax":"auto","line_items":[{"reference_line_item_id":"line_123456789","product_category":"SAAS_GENERAL","amount":200,"quantity":2}]}}},"2025-05-12-US-business":{"title":"2025-05-12-US-business","summary":"US business sale (API version 2025-05-12)","value":{"customer":{"type":"BUSINESS","tax_ids":[{"type":"us_ein","value":"12-3456789"}],"address":{"address_line_1":"4 Privet Drive","address_city":"Little Whinging","address_province":"CA","address_postal_code":"92037","address_country":"US","address_type":"billing"}},"origin_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"},"order_details":{"customer_currency_code":"USD","tax_included_in_amount":false,"automatic_tax":"auto","line_items":[{"reference_line_item_id":"line_123456789","product_category":"SAAS_GENERAL","amount":200,"quantity":2}]}}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"3bafdabe-ec19-4324-86d3-4f5e1b2ac159":{"description":"Calculate response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the `calculation`. You will use this to create a `transaction`.","example":"calc_123456789","uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","description":"The type of object: `tax.calculation`.","example":"tax.calculation","uniqueKey":"object","typeLabel":"string"},"customer_currency_code":{"type":"string","description":"The ISO-4217 currency code of the transaction.","example":"USD","uniqueKey":"customer_currency_code","typeLabel":"string"},"customer":{"type":"object","description":"Customer information returned in the response.","properties":{"type":{"type":"string","enum":["CONSUMER","BUSINESS"],"description":"The type of customer. `CONSUMER` are private individuals. `BUSINESS` are companies or legal entities registered for VAT/GST.","example":"CONSUMER","uniqueKey":"customer.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"customer","typeLabel":"object"},"automatic_tax":{"type":"string","enum":["auto","disabled"],"description":"The automatic tax setting for this calculation.","example":"auto","uniqueKey":"automatic_tax","typeLabel":"enum\u003cstring>"},"line_items":{"type":"array","items":{"type":"object","properties":{"product":{"type":"object","properties":{"reference_product_name":{"type":"string","example":"Widget","uniqueKey":"line_items.items.[INDEX].product.reference_product_name","typeLabel":"string"},"reference_line_item_id":{"type":"string","example":"line_987654321","uniqueKey":"line_items.items.[INDEX].product.reference_line_item_id","typeLabel":"string"},"reference_product_id":{"type":"string","example":"p-1233543","uniqueKey":"line_items.items.[INDEX].product.reference_product_id","typeLabel":"string"},"product_tax_code":{"type":"string","example":"GENERAL_MERCHANDISE","uniqueKey":"line_items.items.[INDEX].product.product_tax_code","typeLabel":"string"}},"uniqueKey":"line_items.items.[INDEX].product","typeLabel":"object"},"tax_jurisdictions":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"tax_rate":{"description":"The tax rate percentage applied to this transaction. This is the statutory rate for the jurisdiction and may apply to only part of the line item amount (for example, Tennessee single article rules). Do not sum rates across jurisdictions to derive an effective rate; use `tax_amount / amount_excluding_tax` instead.","type":"number","example":0.07,"uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX].oneOf.0.tax_rate","typeLabel":"number"},"tax_due_decimal":{"type":"number","description":"Tax amount due for this jurisdiction in the currency's smallest unit.","example":700,"uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX].oneOf.0.tax_due_decimal","typeLabel":"number"},"rate_type":{"type":"string","description":"Descriptive rate classification for this jurisdiction.","example":"GENERAL STATE SALES TAX","uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX].oneOf.0.rate_type","typeLabel":"string"},"fee_amount":{"description":"The flat fee that is added to this transaction. Like all numeric values, this will be returned in cents and should be added directly to the tax amount independent of other percentages. For example, a $100 transaction taxed at 5% and with a `fee_amount: 50` will lead to `($100 * 5% + 0.50) = $5.50` in tax being charged ","type":"number","example":0,"uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX].oneOf.0.fee_amount","typeLabel":"number"},"tax_authority_name":{"type":"string","description":"Name of the tax authority.","example":"Tennessee","uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX].oneOf.0.tax_authority_name","typeLabel":"string"},"tax_authority_type":{"type":"string","description":"Type of tax authority (e.g., STATE, COUNTY, CITY, DISTRICT).","example":"","uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX].oneOf.0.tax_authority_type","typeLabel":"string"},"tax_type":{"type":"string","description":"Type of tax: SALES, USE, VAT, or GST.","example":"SALES","uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX].oneOf.0.tax_type","typeLabel":"string"}},"uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"null","properties":{"tax_rate":{"description":"The tax rate percentage applied to this transaction. This is the statutory rate for the jurisdiction and may apply to only part of the line item amount (for example, Tennessee single article rules). Do not sum rates across jurisdictions to derive an effective rate; use `tax_amount / amount_excluding_tax` instead.","type":"number","example":0.07},"tax_due_decimal":{"type":"number","description":"Tax amount due for this jurisdiction in the currency's smallest unit.","example":700},"rate_type":{"type":"string","description":"Descriptive rate classification for this jurisdiction.","example":"GENERAL STATE SALES TAX"},"fee_amount":{"description":"The flat fee that is added to this transaction. Like all numeric values, this will be returned in cents and should be added directly to the tax amount independent of other percentages. For example, a $100 transaction taxed at 5% and with a `fee_amount: 50` will lead to `($100 * 5% + 0.50) = $5.50` in tax being charged ","type":"number","example":0},"tax_authority_name":{"type":"string","description":"Name of the tax authority.","example":"Tennessee"},"tax_authority_type":{"type":"string","description":"Type of tax authority (e.g., STATE, COUNTY, CITY, DISTRICT).","example":""},"tax_type":{"type":"string","description":"Type of tax: SALES, USE, VAT, or GST.","example":"SALES"}},"uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX]","typeLabel":"object | null"},"uniqueKey":"line_items.items.[INDEX].tax_jurisdictions","typeLabel":"(object | null)[]"},"quantity":{"type":"number","format":"int32","example":2,"uniqueKey":"line_items.items.[INDEX].quantity","typeLabel":"number\u003cint32>"},"tax_amount":{"type":"number","format":"int32","example":14,"uniqueKey":"line_items.items.[INDEX].tax_amount","typeLabel":"number\u003cint32>"},"amount_excluding_tax":{"type":"number","format":"int32","example":200,"uniqueKey":"line_items.items.[INDEX].amount_excluding_tax","typeLabel":"number\u003cint32>"},"amount_including_tax":{"type":"number","format":"int32","example":214,"uniqueKey":"line_items.items.[INDEX].amount_including_tax","typeLabel":"number\u003cint32>"}},"uniqueKey":"line_items.items.[INDEX]","typeLabel":"object"},"uniqueKey":"line_items","typeLabel":"object[]"},"tax_included_in_amount":{"type":"boolean","example":false,"uniqueKey":"tax_included_in_amount","typeLabel":"boolean"},"total_tax_amount":{"type":"number","description":"Total tax to charge on this `calculation`.","example":14,"uniqueKey":"total_tax_amount","typeLabel":"number"},"total_amount_excluding_tax":{"type":"number","description":"Total sale charge, excluding tax.","example":200,"uniqueKey":"total_amount_excluding_tax","typeLabel":"number"},"total_amount_including_tax":{"type":"number","description":"Total sale charge plus tax. What you should charge your customer.","example":214,"uniqueKey":"total_amount_including_tax","typeLabel":"number"},"expires_at":{"type":"number","description":"Epoch datetime representing the date and time the tax rates are valid until.","example":1714787673,"uniqueKey":"expires_at","typeLabel":"number"},"testmode":{"type":"boolean","description":"`True` if using a production API key. `False` if using a test API key.","example":"false","uniqueKey":"testmode","typeLabel":"boolean"},"address_resolution_status":{"type":"string","enum":["EXACT","POSTAL_FALLBACK_1","POSTAL_ONLY"],"description":"Status of address resolution for the customer address. `EXACT`: exact address match found, `POSTAL_FALLBACK_1`: used postal code fallback, `POSTAL_ONLY`: only postal code was used for tax calculation.","example":"EXACT","uniqueKey":"address_resolution_status","typeLabel":"enum\u003cstring>"},"address_used":{"type":"object","description":"The actual address used for tax calculation after resolution.","properties":{"address_line_1":{"type":"string","example":"4 Privet Drive","isRequired":true,"uniqueKey":"address_used.address_line_1","typeLabel":"string"},"address_city":{"type":"string","example":"Little Whinging","isRequired":true,"uniqueKey":"address_used.address_city","typeLabel":"string"},"address_province":{"type":"string","example":"CA","isRequired":true,"uniqueKey":"address_used.address_province","typeLabel":"string"},"address_postal_code":{"type":"string","example":"90210","isRequired":true,"uniqueKey":"address_used.address_postal_code","typeLabel":"string"},"address_country":{"type":"string","example":"US","isRequired":true,"uniqueKey":"address_used.address_country","typeLabel":"string"},"address_line_2":{"type":"string","example":"Unit 2","uniqueKey":"address_used.address_line_2","typeLabel":"string"}},"required":["address_line_1","address_city","address_province","address_postal_code","address_country"],"uniqueKey":"address_used","typeLabel":"object"},"metadata":{"type":"object","description":"You can store arbitrary keys and values in the metadata. Any valid JSON object whose values are less than 255 characters long is accepted.","properties":{"example_key":{"type":"string","description":"Storing things like an order number may be useful for reporting and reconciliation.","example":"example_value","uniqueKey":"metadata.example_key","typeLabel":"string"}},"uniqueKey":"metadata","typeLabel":"object"},"location_source":{"type":"string","enum":["address","ip"],"description":"Which input was used for tax determination.","example":"address","uniqueKey":"location_source","typeLabel":"enum\u003cstring>"},"resolution_precision":{"type":"string","enum":["STREET","POSTAL_PLUS","POSTAL","PROVINCE","COUNTRY","APPROXIMATED"],"description":"The precision level of the resolved location.","example":"POSTAL","uniqueKey":"resolution_precision","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"2024-09-01":{"title":"2024-09-01","summary":"Basic calculation response (API version 2024-09-01)","value":{"id":"calc_1726683504829b84b2ad6-a4c9-4e0e-986f-7bb3d1fb17c9","object":"tax.calculation","customer_currency_code":"USD","line_items":[{"product":{"reference_product_name":"Elder Wand","reference_product_id":"wand_elder_12","product_tax_code":"GENERAL_MERCHANDISE"},"tax_jurisdictions":[{"tax_rate":0.1,"rate_type":"SALES TAX","jurisdiction_name":"California","fee_amount":0}],"quantity":1,"tax_amount":1000,"amount_excluding_tax":10000,"amount_including_tax":11000}],"tax_included_in_amount":false,"total_tax_amount":1000,"total_amount_excluding_tax":10000,"total_amount_including_tax":11000,"expires_at":1726683511,"testmode":true,"address_resolution_status":"EXACT","address_used":{"address_line_1":"4 Privet Drive","address_city":"Little Whinging","address_province":"CA","address_postal_code":"90210","address_country":"US"}}},"2026-03-01":{"title":"2026-03-01","summary":"IP-based calculation response (API version 2026-03-01)","value":{"id":"calc_17725714816806a81b828-0757-4ec2-9307-3c1001733f73","object":"tax.calculation","customer_currency_code":"USD","customer":{"type":"CONSUMER"},"automatic_tax":"auto","line_items":[{"product":{"reference_line_item_id":"ip-test-001","reference_product_id":"default-saas-general","reference_product_name":"Default SAAS_GENERAL Product","product_tax_code":"SAAS_GENERAL"},"tax_jurisdictions":[{"tax_rate":0.06,"tax_due_decimal":3000,"fee_amount":0,"rate_type":"GENERAL STATE SALES TAX","tax_authority_name":"Pennsylvania","tax_authority_type":"","tax_type":"SALES"},{"tax_rate":0.01,"tax_due_decimal":500,"fee_amount":0,"rate_type":"GENERAL COUNTY LOCAL SALES TAX","tax_authority_name":"ALLEGHENY","tax_authority_type":"","tax_type":"SALES"}],"quantity":5,"tax_amount":3500,"amount_excluding_tax":50000,"amount_including_tax":53500}],"total_tax_amount":3500,"tax_included_in_amount":false,"total_amount_excluding_tax":50000,"total_amount_including_tax":53500,"expires_at":1772657881,"testmode":true,"address_resolution_status":"POSTAL_ONLY","address_used":{"address_line_1":"","address_line_2":"","address_city":"","address_province":"PA","address_postal_code":"15212","address_country":"US"},"location_source":"ip","resolution_precision":"POSTAL"}},"2026-01-01":{"title":"2026-01-01","summary":"Per-unit pricing response (API version 2026-01-01)","value":{"id":"calc_1762683504829b84b2ad6-a4c9-4e0e-986f-7bb3d1fb17c9","object":"tax.calculation","customer_currency_code":"USD","customer":{"type":"CONSUMER"},"automatic_tax":"auto","line_items":[{"product":{"reference_product_name":"Elder Wand","reference_product_id":"wand_elder_12","product_tax_code":"GENERAL_MERCHANDISE"},"tax_jurisdictions":[{"tax_rate":0.1,"tax_due_decimal":750,"fee_amount":0,"rate_type":"GENERAL STATE SALES TAX","tax_authority_name":"California","tax_authority_type":"STATE","tax_type":"SALES"}],"quantity":3,"tax_amount":750,"amount_excluding_tax":7500,"amount_including_tax":8250}],"tax_included_in_amount":false,"total_tax_amount":750,"total_amount_excluding_tax":7500,"total_amount_including_tax":8250,"expires_at":1762683511,"testmode":true,"address_resolution_status":"EXACT","address_used":{"address_line_1":"4 Privet Drive","address_city":"Little Whinging","address_province":"CA","address_postal_code":"90210","address_country":"US"}}},"2025-05-12":{"title":"2025-05-12","summary":"Enhanced B2B calculation response (API version 2025-05-12)","value":{"id":"calc_1726683504829b84b2ad6-a4c9-4e0e-986f-7bb3d1fb17c9","object":"tax.calculation","customer_currency_code":"USD","customer":{"type":"CONSUMER"},"automatic_tax":"auto","line_items":[{"product":{"reference_product_name":"Elder Wand","reference_product_id":"wand_elder_12","product_tax_code":"GENERAL_MERCHANDISE"},"tax_jurisdictions":[{"tax_rate":0.1,"rate_type":"SALES TAX","jurisdiction_name":"California","fee_amount":0,"note":"Standard consumer sale"}],"quantity":1,"tax_amount":1000,"amount_excluding_tax":10000,"amount_including_tax":11000}],"tax_included_in_amount":false,"total_tax_amount":1000,"total_amount_excluding_tax":10000,"total_amount_including_tax":11000,"expires_at":1726683511,"testmode":true,"address_resolution_status":"EXACT","address_used":{"address_line_1":"4 Privet Drive","address_city":"Little Whinging","address_province":"CA","address_postal_code":"90210","address_country":"US"}}},"2025-05-12-business":{"title":"2025-05-12-business","summary":"Business customer calculation response (API version 2025-05-12)","value":{"id":"calc_1726683504829b84b2ad6-a4c9-4e0e-986f-7bb3d1fb17c9","object":"tax.calculation","customer_currency_code":"EUR","customer":{"type":"BUSINESS"},"automatic_tax":"auto","line_items":[{"product":{"reference_product_name":"Business Software License","reference_product_id":"business_software_license","product_tax_code":"SOFTWARE"},"tax_jurisdictions":[{"tax_rate":0,"rate_type":"REVERSE CHARGE","jurisdiction_name":"Cross-border B2B","fee_amount":0,"note":"Cross-border B2B sale to VAT-registered business, reverse charge applies"}],"quantity":5,"tax_amount":0,"amount_excluding_tax":250000,"amount_including_tax":250000}],"tax_included_in_amount":false,"total_tax_amount":0,"total_amount_excluding_tax":250000,"total_amount_including_tax":250000,"expires_at":1726683511,"testmode":true,"address_resolution_status":"POSTAL_ONLY","address_used":{"address_line_1":"123 Business St","address_city":"Commerce City","address_province":"NY","address_postal_code":"10001","address_country":"US"}}}},"exampleType":"examples"}},"exampleType":"examples"},"10f32249-b074-48fc-a33b-8497cabf5183":{"description":"Validation error","content":{"application/json":{"schema":{"oneOf":[{"type":"object","example":{"error":{"error_code":"missing_field","error_message":"Field is required","error_meta":{"field":"path.to.fieldname","expected":"string","received":"undefined"}}},"properties":{"error":{"type":"object","properties":{"error_code":{"type":"string","uniqueKey":"oneOf.0.error.error_code","typeLabel":"string"},"error_message":{"type":"string","uniqueKey":"oneOf.0.error.error_message","typeLabel":"string"},"error_meta":{"type":"object","properties":{"field":{"type":"string","uniqueKey":"oneOf.0.error.error_meta.field","typeLabel":"string"},"expected":{"type":"string","uniqueKey":"oneOf.0.error.error_meta.expected","typeLabel":"string"},"received":{"type":"string","uniqueKey":"oneOf.0.error.error_meta.received","typeLabel":"string"}},"uniqueKey":"oneOf.0.error.error_meta","typeLabel":"object"}},"uniqueKey":"oneOf.0.error","typeLabel":"object"},"request_id":{"type":"string","description":"The ID of the request","example":"req_123456789","uniqueKey":"oneOf.0.request_id","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","example":{"error":{"error_code":"missing_origin_address","error_message":"Origin address is required for API version 2025-05-12 but was not provided and no default origin address is configured."}},"properties":{"error":{"type":"object","properties":{"error_code":{"type":"string","uniqueKey":"oneOf.1.error.error_code","typeLabel":"string"},"error_message":{"type":"string","uniqueKey":"oneOf.1.error.error_message","typeLabel":"string"},"error_meta":{"type":"object","properties":{"field":{"type":"string","uniqueKey":"oneOf.1.error.error_meta.field","typeLabel":"string"},"expected":{"type":"string","uniqueKey":"oneOf.1.error.error_meta.expected","typeLabel":"string"},"received":{"type":"string","uniqueKey":"oneOf.1.error.error_meta.received","typeLabel":"string"}},"uniqueKey":"oneOf.1.error.error_meta","typeLabel":"object"}},"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"error_code":"missing_field","error_message":"Field is required","error_meta":{"field":"path.to.fieldname","expected":"string","received":"undefined"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"0700b60d-ecc8-4572-ac7e-e551bd969f35":{"description":"Resource not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"error_code":{"type":"string","uniqueKey":"error.error_code","typeLabel":"string"},"error_message":{"type":"string","uniqueKey":"error.error_message","typeLabel":"string"},"error_meta":{"type":"object","properties":{"field":{"type":"string","uniqueKey":"error.error_meta.field","typeLabel":"string"},"expected":{"type":"string","uniqueKey":"error.error_meta.expected","typeLabel":"string"},"received":{"type":"string","uniqueKey":"error.error_meta.received","typeLabel":"string"}},"uniqueKey":"error.error_meta","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"}},"example":{"error":{"error_code":"error","error_message":"Unable to create calculation. Unable to find product {reference_product_id} in {environment} environment"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"error_code":"error","error_message":"Unable to create calculation. Unable to find product {reference_product_id} in {environment} environment"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"8e1a5098-173a-4a80-9020-7cf4be08bb9e":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"7c1bb241-aad6-454b-8aff-08f19d349955":{"url":"https://api.numeralhq.com/"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"numeralhq","siteName":"Numeral API","title":"Create Calculations - Numeral API","navMaps":{"firstHrefInVersion":{"2026-11-01":{"href":"/api-reference/endpoint/calculations","matchLevel":0},"2026-03-01":{"href":"/introduction","matchLevel":4},"2026-01-01":{"href":"/introduction","matchLevel":4},"2025-05-12":{"href":"/introduction","matchLevel":4},"2024-09-01":{"href":"/introduction","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-09-02T16:16:35.511Z","originalFileLocation":"api-reference/endpoint/calculations.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get tax information for a given product and address or IP\">\u003cmeta data-mint-head name=\"application-name\" content=\"Numeral API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/numeralhq/T60dQ7B6WxiReCVN/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/numeralhq/T60dQ7B6WxiReCVN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/numeralhq/T60dQ7B6WxiReCVN/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/numeralhq/T60dQ7B6WxiReCVN/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/numeralhq/T60dQ7B6WxiReCVN/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/numeralhq/T60dQ7B6WxiReCVN/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/numeralhq/T60dQ7B6WxiReCVN/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/numeralhq/T60dQ7B6WxiReCVN/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/numeralhq/T60dQ7B6WxiReCVN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Calculations - Numeral API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get tax information for a given product and address or IP\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Numeral API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.numeral.com/api-reference/endpoint/calculations\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://numeralhq.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Create+Calculations\u0026amp;description=Get+tax+information+for+a+given+product+and+address+or+IP\u0026amp;theme=ad20b2f16d2f771a40912e24\u0026amp;signature=5b5b166b96cd4573974eca3a9f3faf3b42e5ab63d6effe43258fb09cc291a4b2\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Calculations - Numeral API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get tax information for a given product and address or IP\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://numeralhq.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Create+Calculations\u0026amp;description=Get+tax+information+for+a+given+product+and+address+or+IP\u0026amp;theme=ad20b2f16d2f771a40912e24\u0026amp;signature=5b5b166b96cd4573974eca3a9f3faf3b42e5ab63d6effe43258fb09cc291a4b2\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/numeralhq/T60dQ7B6WxiReCVN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Numeral API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.numeral.com/api-reference/endpoint/calculations\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/calculations.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Numeral API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Numeral API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/calculations.md","siteName":"Numeral API","nav":{"global":null,"versions":[{"version":"2026-11-01","tabs":[{"tab":"API Documentation","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","icon":"hand-wave","href":"/introduction"},{"title":"Quickstart","icon":"rabbit","href":"/essentials/quickstart/quickstart"},{"title":"Changelog","icon":"wind","href":"/api-reference/v2026-11-01/changelog"},{"title":"API Keys","icon":"key","href":"/essentials/api-keys"},{"title":"API Versioning","icon":"code-branch","href":"/api-reference/versioning"},{"title":"Currencies","icon":"money-bill","href":"/essentials/currencies"},{"title":"Product Categories","icon":"tag","href":"/essentials/product-categories"},{"title":"Tax IDs","icon":"id-card","href":"/essentials/tax-ids"},{"title":"FAQs","icon":"question","href":"/essentials/faqs"},{"title":"AI help","icon":"robot","href":"/ai-help/overview"}]},{"group":"API Reference","pages":[{"title":"Introduction v2026-11-01","href":"/api-reference/v2026-11-01/introduction"},{"title":"Error Codes","icon":"triangle-exclamation","href":"/api-reference/v2026-11-01/error-codes"},{"title":"Calculations","icon":"calculator","mode":"wide","href":"/v2026-11-01/objects/calculations"},{"title":"Transactions","icon":"cash-register","mode":"wide","href":"/v2026-11-01/objects/transactions"},{"title":"Platform","icon":"store","mode":"wide","href":"/v2026-11-01/objects/platform"},{"title":"Merchants","icon":"store","mode":"wide","href":"/v2026-11-01/objects/merchants"},{"title":"Products","icon":"boxes-stacked","mode":"wide","href":"/v2026-11-01/objects/products"},{"title":"Customers","icon":"person","mode":"wide","href":"/v2026-11-01/objects/customers"},{"title":"Exemption (Resale) Certificates","icon":"file-certificate","mode":"wide","href":"/v2026-11-01/objects/exemption-certificates"},{"title":"Exchange Rates","icon":"money-bill-transfer","mode":"wide","href":"/v2026-11-01/objects/exchange-rates"},{"title":"Health Check","openapi":"api-reference/v2026-11-01/openapi.json GET /tax/ping","href":"/api-reference/v2026-11-01/endpoint/ping"}]}]},{"tab":"Integrations","groups":[{"group":"Integration Guides","pages":[{"title":"Reference Objects","icon":"link","href":"/essentials/integration-guides/reference-objects-faq"},{"title":"Managing Product Categories","icon":"bucket","href":"/essentials/integration-guides/products-and-categories"},{"title":"Classifying Products with AI","icon":"wand-magic-sparkles","href":"/essentials/integration-guides/product-classification"},{"title":"Exemptions Behavior","icon":"circle-xmark","href":"/essentials/integration-guides/exemptions-behavior"},{"title":"Submit Certificates via API","icon":"file-arrow-up","href":"/essentials/integration-guides/submit-certificates-via-api"},{"title":"Best Practices for a Successful Launch","icon":"circle-check","href":"/essentials/integration-guides/best-practices"}]},{"group":"Platform Integrations","pages":[{"title":"Integrations Overview","href":"/integrations/overview"},{"title":"Marketplaces","href":"/integrations/marketplaces"},{"title":"HR Systems","href":"/integrations/hr-systems"},{"title":"Acumatica","href":"/integrations/acumatica"},{"title":"Adobe Commerce","href":"/integrations/adobe-commerce"},{"title":"BigCommerce","href":"/integrations/bigcommerce"},{"title":"Microsoft Business Central","href":"/integrations/business-central"},{"title":"Campfire","href":"/integrations/campfire"},{"title":"Chargebee","href":"/integrations/chargebee"},{"title":"CheckoutChamp","href":"/integrations/checkoutchamp"},{"title":"Fulfil","href":"/integrations/fulfil"},{"title":"HubSpot","href":"/integrations/hubspot"},{"title":"Infor M3","href":"/integrations/infor-m3"},{"title":"JustPaid","href":"/integrations/justpaid"},{"title":"Maxio","href":"/integrations/maxio"},{"title":"Measure","href":"/integrations/measure"},{"title":"NetSuite","href":"/integrations/netsuite"},{"title":"Odoo","href":"/integrations/odoo"},{"title":"Orb","href":"/integrations/orb"},{"title":"QuickBooks Online","href":"/integrations/quickbooks-online"},{"title":"Rillet","href":"/integrations/rillet"},{"title":"SaaSGrid","href":"/integrations/saasgrid"},{"title":"Sage Intacct","href":"/integrations/sage-intacct"},{"title":"Saleor","href":"/integrations/saleor"},{"title":"Salesforce Commerce Cloud","href":"/integrations/salesforce-commerce-cloud"},{"title":"Salesforce Sales Cloud","href":"/integrations/salesforce-sales-cloud"},{"title":"SAP S/4HANA","href":"/integrations/sap-s4hana"},{"title":"Sequence","href":"/integrations/sequence"},{"group":"Shopify","pages":[{"title":"Shopify Partner Access","href":"/integrations/shopify/shopify-partner-access"},{"title":"Shopify Tax Services and Troubleshooting","href":"/integrations/shopify/shopify-tax-services"},{"title":"Shopify Apps","href":"/integrations/shopify/shopify-apps"},{"title":"Configuring Shopify Sales Channels","href":"/integrations/shopify/shopify-sales-channels"},{"title":"Shopify Settings for Schedule C Reporting in California","href":"/integrations/shopify/shopify-schedule-c-california"}]},{"title":"SKU.io","href":"/integrations/skuio"},{"title":"Solidus","href":"/integrations/solidus"},{"group":"Stripe","pages":[{"group":"Numeral for Stripe Checkout","pages":[{"title":"Numeral for Stripe Checkout","href":"/integrations/stripe/stripe-checkout"},{"title":"Customer location and address validation","href":"/integrations/stripe/stripe-checkout-location"},{"title":"Embed address collection","href":"/integrations/stripe/stripe-checkout-embedded"},{"title":"Branding and appearance","href":"/integrations/stripe/stripe-checkout-branding"},{"title":"Discounts and promotion codes","href":"/integrations/stripe/stripe-checkout-discounts"},{"title":"Metadata and saved cards","href":"/integrations/stripe/stripe-checkout-metadata"}]},{"title":"Using Numeral's Tax Engine on Stripe Invoices","href":"/integrations/stripe/stripe-invoices"},{"title":"How Stripe Tax Works with Numeral","href":"/integrations/stripe/stripe-tax"}]},{"title":"Subscript","href":"/integrations/subscript"},{"title":"Tabs","href":"/integrations/tabs"},{"title":"WooCommerce","href":"/integrations/woocommerce"},{"title":"Xero","href":"/integrations/xero"},{"title":"Zoho Billing","href":"/integrations/zoho-billing"},{"title":"Zoho Books","href":"/integrations/zoho-books"}]}]},{"tab":"MCP","groups":[{"group":"Get Started","pages":[{"title":"MCP Overview","icon":"plug","href":"/mcp/overview"},{"title":"MCP Quickstart","icon":"rocket","href":"/mcp/quickstart"}]},{"group":"Reference","pages":[{"title":"MCP Tool Reference","icon":"wrench","href":"/mcp/tools"},{"title":"MCP Authentication \u0026 Limits","icon":"shield","href":"/mcp/authentication"}]},{"group":"Build with MCP","pages":[{"title":"MCP Demo Application","icon":"github","href":"/mcp/demo-app"}]}]}]},{"version":"2026-03-01","pages":[{"title":"2026-03-01","href":"/introduction"}]},{"version":"2026-01-01","pages":[{"title":"2026-01-01","href":"/introduction"}]},{"version":"2025-05-12","pages":[{"title":"2025-05-12","href":"/introduction"}]},{"version":"2024-09-01","pages":[{"title":"2024-09-01","href":"/introduction"}]}]},"basePath":"","title":"Create Calculations - Numeral API","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}