Get tax information for a given product and address
In this version, line item amount is the total for the line (not per-unit) in the currency’s smallest unit — quantity is record-keeping only and does not affect the taxable base. Per-unit pricing starts in 2026-01-01.
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.
cURL Header Example
Always set an API version — pass X-API-Version explicitly (recommended), or configure a default version on your account. Requests with neither fall back to 2024-09-01:
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
X-API-Version
enum<string>
default:2024-09-01
required
The API version for this request. Always set a version: pass this header explicitly (recommended), or configure a default API version on your account and omit the header. Accounts with no configured version fall back to 2024-09-01, but an account default set to a newer version takes precedence over that fallback.
Available options:
2024-09-01
Body
application/json
customer
object
required
Customer details. Address is required. Optionally accepts a customer ID for order tracking and exemptions.
Show child attributes
order_details
object
required
Show child attributes
origin_address
object
Optional, but relevant for tax collection in certain jurisdictions. The address that a product is shipped from.
Show child attributes
metadata
object
You can store arbitrary keys and values in the metadata. At most 50 keys; each key at most 255 characters; each value must be a string of at most 255 characters (non-string values are rejected).
Show child attributes
Response
Calculate response
id
string
The ID of the calculation. You will use this to create a transaction.
Total tax to charge on this calculation, in the currency's smallest unit (rounded to an integer).
Example:
140
total_amount_excluding_tax
integer
Total sale charge excluding tax, in the currency's smallest unit (rounded to an integer).
Example:
2000
total_amount_including_tax
integer
Total sale charge plus tax, in the currency's smallest unit (rounded to an integer). What you should charge your customer.
Example:
2140
expires_at
integer
Unix timestamp in seconds at which the quoted tax rates expire — 24 hours after the calculation is created.
Example:
1714787673
testmode
boolean
True if using a production API key. False if using a test API key.
Example:
false
metadata
object
You can store arbitrary keys and values in the metadata. At most 50 keys; each key at most 255 characters; each value must be a string of at most 255 characters (non-string values are rejected).
Show child attributes
{"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/v2024-09-01/endpoint/calculations","slug":"/api-reference/v2024-09-01/endpoint/calculations","pageMetadata":{"title":"Create Calculations","openapi":"api-reference/v2024-09-01/openapi.json POST /tax/calculations","description":"Get tax information for a given product and address","href":"/api-reference/v2024-09-01/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\"\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,Note,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Get tax information for a given product and address`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`In this version, line item `,_jsx(_components.code,{children:`amount`}),` is the `,_jsx(_components.strong,{children:`total for the line`}),` (not per-unit) in the currency’s smallest unit — `,_jsx(_components.code,{children:`quantity`}),` is record-keeping only and does not affect the taxable base. Per-unit pricing starts in 2026-01-01.`]})}),`\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`,_jsxs(_components.p,{children:[`Always set an API version — pass `,_jsx(_components.code,{children:`X-API-Version`}),` explicitly (recommended), or configure a default version on your account. Requests with neither fall back to 2024-09-01:`]}),`\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":"api-reference/v2024-09-01/openapi.json POST /tax/calculations","description":"Get tax information for a given product and address","href":"/api-reference/v2024-09-01/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","parameters":["8dcfddbc-faf4-42d8-9ef5-7038cf3c2cbc"],"requestBody":"5f18dbb6-ea7c-437f-923d-5cb25be6be3e","responses":{"200":"33573a33-e22a-4e93-8716-fccdaccdb2ef","400":"96177bbf-44d1-4203-b785-6b313ab285b4","404":"c1037ecd-df6f-400e-b411-adb6109abe23"},"method":"post","type":"path","servers":["5a77c809-a730-4050-8802-0d0aa0411325"],"security":["01e3d3c7-8f1c-4d70-b9ce-c5e760107282"],"path":"/tax/calculations","baseUrlOptions":["https://api.numeralhq.com/"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"8dcfddbc-faf4-42d8-9ef5-7038cf3c2cbc":{"name":"X-API-Version","in":"header","required":true,"schema":{"type":"string","enum":["2024-09-01"],"default":"2024-09-01","isRequired":true,"description":"The API version for this request. Always set a version: pass this header explicitly (recommended), or configure a default API version on your account and omit the header. Accounts with no configured version fall back to `2024-09-01`, but an account default set to a newer version takes precedence over that fallback.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"The API version for this request. Always set a version: pass this header explicitly (recommended), or configure a default API version on your account and omit the header. Accounts with no configured version fall back to `2024-09-01`, but an account default set to a newer version takes precedence over that fallback.","example":"2024-09-01"}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"object","properties":{"address":{"type":"object","description":"The customer (destination) address. In API version 2024-09-01, `address_country` must be one of: US, CA, or an EU member state (AT, BE, BG, HR, CZ, DE, DK, EE, FI, FR, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE). For US and CA, `address_province` must be a valid uppercase USPS state code / Canadian province code and `address_postal_code` is required.","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":"customer.address.address_line_1","typeLabel":"string"},"address_city":{"type":"string","example":"Danville","isRequired":true,"uniqueKey":"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":"customer.address.address_province","typeLabel":"string"},"address_postal_code":{"type":"string","example":"46122","isRequired":true,"uniqueKey":"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":"customer.address.address_country","typeLabel":"string"},"address_type":{"type":"string","enum":["shipping","billing"],"description":"The type of address. For physical goods, `shipping` should be used. For software and digital goods, `billing` is more appropriate. Only valid on `customer.address` — including it on `origin_address` returns a 400 with `error_code: \"unrecognized_field\"`.","example":"shipping","isRequired":true,"uniqueKey":"customer.address.address_type","typeLabel":"enum\u003cstring>"},"address_line_2":{"type":"string","example":"Unit 2","uniqueKey":"customer.address.address_line_2","typeLabel":"string"}},"isRequired":true,"uniqueKey":"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.","example":"cus_123456789","uniqueKey":"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":"customer","typeLabel":"object"},"order_details":{"type":"object","properties":{"customer_currency_code":{"type":"string","enum":["EUR","RON","PLN","DKK","HUF","CZK","BGN","SEK","USD","CAD"],"description":"The ISO-4217 currency code of the transaction. API version 2024-09-01 supports exactly these 10 currencies: EUR, RON, PLN, DKK, HUF, CZK, BGN, SEK, USD, CAD.","example":"USD","isRequired":true,"uniqueKey":"order_details.customer_currency_code","typeLabel":"enum\u003cstring>"},"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":"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`.","items":{"type":"object","properties":{"amount":{"type":"integer","minimum":0,"maximum":9999999999999,"description":"The **total price of this line item** (not per-unit) in the currency's smallest unit (e.g., if USD then 2000 = $20.00). Tax is calculated against this value as-is; `quantity` does not multiply it. Per-unit semantics start in API version 2026-01-01.","example":2000,"isRequired":true,"uniqueKey":"order_details.line_items.items.[INDEX].amount","typeLabel":"integer"},"quantity":{"type":"integer","minimum":1,"maximum":999999999,"description":"The quantity of this product being sold. In this API version it is used for record keeping only — it does not affect the taxable base.","example":2,"isRequired":true,"uniqueKey":"order_details.line_items.items.[INDEX].quantity","typeLabel":"integer"},"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":"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":"order_details.line_items.items.[INDEX].reference_product_id","typeLabel":"string"},"product_category":{"type":"string","description":"A tax category from our category taxonomy. Required if no `reference_product_id`.","example":"GENERAL_MERCHANDISE","uniqueKey":"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":"order_details.line_items.items.[INDEX].fallback_product_category","typeLabel":"string"}},"required":["quantity","amount"],"uniqueKey":"order_details.line_items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"order_details.line_items","typeLabel":"object[]"}},"required":["customer_currency_code","tax_included_in_amount","line_items"],"isRequired":true,"uniqueKey":"order_details","typeLabel":"object"},"origin_address":{"type":"object","properties":{"address_line_1":{"type":"string","example":"3990 N County Rd 300 E","isRequired":true,"uniqueKey":"origin_address.address_line_1","typeLabel":"string"},"address_city":{"type":"string","example":"Danville","isRequired":true,"uniqueKey":"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":"origin_address.address_province","typeLabel":"string"},"address_postal_code":{"type":"string","example":"46122","isRequired":true,"uniqueKey":"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":"origin_address.address_country","typeLabel":"string"},"address_line_2":{"type":"string","example":"Unit 2","uniqueKey":"origin_address.address_line_2","typeLabel":"string"}},"required":["address_line_1","address_city","address_province","address_postal_code","address_country"],"description":"Optional, but relevant for tax collection in certain jurisdictions. The address that a product is shipped from.","uniqueKey":"origin_address","typeLabel":"object"},"metadata":{"type":"object","description":"You can store arbitrary keys and values in the metadata. At most 50 keys; each key at most 255 characters; each value must be a string of at most 255 characters (non-string values are rejected).","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"}},"required":["customer","order_details"],"uniqueKey":"","typeLabel":"object"},"examples":{"basic":{"title":"basic","summary":"Basic calculation","value":{"customer":{"address":{"address_line_1":"4 Privet Drive","address_city":"Little Whinging","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}]}}},"with_fallback_product_category":{"title":"with_fallback_product_category","summary":"Calculation with fallback_product_category","value":{"customer":{"address":{"address_line_1":"4 Privet Drive","address_city":"Little Whinging","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":"product_not_yet_in_numeral","fallback_product_category":"GENERAL_MERCHANDISE","amount":10000,"quantity":1}]}}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"33573a33-e22a-4e93-8716-fccdaccdb2ef":{"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_1783369478354d32be1ac-066b-49b1-a952-3e45e640c49c","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"},"line_items":{"type":"array","items":{"type":"object","properties":{"line_item_id":{"type":"string","description":"Numeral-generated ID for this line item.","example":"li_1783369478353396a9168-1972-4798-80cb-536d96c0cc5a","uniqueKey":"line_items.items.[INDEX].line_item_id","typeLabel":"string"},"product":{"type":"object","description":"Product information for this line item.","properties":{"reference_product_name":{"type":"string","description":"The name of the product.","example":"Red Shoes","uniqueKey":"line_items.items.[INDEX].product.reference_product_name","typeLabel":"string"},"reference_line_item_id":{"type":"string","description":"The ID of the line item from your system.","example":"line_123456789","uniqueKey":"line_items.items.[INDEX].product.reference_line_item_id","typeLabel":"string"},"reference_product_id":{"type":"string","description":"The product ID in your system.","example":"p-1233543","uniqueKey":"line_items.items.[INDEX].product.reference_product_id","typeLabel":"string"},"product_tax_code":{"type":"string","description":"The tax code applied to this product.","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","description":"Array of tax jurisdictions that apply to this line item.","items":{"type":"object","properties":{"tax_rate":{"type":"number","description":"The tax rate for this jurisdiction. 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.","example":0.07,"uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX].tax_rate","typeLabel":"number"},"rate_type":{"type":"string","description":"The type of tax rate: `sales_tax` for US SST states, `general state sales tax` / `general county local sales tax` for other US states, `standard` for VAT countries. Zero-rate placeholder rows (e.g., when `automatic_tax` is `disabled`) use `VAT`.","example":"sales_tax","uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX].rate_type","typeLabel":"string"},"jurisdiction_name":{"type":"string","description":"The name of the tax jurisdiction. A state/county name for US, the ISO country code for VAT countries (e.g., `DE`).","example":"Indiana","uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX].jurisdiction_name","typeLabel":"string"},"fee_amount":{"type":"number","description":"Any fixed fee amount for this jurisdiction.","example":0,"uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX].fee_amount","typeLabel":"number"},"note":{"type":"string","description":"Calculation-method note for this jurisdiction, e.g. `RATE_FRAC`, or a reason string on zero-rate placeholder rows (e.g., `automatic_tax_disabled`).","example":"RATE_FRAC","uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX].note","typeLabel":"string"}},"uniqueKey":"line_items.items.[INDEX].tax_jurisdictions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"line_items.items.[INDEX].tax_jurisdictions","typeLabel":"object[]"},"quantity":{"type":"number","description":"The quantity of this product.","example":2,"uniqueKey":"line_items.items.[INDEX].quantity","typeLabel":"number"},"tax_amount":{"type":"number","description":"The tax amount for this line item.","example":14,"uniqueKey":"line_items.items.[INDEX].tax_amount","typeLabel":"number"},"amount_excluding_tax":{"type":"number","description":"The line item amount excluding tax.","example":200,"uniqueKey":"line_items.items.[INDEX].amount_excluding_tax","typeLabel":"number"},"amount_including_tax":{"type":"number","description":"The line item amount including tax.","example":214,"uniqueKey":"line_items.items.[INDEX].amount_including_tax","typeLabel":"number"}},"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":"integer","description":"Total tax to charge on this `calculation`, in the currency's smallest unit (rounded to an integer).","example":140,"uniqueKey":"total_tax_amount","typeLabel":"integer"},"total_amount_excluding_tax":{"type":"integer","description":"Total sale charge excluding tax, in the currency's smallest unit (rounded to an integer).","example":2000,"uniqueKey":"total_amount_excluding_tax","typeLabel":"integer"},"total_amount_including_tax":{"type":"integer","description":"Total sale charge plus tax, in the currency's smallest unit (rounded to an integer). What you should charge your customer.","example":2140,"uniqueKey":"total_amount_including_tax","typeLabel":"integer"},"expires_at":{"type":"integer","description":"Unix timestamp in **seconds** at which the quoted tax rates expire — 24 hours after the calculation is created.","example":1714787673,"uniqueKey":"expires_at","typeLabel":"integer"},"testmode":{"type":"boolean","description":"`True` if using a production API key. `False` if using a test API key.","example":false,"uniqueKey":"testmode","typeLabel":"boolean"},"metadata":{"type":"object","description":"You can store arbitrary keys and values in the metadata. At most 50 keys; each key at most 255 characters; each value must be a string of at most 255 characters (non-string values are rejected).","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"}},"uniqueKey":"","typeLabel":"object"},"examples":{"basic":{"title":"basic","summary":"Basic calculation response","value":{"testmode":true,"id":"calc_1783369478354d32be1ac-066b-49b1-a952-3e45e640c49c","object":"tax.calculation","customer_currency_code":"USD","line_items":[{"line_item_id":"li_1783369478353396a9168-1972-4798-80cb-536d96c0cc5a","product":{"reference_line_item_id":"","reference_product_id":"wand_elder_12","reference_product_name":"Elder Wand","product_tax_code":"GENERAL_MERCHANDISE"},"tax_jurisdictions":[{"tax_rate":0.0725,"rate_type":"general state sales tax","jurisdiction_name":"California","fee_amount":0,"note":"RATE_FRAC"},{"tax_rate":0.025,"rate_type":"general county local sales tax","jurisdiction_name":"Los Angeles","fee_amount":0,"note":"RATE_FRAC"}],"tax_amount":975,"amount_excluding_tax":10000,"amount_including_tax":10975,"quantity":1}],"total_tax_amount":975,"tax_included_in_amount":false,"total_amount_excluding_tax":10000,"total_amount_including_tax":10975,"expires_at":1783455878}},"with_fallback_product_category":{"title":"with_fallback_product_category","summary":"Response when the fallback product category was used","value":{"testmode":true,"id":"calc_1783369478354d32be1ac-066b-49b1-a952-3e45e640c49d","object":"tax.calculation","customer_currency_code":"USD","line_items":[{"line_item_id":"li_1783369478353396a9168-1972-4798-80cb-536d96c0cc5b","product":{"reference_line_item_id":"","reference_product_id":"default-general-merchandise","reference_product_name":"Default GENERAL_MERCHANDISE Product","product_tax_code":"GENERAL_MERCHANDISE"},"tax_jurisdictions":[{"tax_rate":0.0725,"rate_type":"general state sales tax","jurisdiction_name":"California","fee_amount":0,"note":"RATE_FRAC"},{"tax_rate":0.025,"rate_type":"general county local sales tax","jurisdiction_name":"Los Angeles","fee_amount":0,"note":"RATE_FRAC"}],"tax_amount":975,"amount_excluding_tax":10000,"amount_including_tax":10975,"quantity":1}],"total_tax_amount":975,"tax_included_in_amount":false,"total_amount_excluding_tax":10000,"total_amount_including_tax":10975,"expires_at":1783455878}}},"exampleType":"examples"}},"exampleType":"examples"},"96177bbf-44d1-4203-b785-6b313ab285b4":{"description":"Validation error","content":{"application/json":{"schema":{"type":"object","description":"Legacy error format used by API versions before 2026-01-01. The request ID is returned in the `X-Request-Id` response header, not in the body.","properties":{"error":{"type":"object","properties":{"error_code":{"type":"string","description":"Machine-readable error code (e.g., `missing_field`, `incorrect_type`, `malformed_address`, `invalid_currency_code`, `unrecognized_field`).","example":"missing_field","uniqueKey":"error.error_code","typeLabel":"string"},"error_message":{"type":"string","description":"Human-readable error message.","example":"Field is required","uniqueKey":"error.error_message","typeLabel":"string"},"error_meta":{"type":"object","description":"Optional details about the error, such as the offending `field` and the `expected`/`received` types.","uniqueKey":"error.error_meta","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"error_code":"missing_field","error_message":"Field is required","error_meta":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"c1037ecd-df6f-400e-b411-adb6109abe23":{"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"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"error_code":"\u003cstring>","error_message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"01e3d3c7-8f1c-4d70-b9ce-c5e760107282":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"5a77c809-a730-4050-8802-0d0aa0411325":{"url":"https://api.numeralhq.com/"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"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/v2024-09-01/openapi.json"},"subdomain":"numeralhq","siteName":"Numeral API","title":"Create Calculations - Numeral API","navMaps":{"firstHrefInVersion":{"2026-11-01":{"href":"/api-reference/v2024-09-01/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.507Z","originalFileLocation":"api-reference/v2024-09-01/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\">\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\">\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/v2024-09-01/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\u0026amp;theme=ad20b2f16d2f771a40912e24\u0026amp;signature=ef98fd57e2f4f60fb4bc4b953eae621c13a2ddf24481a3528bee122d1c7aa6fd\">\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\">\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\u0026amp;theme=ad20b2f16d2f771a40912e24\u0026amp;signature=ef98fd57e2f4f60fb4bc4b953eae621c13a2ddf24481a3528bee122d1c7aa6fd\">\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/v2024-09-01/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/v2024-09-01/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/v2024-09-01/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"]}