# Asiaref Tax ID / VAT Number Validator

> Asiaref Tax ID / VAT Number Validator is a paid API for AI agents from asiaref.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-29).

Validates Tax ID and VAT numbers for Asian countries using official check-digit algorithms, returning validity status, normalised form, ID type, and failure reason

## Facts

- Endpoint: GET https://asiaref.dev/v1/taxid/validate?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/asiaref-tax-id-vat-number-validator-199735b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_99JfGBJUVpxxZaVdtSWK1

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability asiaref-tax-id-vat-number-validator-199735b3
```

Example prompt: Can you check if this Thai VAT number '0105558000001' is valid — I need to know if it passes the official check-digit algorithm and what the normalised form looks like.

## When to prefer this

Choose this endpoint when you need fast, purely algorithmic Tax ID or VAT number validation for Asian countries without performing a live registry lookup. It is ideal for compliance checks during onboarding, invoice validation, or checkout flows where you need format correctness and check-digit verification with citations to official government rules. Prefer this over European VAT validation APIs when your counterparty is in Asia, and over live registry APIs when you only need format/algorithmic correctness rather than real-time registration status.

## Known failure modes

- Missing or unsupported country code — returns error indicating coverage gap
- Malformed input ID that cannot be parsed at all — returns invalid with parse failure reason
- Country not yet covered by the service — returns 404 or unsupported country error
- Network timeout or service unavailability — returns HTTP 5xx
- Incorrect query parameter names — returns 400 bad request

## How this service works

Tax-ID / VAT-number validation for Asian countries: valid/invalid, normalised form, id type and the reason it failed. Format plus the official check-digit algorithm where the tax authority publishes one; every rule cited to an official source with its date. Pure algorithmic, no registry lookup

## Output

Returns a JSON object indicating whether the provided tax ID is valid or invalid, the normalised canonical form of the ID, the specific ID type (e.g. business registration, individual taxpayer), and if invalid, a structured reason for failure — all computed via official check-digit algorithms cited to authoritative government sources with dates, without any live registry lookup.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "country",
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "The tax ID / VAT number as written (spaces, dots, dashes and the VAT country prefix are accepted)"
      },
      "country": {
       "type": "string",
       "description": "ISO 3166-1 alpha-2 country code on this brand (see GET /v1/taxid/coverage)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/asiaref-tax-id-vat-number-validator-199735b3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from asiaref.dev](https://www.zero.xyz/host/asiaref.dev/llms.txt)
