InternationalTax ID, IBAN and Company Number Validation
taxid.validate
Validate batches of up to 100 tax IDs, IBANs and company numbers locally for format and available checksums. Bills supported entries and returns official lookup links. Format-only results require review.
https://api.kanagu.dev/v1/taxid/validate- Price
- $0.002 per identifier, on successful calls only
- Authentication
- API key required.
- MCP
call_operationwithoperation: "taxid.validate"athttps://api.kanagu.dev/mcp- Markdown
- /docs/taxid.validate.md
Compliance coverage
- Jurisdictions
- Jurisdictions: 96 jurisdictions
- Standards
- SWIFT IBAN RegistryRelease 1032026-09-17Source
- ISO 13616-120202020-09-29Source
- ISO/IEC 706420032003-03-07Source
- Statistics Estonia Intrastat manual, section 3.4.52025Source
- Skatteverket VAT number formats and country notesUnversionedSource
- SPF Finances Biztax manual, company numberUnversionedSource
- HMRC Enquiry Manual EM3058EM3058 (manual revision)2026-11-18Source
- Companies House URI Customer Guide, Company Numberv1.1 (May 2012)Source
- FCA Mutuals Public Register registration number glossaryUnversionedSource
- IRS Instructions for Form SS-4Rev. December 2025Source
- IRS Valid EINs prefix table2026-11-04 revision2026-11-04Source
- CRA Business number and program accountsUnversionedSource
- Service Canada Report on Hirings user guide, Business Number validationUnversionedSource
- CRA Confirming a GST/HST account numberUnversionedSource
- CRA RC4022 General Information for GST/HST RegistrantsRC4022Source
- ATO Standard GST registrationUnversionedSource
- Australian Business Register ABN format9.9.7Source
- ASIC Datastream Messages Specification, Appendix B2.712017-03-07Source
- Inland Revenue Payday Filing File Upload Specification, section 5.82026–20272026-04-01Source
- StudyLink Student Allowance application, question 7UnversionedSource
- Inland Revenue Register for GSTUnversionedSource
- Federal Statistical Office UIDV commentary, articles 5 and 8January 2011Source
- Brønnøysund Register Centre organisation number specification2023 revision2023-12-13Source
- Tesouro Nacional Protocolo de Arrecadação da GRU, section IV(a)Section IV(a)Source
- Receita Federal Cálculo do DV do CNPJ AlfanuméricoAlphanumeric CNPJ (July 2026 rollout)Source
- SAT Anexo 20, CFDI 4.0, t_RFCCFDI 4.02022-01-01Source
- CBIC GST Registration Rules, section 3(1)Section 3(1)Source
- Income Tax Department Permanent Account Number format and holder codesUnversionedSource
- python-stdnum GSTIN checksum reference2.12025-05-17Source
- National Tax Agency Corporate Number check digitCorporate Number calculationSource
- IRAS Partnership Allocation Template FAQ, A2aTechnical FAQSource
- IRAS Check GST Register API Services Interface SpecificationCheck GST RegisterSource
- Verification
- Check national formats against published tax authority references and SWIFT Release 103, and evaluate available checksums locally.
- Last reviewed
- 2026-11-26
curl https://api.kanagu.dev/v1/taxid/validate \
-H "Authorization: Bearer $KANAGU_KEY" \
-H "Content-Type: application/json" \
-d '{"identifiers":[{"country":"DE","type":"iban","value":"DE89 3704 0044 0532 0130 00"},{"country":"AU","type":"abn","value":"51 824 753 556"},{"country":"JP","type":"corporate-number","value":"8700110005901"}]}'const res = await fetch("https://api.kanagu.dev/v1/taxid/validate", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.KANAGU_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"identifiers": [
{
"country": "DE",
"type": "iban",
"value": "DE89 3704 0044 0532 0130 00"
},
{
"country": "AU",
"type": "abn",
"value": "51 824 753 556"
},
{
"country": "JP",
"type": "corporate-number",
"value": "8700110005901"
}
]
}),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const result = await res.json();curl https://api.kanagu.dev/mcp \
-H "Authorization: Bearer $KANAGU_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"call_operation","arguments":{"operation":"taxid.validate","input":{"identifiers":[{"country":"DE","type":"iban","value":"DE89 3704 0044 0532 0130 00"},{"country":"AU","type":"abn","value":"51 824 753 556"},{"country":"JP","type":"corporate-number","value":"8700110005901"}]}}}}'{
"identifiers": [
{
"country": "DE",
"type": "iban",
"value": "DE89 3704 0044 0532 0130 00"
},
{
"country": "AU",
"type": "abn",
"value": "51 824 753 556"
},
{
"country": "JP",
"type": "corporate-number",
"value": "8700110005901"
}
]
}Request body
application/json
identifiersarray of objectrequiredidentifiers[].countrystringrequired- ISO 3166-1 alpha-2 country code. For IBAN, use its SWIFT registry prefix. Use XI for Northern Ireland VAT.
identifiers[].type"vat" | "iban" | "company-number" | "ein" | "bn" | "gst" | … (17 values)requiredidentifiers[].valuestring (max 128 chars)required
Response
200 · application/json
resultsarray of objectrequiredresults[].rowinteger (≤ 9007199254740991)required- One-based position in identifiers.
results[].countrystringrequiredresults[].type"vat" | "iban" | "company-number" | "ein" | "bn" | "gst" | … (17 values)requiredresults[].normalizedstringrequiredresults[].status"valid" | "invalid" | "needs_review"required- Outcome of offline checks.
results[].format"valid" | "invalid" | "unsupported"requiredresults[].checksum"valid" | "invalid" | "unavailable" | "not_checked"requiredresults[].sourcesarray of objectrequiredresults[].sources[].namestringrequiredresults[].sources[].versionstringrequiredresults[].sources[].datestring (date) | nullrequiredresults[].sources[].retrievedAtstring (date)requiredresults[].sources[].urlstring (uri)requiredresults[].registryobject | nullrequired- Official lookup service or format registry. Confirm IBAN account details with the beneficiary's bank.
results[].findingsarray of objectrequiredresults[].findings[].rulestringrequiredresults[].findings[].expectedstringrequiredresults[].findings[].actualstringrequiredresults[].findings[].sourcesarray of objectrequiredresults[].findings[].sources[].namestringrequiredresults[].findings[].sources[].versionstringrequiredresults[].findings[].sources[].datestring (date) | nullrequiredresults[].findings[].sources[].retrievedAtstring (date)requiredresults[].findings[].sources[].urlstring (uri)requiredregistryChecks"not_performed"required
Try it
Errors
Errors are JSON {"error":{"code","message"}}. An operation may add its own 400 codes; the message says what to fix.
| Status | Code and meaning |
|---|---|
| 400 | invalid_inputThe body does not match the request schema. The message names each field. |
| 400 | invalid_jsonThe body is missing or is not valid JSON. |
| 400 | invalid_idempotency_keyIdempotency-Key must be 1–128 visible ASCII characters. |
| 401 | invalid_api_keyThe Bearer key is missing, malformed, invalid or inactive. |
| 402 | free_allowance_exhaustedThis month's free usage is used up and the account has no subscription. Subscribe from the dashboard, or wait for the next UTC month; Retry-After gives the seconds left. |
| 404 | not_foundNo operation at this path. |
| 409 | idempotency_conflictThe Idempotency-Key was already used with a different body. |
| 413 | payload_too_largeJSON bodies may be at most 64 KiB. |
| 500 | internal_errorThe call failed on our side. It is not billed; retry with the same Idempotency-Key. |
JSON Schema
Request schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"identifiers": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"country": {
"type": "string",
"pattern": "^[A-Za-z]{2}$",
"description": "ISO 3166-1 alpha-2 country code. For IBAN, use its SWIFT registry prefix. Use XI for Northern Ireland VAT."
},
"type": {
"type": "string",
"enum": [
"vat",
"iban",
"company-number",
"ein",
"bn",
"gst",
"abn",
"acn",
"ird",
"uid",
"org-number",
"cpf",
"cnpj",
"rfc",
"gstin",
"corporate-number",
"uen"
]
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"country",
"type",
"value"
],
"additionalProperties": false
}
}
},
"required": [
"identifiers"
],
"additionalProperties": false,
"examples": [
{
"identifiers": [
{
"country": "DE",
"type": "iban",
"value": "DE89 3704 0044 0532 0130 00"
},
{
"country": "AU",
"type": "abn",
"value": "51 824 753 556"
},
{
"country": "JP",
"type": "corporate-number",
"value": "8700110005901"
}
]
}
]
}Response schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"row": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "One-based position in identifiers."
},
"country": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"vat",
"iban",
"company-number",
"ein",
"bn",
"gst",
"abn",
"acn",
"ird",
"uid",
"org-number",
"cpf",
"cnpj",
"rfc",
"gstin",
"corporate-number",
"uen"
]
},
"normalized": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"valid",
"invalid",
"needs_review"
],
"description": "Outcome of offline checks."
},
"format": {
"type": "string",
"enum": [
"valid",
"invalid",
"unsupported"
]
},
"checksum": {
"type": "string",
"enum": [
"valid",
"invalid",
"unavailable",
"not_checked"
]
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"date": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
{
"type": "null"
}
]
},
"retrievedAt": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"name",
"version",
"date",
"retrievedAt",
"url"
],
"additionalProperties": false
}
},
"registry": {
"anyOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"name",
"url"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Official lookup service or format registry. Confirm IBAN account details with the beneficiary's bank."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rule": {
"type": "string"
},
"expected": {
"type": "string"
},
"actual": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"date": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
{
"type": "null"
}
]
},
"retrievedAt": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"name",
"version",
"date",
"retrievedAt",
"url"
],
"additionalProperties": false
}
}
},
"required": [
"rule",
"expected",
"actual",
"sources"
],
"additionalProperties": false
}
}
},
"required": [
"row",
"country",
"type",
"normalized",
"status",
"format",
"checksum",
"sources",
"registry",
"findings"
],
"additionalProperties": false
}
},
"registryChecks": {
"type": "string",
"const": "not_performed"
}
},
"required": [
"results",
"registryChecks"
],
"additionalProperties": false
}