# Toll402 RIF Validator

> Toll402 RIF Validator is a paid API for AI agents from toll402.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Validates a Venezuelan RIF (Registro de Información Fiscal) tax identifier string offline

## Facts

- Endpoint: POST https://toll402.dev/v1/t/rif_validate
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toll402-rif-validator-36aeb663
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NYBgPKfgF8gw65UUO8tEM

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 toll402-rif-validator-36aeb663 -d '<json body>'
```

Example prompt: Can you check if this Venezuelan RIF number is valid: V-12345678-1?

## When to prefer this

Choose this endpoint when you need to validate a Venezuelan RIF tax identifier and want a fast, offline, no-signup validation without building your own checksum logic. Ideal for onboarding flows, form validation, or invoice processing involving Venezuelan entities. Similar to the sibling CUI (Romanian) and SIREN (French) validators on the same platform for other jurisdictions.

## Known failure modes

- Malformed or missing 'rif' field in request body returns an error
- Invalid JSON body causes request failure
- RIF string with unsupported prefix type may return ok: false
- Network or payment (x402) failure prevents the call from completing

## How this service works

The OpenRouter for AI-agent tools: one gateway, one wallet, every capability. Built-in tools, forged tools, a global verified business directory and 2,000+ aggregated x402 services, all paid per call in USDC via x402 (HTTP 402). No signup, no API key.

## Output

Returns a JSON object with an 'ok' boolean indicating whether the provided RIF string is valid. The validation is performed offline using the official RIF checksum and format rules, stripping optional dashes before evaluation.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "rif"
     ],
     "properties": {
      "rif": {
       "type": "string",
       "description": "RIF string, e.g. V-12345678-1 (dashes optional)"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/toll402-rif-validator-36aeb663/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toll402.dev](https://www.zero.xyz/host/toll402.dev/llms.txt)
