Use this endpoint in the Sandbox environment to simulate validation of a Tax Identification Number (TIN) against government registries. This helps test compliance logic, customer verification steps, and onboarding flows without calling real tax databases.
{"docsConfig":{"theme":"willow","$schema":"https://mintlify.com/docs.json","name":"Antei Documentation","colors":{"primary":"#05347E","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/antei-a7f40c5b/cjC4r7jmkvV4nElA/logo/light.svg?fit=max\u0026auto=format\u0026n=cjC4r7jmkvV4nElA\u0026q=85\u0026s=f8775e5904d3c89ffcf1a257f7d73374","dark":"https://mintcdn.com/antei-a7f40c5b/cjC4r7jmkvV4nElA/logo/dark.svg?fit=max\u0026auto=format\u0026n=cjC4r7jmkvV4nElA\u0026q=85\u0026s=14566aa95b13bb41a5d4de62fded39de"},"favicon":"/favicon.svg","appearance":{"default":"light","strict":true},"navbar":{"links":[{"label":"Support","href":"mailto: tech@antei.com"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.antei.com"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/antei-tax"}},"navigation":{"global":{"anchors":[{"anchor":"Antei Blogs","icon":"newspaper","href":"htttps://www.gmail.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"antei-a7f40c5b","hasAudioNarration":false,"actualSubdomain":"antei-a7f40c5b","customDomains":["docs.antei.com"],"gitSource":{"type":"github","owner":"techantei","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e69191916e8ce404f0f3","collectionId":"3212d697-abba-4527-b264-0f73d5f78375","schemaVersion":"v2"},"entitlements":{},"buildId":"6ae9256cc71a29952d4242e6:success","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"Antei Tax","count":174},{"language":"default","tag":"Guides","count":140},{"language":"default","tag":"Compliance Management","count":44},{"language":"default","tag":"API Reference","count":38},{"language":"default","tag":"Integrations","count":34},{"language":"default","tag":"Trust Center","count":25},{"language":"default","tag":"Objects","count":24},{"language":"default","tag":"Setup","count":21},{"language":"default","tag":"Settings","count":20},{"language":"default","tag":"Tax Tools","count":20}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"vite-origin","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":"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":true},"customCss":[],"page":{"pagePath":"api-reference/taxation/tax-id/tax-id-sandbox","slug":"/api-reference/taxation/tax-id/tax-id-sandbox","pageMetadata":{"title":"Validate Tax ID (Sandbox)","description":"Simulate tax ID validation against official tax authority registries.","openapi":"api-reference/openapi_sandbox.json post /v1/tax/id-validate","tag":"SANDBOX","version":"SANDBOX","hideGeneratedContent":true,"href":"/api-reference/taxation/tax-id/tax-id-sandbox"},"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: \"Simulate tax ID validation against official tax authority registries.\"\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`,em:`em`,hr:`hr`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,Card,Check,Expandable,Heading,Note,Table,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!Card)_missingMdxReference(`Card`,true);if(!Check)_missingMdxReference(`Check`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Use this endpoint in the `,_jsx(_components.strong,{children:`Sandbox environment`}),` to simulate validation of a Tax Identification Number (TIN) against government registries. This helps test compliance logic, customer verification steps, and onboarding flows without calling real tax databases.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`valid-tax-id-scenarios`,children:`Valid Tax ID Scenarios`}),`\n`,_jsxs(_components.p,{children:[`The Sandbox supports `,_jsx(_components.strong,{children:`only the specific Tax IDs below`}),` for deterministic responses. Any other values will return empty or generic results.`]}),`\n`,_jsx(Expandable,{title:`Valid Tax ID – Sandbox`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Country`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Tax ID`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Simulated Outcome`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`DE`}),_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.code,{children:`DE123456789`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Valid, name matches`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`IN`}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`29ABCDE1234F1Z5`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Valid, name mismatch`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`US`}),_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.code,{children:`123-45-6789`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Invalid ID`})]})]})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`request-parameters`,children:`Request Parameters`}),`\n`,_jsx(_components.p,{children:`Provide the following fields to simulate a validation request:`}),`\n`,_jsx(Accordion,{title:`Request Parameters`,id:`request-parameters`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`tax_id`}),`: `,_jsx(_components.em,{children:`(string, required)`}),` – The customer’s Tax Identification Number.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`customer_name`}),`: `,_jsx(_components.em,{children:`(string, optional)`}),` – Customer’s legal name (used to check name match).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`country`}),`: `,_jsx(_components.em,{children:`(string, required)`}),` – ISO 3166-1 alpha-2 country code (e.g., `,_jsx(_components.code,{children:`US`}),`, `,_jsx(_components.code,{children:`DE`}),`, `,_jsx(_components.code,{children:`IN`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`state`}),`: `,_jsx(_components.em,{children:`(string, optional)`}),` – State or region (useful for country-specific registries).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`county`}),`: `,_jsx(_components.em,{children:`(string, optional)`}),` – County or district.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`postal_code`}),`: `,_jsx(_components.em,{children:`(string, optional)`}),` – ZIP/postal code (used for location validation).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ip_address`}),`: `,_jsx(_components.em,{children:`(string, optional)`}),` – IP for fallback geolocation.`]}),`\n`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`response-fields`,children:`Response Fields`}),`\n`,_jsx(_components.p,{children:`The response includes full registry metadata for the provided tax ID:`}),`\n`,_jsx(Accordion,{title:`Response Fields`,id:`response-fields`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`valid`}),`: `,_jsx(_components.em,{children:`(boolean)`}),` – Whether the tax ID is valid.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`customer_name`}),`: `,_jsx(_components.em,{children:`(string)`}),` – Name retrieved from registry.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`customer_name_match`}),`: `,_jsx(_components.em,{children:`(boolean)`}),` – Whether provided name matches registry record.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`customer_type`}),`: `,_jsx(_components.em,{children:`(string)`}),` – Inferred customer classification:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`B2C`}),`, `,_jsx(_components.code,{children:`B2B`}),`, `,_jsx(_components.code,{children:`PRISCH`}),`, `,_jsx(_components.code,{children:`PRIEDUI`}),`, `,_jsx(_components.code,{children:`GOV`}),`, `,_jsx(_components.code,{children:`PUBSCH`}),`, `,_jsx(_components.code,{children:`PUBEDU`}),`, `,_jsx(_components.code,{children:`PRIHOS`}),`, `,_jsx(_components.code,{children:`PUBHOS`}),`, `,_jsx(_components.code,{children:`NGO`})]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`country`}),`: `,_jsx(_components.em,{children:`(string)`}),` – Country returned from the registry.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`state`}),`: `,_jsx(_components.em,{children:`(string)`}),` – Validated state or region.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`address`}),`: `,_jsx(_components.em,{children:`(string)`}),` – Registered address (if available).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`source`}),`: `,_jsx(_components.em,{children:`(string)`}),` – Validation source, e.g., `,_jsx(_components.code,{children:`VIES`}),`, `,_jsx(_components.code,{children:`GSTN`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`validation_timestamp`}),`: `,_jsx(_components.em,{children:`(string)`}),` – ISO timestamp of when validation occurred.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`request_id`}),`: `,_jsx(_components.em,{children:`(string)`}),` – Internal trace ID for support and logging.`]}),`\n`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`notes`,children:`Notes`}),`\n`,_jsxs(Card,{children:[_jsx(Warning,{children:`Only the specified test IDs listed above work in the Sandbox. All other values return limited or placeholder responses.`}),_jsxs(Note,{children:[`The `,_jsx(_components.code,{children:`customer_name`}),` field is optional, but providing it allows you to simulate name match or mismatch behavior.`]}),_jsx(Check,{children:`This endpoint does not make live registry calls in the Sandbox environment.`}),_jsx(Tip,{children:`Use during onboarding, KYC, or compliance testing when working with tax-registered entities.`})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`usage-tips`,children:`Usage Tips`}),`\n`,_jsx(_components.p,{children:`Use this endpoint to simulate:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Validation of B2B or institutional tax registrations`}),`\n`,_jsx(_components.li,{children:`Name mismatch handling logic`}),`\n`,_jsx(_components.li,{children:`Country-specific registry behavior across EU, India, US, etc.`}),`\n`,_jsx(_components.li,{children:`Auditable validation logs for test environments`}),`\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":"Validate Tax ID (Sandbox)","description":"Simulate tax ID validation against official tax authority registries.","openapi":"api-reference/openapi_sandbox.json post /v1/tax/id-validate","tag":"SANDBOX","version":"SANDBOX","hideGeneratedContent":true,"href":"/api-reference/taxation/tax-id/tax-id-sandbox"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Valid Tax ID Scenarios","slug":"valid-tax-id-scenarios","depth":3,"children":[]},{"title":"Request Parameters","slug":"request-parameters","depth":3,"children":[]},{"title":"Response Fields","slug":"response-fields","depth":3,"children":[]},{"title":"Notes","slug":"notes","depth":3,"children":[]},{"title":"Usage Tips","slug":"usage-tips","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Validate a Tax ID","description":"Simulate tax ID validation against official tax authority registries.","tags":["Tax ID Validation"],"parameters":["7e7e4727-d717-47e1-9116-e6d65844db9e"],"requestBody":"37b5b16c-615d-432c-8371-12ea49dc3317","responses":{"200":"8be26fc8-51a8-4ebd-b1c8-1fc7536dd845","400":"87fcae1a-0990-4077-86bf-3fbaa4715222"},"security":["e653e4fd-cc57-42b5-b1a1-1617b90f3fd8"],"method":"post","type":"path","servers":["ad82e70e-ff78-49bc-bfce-feaa8d17ebe2"],"path":"/v1/tax/id-validate","baseUrlOptions":["https://sandbox.antei.com"],"title":"Validate a Tax ID","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"7e7e4727-d717-47e1-9116-e6d65844db9e":{"name":"Idempotency-Key","in":"header","description":"Optional. Unique key to ensure idempotent operations (e.g., retry-safe requests).","required":false,"schema":{"type":"string","isRequired":false,"description":"Optional. Unique key to ensure idempotent operations (e.g., retry-safe requests).","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"description":"Details required for Tax ID validation","required":true,"content":{"application/json":{"schema":{"type":"object","required":["tax_id","country"],"properties":{"tax_id":{"type":"string","description":"The tax identification number to validate","isRequired":true,"uniqueKey":"tax_id","typeLabel":"string"},"country":{"type":"string","description":"The country where the tax ID should be validated (ISO 3166-1 alpha-2)","isRequired":true,"uniqueKey":"country","typeLabel":"string"},"customer_name":{"type":"string","description":"Optional customer name for matching against registry","uniqueKey":"customer_name","typeLabel":"string"},"state":{"type":"string","description":"State or region code, if applicable","uniqueKey":"state","typeLabel":"string"},"county":{"type":"string","description":"County or district, optional","uniqueKey":"county","typeLabel":"string"},"postal_code":{"type":"string","description":"Postal or ZIP code, optional","uniqueKey":"postal_code","typeLabel":"string"},"ip_address":{"type":"string","description":"IP address of the customer (used for fallback geolocation)","uniqueKey":"ip_address","typeLabel":"string"}},"example":{"tax_id":"US123456789","country":"US","customer_name":"Acme Inc.","ip_address":"192.168.1.1"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"tax_id":"US123456789","country":"US","customer_name":"Acme Inc.","ip_address":"192.168.1.1"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"8be26fc8-51a8-4ebd-b1c8-1fc7536dd845":{"description":"Validation result returned successfully","content":{"application/json":{"schema":{"type":"object","properties":{"valid":{"type":"boolean","description":"Indicates whether the Tax ID is valid","uniqueKey":"valid","typeLabel":"boolean"},"customer_name":{"type":"string","description":"Customer name from the tax registry (if available)","uniqueKey":"customer_name","typeLabel":"string"},"customer_name_match":{"type":"boolean","description":"True if the provided name matches the registry name","uniqueKey":"customer_name_match","typeLabel":"boolean"},"customer_type":{"type":"string","description":"Type of the customer entity (e.g., BUSINESS, INDIVIDUAL, NONPROFIT, GOV)","uniqueKey":"customer_type","typeLabel":"string"},"country":{"type":"string","description":"Country associated with the tax ID","uniqueKey":"country","typeLabel":"string"},"state":{"type":"string","description":"State/province/region from registry (if available)","uniqueKey":"state","typeLabel":"string"},"address":{"type":"string","description":"Full address from registry (if available)","uniqueKey":"address","typeLabel":"string"},"source":{"type":"string","description":"Registry source used (e.g., VIES, GSTIN, etc.)","uniqueKey":"source","typeLabel":"string"},"validation_timestamp":{"type":"string","format":"date-time","description":"Timestamp of the validation attempt","uniqueKey":"validation_timestamp","typeLabel":"string\u003cdate-time>"},"request_id":{"type":"string","description":"Internal reference ID for this validation request","uniqueKey":"request_id","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"valid":true,"customer_name":"\u003cstring>","customer_name_match":true,"customer_type":"\u003cstring>","country":"\u003cstring>","state":"\u003cstring>","address":"\u003cstring>","source":"\u003cstring>","validation_timestamp":"2023-11-07T05:31:56Z","request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"87fcae1a-0990-4077-86bf-3fbaa4715222":{"description":"Invalid input or malformed request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"status","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","message":"\u003cstring>","status":123}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e653e4fd-cc57-42b5-b1a1-1617b90f3fd8":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"ad82e70e-ff78-49bc-bfce-feaa8d17ebe2":{"url":"https://sandbox.antei.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_sandbox.json"},"subdomain":"antei-a7f40c5b","siteName":"Antei Documentation","title":"Validate Tax ID (Sandbox) - Antei Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T06:47:55.334Z","originalFileLocation":"api-reference/taxation/tax-id/tax-id-sandbox.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Simulate tax ID validation against official tax authority registries.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Antei Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/antei-a7f40c5b/X8WUIjHhwG6aO6KB/_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/antei-a7f40c5b/X8WUIjHhwG6aO6KB/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/antei-a7f40c5b/X8WUIjHhwG6aO6KB/_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/antei-a7f40c5b/X8WUIjHhwG6aO6KB/_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/antei-a7f40c5b/X8WUIjHhwG6aO6KB/_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/antei-a7f40c5b/X8WUIjHhwG6aO6KB/_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/antei-a7f40c5b/X8WUIjHhwG6aO6KB/_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/antei-a7f40c5b/X8WUIjHhwG6aO6KB/_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/antei-a7f40c5b/X8WUIjHhwG6aO6KB/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Validate Tax ID (Sandbox) - Antei Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Simulate tax ID validation against official tax authority registries.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Antei Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.antei.com/api-reference/taxation/tax-id/tax-id-sandbox\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://antei-a7f40c5b.mintlify.site/_mintlify/api/og/v2?division=Tax+ID+Validation\u0026amp;title=Validate+Tax+ID+%28Sandbox%29\u0026amp;description=Simulate+tax+ID+validation+against+official+tax+authority+registries.\u0026amp;theme=6dabd480ce5eac4733ecc538\u0026amp;signature=3dabf56d90a5aed2c3b6700c4af0fd22fff95bbaca3ebb0250772f683775e08c\">\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=\"Validate Tax ID (Sandbox) - Antei Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Simulate tax ID validation against official tax authority registries.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://antei-a7f40c5b.mintlify.site/_mintlify/api/og/v2?division=Tax+ID+Validation\u0026amp;title=Validate+Tax+ID+%28Sandbox%29\u0026amp;description=Simulate+tax+ID+validation+against+official+tax+authority+registries.\u0026amp;theme=6dabd480ce5eac4733ecc538\u0026amp;signature=3dabf56d90a5aed2c3b6700c4af0fd22fff95bbaca3ebb0250772f683775e08c\">\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/antei-a7f40c5b/X8WUIjHhwG6aO6KB/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Antei Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#05347E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.antei.com/api-reference/taxation/tax-id/tax-id-sandbox\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/taxation/tax-id/tax-id-sandbox.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.antei.com/#organization\",\"name\":\"Antei Documentation\",\"url\":\"https://docs.antei.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/antei-a7f40c5b/cjC4r7jmkvV4nElA/logo/light.svg?fit=max\u0026auto=format\u0026n=cjC4r7jmkvV4nElA\u0026q=85\u0026s=f8775e5904d3c89ffcf1a257f7d73374\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.antei.com#website\",\"name\":\"Antei Documentation\",\"url\":\"https://docs.antei.com\",\"publisher\":{\"@id\":\"https://docs.antei.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.antei.com/api-reference/taxation/tax-id/tax-id-sandbox#webpage\",\"url\":\"https://docs.antei.com/api-reference/taxation/tax-id/tax-id-sandbox\",\"name\":\"Validate Tax ID (Sandbox)\",\"description\":\"Simulate tax ID validation against official tax authority registries.\",\"dateModified\":\"2026-01-07T06:47:55.334Z\",\"isPartOf\":{\"@id\":\"https://docs.antei.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.antei.com/api-reference/taxation/tax-id/tax-id-sandbox#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.antei.com/api-reference/taxation/tax-id/tax-id-sandbox#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Taxation\",\"item\":\"https://docs.antei.com/api-reference/taxation/tax-rate/tax-rate-sandbox\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sandbox\",\"item\":\"https://docs.antei.com/api-reference/taxation/tax-rate/tax-rate-sandbox\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Validate Tax ID (Sandbox)\",\"item\":\"https://docs.antei.com/api-reference/taxation/tax-id/tax-id-sandbox\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.antei.com/api-reference/taxation/tax-id/tax-id-sandbox#apireference\",\"headline\":\"Validate Tax ID (Sandbox)\",\"name\":\"Validate Tax ID (Sandbox)\",\"description\":\"Simulate tax ID validation against official tax authority registries.\",\"url\":\"https://docs.antei.com/api-reference/taxation/tax-id/tax-id-sandbox\",\"mainEntityOfPage\":{\"@id\":\"https://docs.antei.com/api-reference/taxation/tax-id/tax-id-sandbox#webpage\"},\"dateModified\":\"2026-01-07T06:47:55.334Z\",\"publisher\":{\"@id\":\"https://docs.antei.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.antei.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Antei Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Antei Documentation","nav":{"global":{"anchors":[{"anchor":"Antei Blogs","icon":"newspaper","href":"htttps://www.gmail.com"}]},"tabs":[{"tab":"Antei Tax","pages":[{"title":"Antei Tax","href":"/introduction"}]},{"tab":"Trust Center","pages":[{"title":"Trust Center","href":"/trust-center/trust-overview"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","icon":"hand-wave","href":"/api-reference/introduction"},{"title":"Authorisation","icon":"lock-keyhole","href":"/api-reference/authorisation"},{"title":"Rate Limiting","icon":"wave-pulse","href":"/api-reference/rate-limiting"},{"title":"Idempotency Keys","icon":"key-skeleton-left-right","href":"/api-reference/idempotency-keys"},{"title":"Errors and Troubleshooting","icon":"triangle-exclamation","href":"/api-reference/err-trouble"},{"title":"Sandbox Environment","icon":"paper-plane","href":"/api-reference/sandbox"}]},{"group":"Taxation","pages":[{"group":"Sandbox","pages":[{"group":"Tax Rate","pages":[{"title":"Get Tax Rate (Sandbox)","description":"Retrieve a simulated tax rate breakdown using specific test values in the sandbox environment.","openapi":"api-reference/openapi_sandbox.json post /v1/tax/rate","tag":"SANDBOX","version":"SANDBOX","href":"/api-reference/taxation/tax-rate/tax-rate-sandbox"}]},{"group":"Tax ID Validation","pages":[{"title":"Validate Tax ID (Sandbox)","openapi":"api-reference/openapi_sandbox.json post /v1/tax/id-validate","tag":"SANDBOX","version":"SANDBOX","href":"/api-reference/taxation/tax-id/tax-id-sandbox"}]},{"group":"Unified Tax Calculation","pages":[{"title":"Unified Tax Calculation \u0026 Validation (Sandbox)","description":"Simulate tax calculation and tax ID validation in a single unified request.","openapi":"api-reference/openapi_sandbox.json post /v1/tax/unify","tag":"SANDBOX","version":"SANDBOX","href":"/api-reference/taxation/unified/tax-unify-sandbox"},{"title":"Unified Tax Calculation \u0026 Validation","openapi":"POST /v1/tax/unify","href":"/api-reference/taxation/unified/tax-unify"}]}]},{"group":"Production","pages":[{"group":"Tax Rate","pages":[{"title":"Get Tax Rate","openapi":"POST /v1/tax/rate","href":"/api-reference/taxation/tax-rate/tax-rate"}]},{"group":"Tax ID Validation","pages":[{"title":"Validate Tax ID","openapi":"POST /v1/tax/id-validate","href":"/api-reference/taxation/tax-id/tax-id"}]},{"group":"Unified Tax Calculation","pages":[{"title":"Unified Tax Calculation \u0026 Validation","openapi":"POST /v1/tax/unify","href":"/api-reference/taxation/unified/tax-unify"}]}]},{"group":"Exposure","pages":[{"title":"Get Global Tax Exposure","openapi":"GET /v1/exposure/countries","href":"/api-reference/taxation/exposure/get-all"},{"title":"Check Exposure by Jurisdiction","openapi":"GET /v1/exposure/check","href":"/api-reference/taxation/exposure/get"}]}]},{"group":"Objects","pages":[{"group":"Customers","pages":[{"title":"Get All Customers","openapi":"GET /customers","version":"1.0","href":"/api-reference/objects/customers/get-all"},{"title":"Get Customer by ID","openapi":"GET /customers/{id}","version":"1.0","href":"/api-reference/objects/customers/get-one"},{"title":"Create Customer","openapi":"POST /customers","version":"1.0","href":"/api-reference/objects/customers/create"},{"title":"Update Customer","openapi":"PATCH /customers/{id}","version":"1.0","href":"/api-reference/objects/customers/update"}]},{"group":"Entities","pages":[{"title":"Get All Entities","openapi":"GET /entities","version":"1.0","href":"/api-reference/objects/entities/get-all"},{"title":"Get Entity by ID","openapi":"GET /entities/{id}","version":"1.0","href":"/api-reference/objects/entities/get-one"},{"title":"Create Entity","openapi":"POST /entities","version":"1.0","href":"/api-reference/objects/entities/create"},{"title":"Update Entity","openapi":"PATCH /entities/{id}","version":"1.0","href":"/api-reference/objects/entities/update"}]},{"group":"Vendors","pages":[{"title":"Get all vendors","openapi":"GET /vendors","href":"/api-reference/objects/vendors/get-all"},{"title":"Get vendor by ID","openapi":"GET /vendors/{id}","href":"/api-reference/objects/vendors/get-one"},{"title":"Create vendor","openapi":"POST /vendors","href":"/api-reference/objects/vendors/create"},{"title":"Update vendor","openapi":"PATCH /vendors/{id}","href":"/api-reference/objects/vendors/update"}]},{"group":"Products","pages":[{"title":"Get All Products","openapi":"GET /products","href":"/api-reference/objects/products/get-all"},{"title":"Get Product by ID","openapi":"GET /products/{id}","href":"/api-reference/objects/products/get-one"},{"title":"Create Product","openapi":"POST /products","href":"/api-reference/objects/products/create"},{"title":"Update Product","openapi":"PATCH /products/{id}","href":"/api-reference/objects/products/update"}]},{"group":"Transactions","pages":[{"title":"Get All Transactions","openapi":"GET /transactions","href":"/api-reference/objects/transactions/get-all"},{"title":"Get Transaction by ID","openapi":"GET /transactions/{id}","href":"/api-reference/objects/transactions/get-one"},{"title":"Create Transaction","openapi":"POST /transactions","href":"/api-reference/objects/transactions/create"},{"title":"Update Transaction","openapi":"PATCH /transactions/{id}","href":"/api-reference/objects/transactions/update"}]},{"group":"Invoices","pages":[{"title":"Get All Invoices","openapi":"GET /invoices","href":"/api-reference/objects/invoices/get-all"},{"title":"Get One Invoice","openapi":"GET /invoices/{id}","href":"/api-reference/objects/invoices/get-one"},{"title":"Create Invoice","openapi":"POST /invoices","href":"/api-reference/objects/invoices/create"},{"title":"Update Invoice","openapi":"PATCH /invoices/{id}","href":"/api-reference/objects/invoices/update"}]}]}]},{"tab":"Changelog and Roadmap","pages":[{"title":"Changelog and Roadmap","href":"/changeLog/2025-05"}]}]},"basePath":"","title":"Validate Tax ID (Sandbox) - Antei Documentation","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}