The ID of the transaction. We highly recommend you store this value. If you need to refund or query the data from this transaction, you will use this ID as a reference.
True if using a production API key. If true, Numeral will record this transaction towards your nexus totals. If you're registered and collecting in the relevant jurisdiction, we'll file the tax.
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
{"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":""},"chroma":{"liveDeploymentHistoryId":"6aeb9a129cffc6a312e0949b","collectionId":"3c3b1f33-7ce8-4f59-8206-67ae8c69d5f8","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeb9a129cffc6a312e0949b"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeb9a129cffc6a312e0949b","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API Documentation","count":56},{"language":"default","tag":"Integrations","count":54},{"language":"default","tag":"Platform Integrations","count":48},{"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":"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":"llms-txt-v2","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":"comment-mode","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/transactions","slug":"/api-reference/endpoint/transactions","pageMetadata":{"title":"Create Transactions","openapi":"POST /tax/transactions","description":"Record a completed sale","href":"/api-reference/endpoint/transactions"},"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: \"Record a completed sale\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Transactions","openapi":"POST /tax/transactions","description":"Record a completed sale","href":"/api-reference/endpoint/transactions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/numeralhq/f4a41b99b7afe396/src/version-refresh.js","/_mintlify/custom/numeralhq/4721c15820461e09/src/resource-pages.js"],"openApiReferenceData":{"operation":{"description":"Record a completed sale","requestBody":"ad98c091-fb03-4641-904e-2862df39a5d6","responses":{"200":"da491b86-c731-4a74-a5ce-d0091ad6033b","400":"8330bb4f-130c-46e2-894e-543f801c3498","404":"8936196a-b637-44be-b4cb-e61353450b70"},"method":"post","type":"path","servers":["7c1bb241-aad6-454b-8aff-08f19d349955"],"security":["8e1a5098-173a-4a80-9020-7cf4be08bb9e"],"path":"/tax/transactions","baseUrlOptions":["https://api.numeralhq.com/"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"calculation_id":{"type":"string","description":"The ID of the `calculation` that you want to record as a sale","example":"calc_123456789","isRequired":true,"uniqueKey":"calculation_id","typeLabel":"string"},"reference_order_id":{"type":"string","description":"The ID of this order in your system. Must be unique among all your `transactions`","example":"343-45836","isRequired":true,"uniqueKey":"reference_order_id","typeLabel":"string"},"transaction_processed_at":{"type":"number","description":"Unix timestamp in **seconds** representing the date and time your sale was made. If not provided, the current date and time will be used.","example":1714787673,"uniqueKey":"transaction_processed_at","typeLabel":"number"},"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"}},"required":["calculation_id","reference_order_id"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"calculation_id":"calc_123456789","reference_order_id":"343-45836","transaction_processed_at":1714787673,"metadata":{"example_key":"example_value"}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"da491b86-c731-4a74-a5ce-d0091ad6033b":{"description":"Transaction response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the `transaction`. We highly recommend you store this value. If you need to refund or query the data from this transaction, you will use this ID as a reference.","example":"tr_123456789","uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","description":"The type of object: `tax.transaction`.","example":"tax.transaction","uniqueKey":"object","typeLabel":"string"},"calculation_id":{"type":"string","description":"The ID of the `calculation` that was used to create this transaction","example":"calc_123456789","uniqueKey":"calculation_id","typeLabel":"string"},"reference_order_id":{"type":"string","description":"The unique order ID you provided when creating the `transaction`","example":"343-45836","uniqueKey":"reference_order_id","typeLabel":"string"},"transaction_processed_at":{"type":"number","description":"Unix timestamp in **seconds** representing the date and time your sale was made. If not provided, the date and time this `transaction` was created","example":1714787673,"uniqueKey":"transaction_processed_at","typeLabel":"number"},"customer_currency_code":{"type":"string","description":"The ISO-4217 currency code of the transaction","example":"USD","uniqueKey":"customer_currency_code","typeLabel":"string"},"filing_currency_code":{"type":"string","description":"The currency code of the filing that will be used to remit taxes collected on this transaction","example":"USD","uniqueKey":"filing_currency_code","typeLabel":"string"},"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[]"},"testmode":{"type":"boolean","description":"`True` if using a production API key. If `true`, Numeral will record this `transaction` towards your nexus totals. If you're registered and collecting in the relevant jurisdiction, we'll file the tax.","example":"false","uniqueKey":"testmode","typeLabel":"boolean"},"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"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"tr_123456789","object":"tax.transaction","calculation_id":"calc_123456789","reference_order_id":"343-45836","transaction_processed_at":1714787673,"customer_currency_code":"USD","filing_currency_code":"USD","line_items":[{"product":{"reference_product_name":"Widget","reference_line_item_id":"line_987654321","reference_product_id":"p-1233543","product_tax_code":"GENERAL_MERCHANDISE"},"tax_jurisdictions":[{"tax_rate":0.07,"tax_due_decimal":700,"rate_type":"GENERAL STATE SALES TAX","fee_amount":0,"tax_authority_name":"Tennessee","tax_authority_type":"","tax_type":"SALES"}],"quantity":2,"tax_amount":14,"amount_excluding_tax":200,"amount_including_tax":214}],"testmode":"false","metadata":{"example_key":"example_value"}}}},"exampleType":"generated"}},"exampleType":"generated"},"8330bb4f-130c-46e2-894e-543f801c3498":{"description":"Unexpected error","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"},"request_id":{"type":"string","description":"The ID of the request","example":"req_123456789","uniqueKey":"request_id","typeLabel":"string"}},"example":{"error":{"error_code":"missing_field","error_message":"Field is required","error_meta":{"field":"path.to.fieldname","expected":"string","received":"undefined"}}},"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"},"8936196a-b637-44be-b4cb-e61353450b70":{"description":"Calculation 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":"calculation_not_found","error_message":"Unable to find calculation {calculation_id}."}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"error_code":"calculation_not_found","error_message":"Unable to find calculation {calculation_id}."}}}},"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 Transactions - Numeral API","navMaps":{"firstHrefInVersion":{"2026-11-01":{"href":"/api-reference/endpoint/transactions","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-08-26T19:52:03.810Z","originalFileLocation":"api-reference/endpoint/transactions.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=\"Record a completed sale\">\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 Transactions - Numeral API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Record a completed sale\">\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/transactions\">\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+Transactions\u0026amp;description=Record+a+completed+sale\u0026amp;theme=db0aa42568482bdcbfb10a73\u0026amp;signature=6c0e3c54afe9b53d38573fc36c559c20361cbdb012b0a510903f09141389c8f7\">\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 Transactions - Numeral API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Record a completed sale\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://numeralhq.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Create+Transactions\u0026amp;description=Record+a+completed+sale\u0026amp;theme=db0aa42568482bdcbfb10a73\u0026amp;signature=6c0e3c54afe9b53d38573fc36c559c20361cbdb012b0a510903f09141389c8f7\">\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/transactions\">\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/transactions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Numeral API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","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":"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 Transactions - Numeral API","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}