# AgentStall ZA – South African Tax Number Validator

> AgentStall ZA – South African Tax Number Validator is a paid API for AI agents from agentstall.nilesh-b54.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-02).

Validates a South African VAT or income tax reference number and returns the type and normalized form

## Facts

- Endpoint: GET https://agentstall.nilesh-b54.workers.dev/v1/validate-tax-number?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentstall-za-south-african-tax-number-validator-5de22eeb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6N5S6Oy8u3KLxPNLqOOqO

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 agentstall-za-south-african-tax-number-validator-5de22eeb
```

Example prompt: Can you check whether 4000123456 is a valid South African income tax reference number and tell me its normalized form?

## When to prefer this

Use this endpoint when you specifically need to validate or normalize South African tax numbers (SARS VAT or income tax reference numbers) as part of a ZA-focused compliance, onboarding, or procurement workflow. It is purpose-built for the South African tax number format rules, unlike generic regex checks or international tax validators that don't understand SARS-specific formats. Prefer it over manual checks when automating supplier onboarding, tender submissions, or invoice processing in South Africa.

## Known failure modes

- Missing 'number' query parameter returns a 400 or error response
- Unpaid call (no x402 payment header) returns HTTP 402 with PAYMENT-REQUIRED header
- Malformed or unrecognizable number format returns valid:false with no normalized form
- Network timeout on the Cloudflare Worker edge node

## How this service works

South African tax number validation: checks a 10-digit SARS VAT registration number or income tax reference number (format and modulus-10 check digit) and says which type it is. Format check only, not a SARS registration lookup; nothing is stored. Useful for invoices, supplier onboarding and form validation.

## Output

A JSON object containing: 'type' (e.g. 'income tax reference number' or 'VAT'), 'valid' (boolean indicating whether the number passes SARS format rules), and 'normalized' (the canonical digit-only form of the number, e.g. '0001339050'). Spaces, dashes, and slashes in the input are stripped before validation.

## 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": [
      "number"
     ],
     "properties": {
      "number": {
       "type": "string",
       "description": "VAT or income tax number; spaces, dashes and slashes are ignored"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "income tax reference number",
  "valid": true,
  "normalized": "0001339050"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentstall-za-south-african-tax-number-validator-5de22eeb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstall.nilesh-b54.workers.dev](https://www.zero.xyz/host/agentstall.nilesh-b54.workers.dev/llms.txt)
