# Toll402 Italian Partita IVA Validator

> Toll402 Italian Partita IVA 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-14).

Validates an Italian Partita IVA (VAT number) offline by checking the 11-digit format and recomputing the Luhn-like check digit.

## Facts

- Endpoint: POST https://toll402.dev/v1/t/partita_iva_validate
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toll402-italian-partita-iva-validator-df5f42bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BjrWP-De2OsAaA4Gkybll

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-italian-partita-iva-validator-df5f42bf -d '<json body>'
```

Example prompt: Can you check if the Partita IVA 12345678903 is valid — I need to confirm the check digit is correct before I submit this invoice.

## When to prefer this

Use this endpoint when you need fast, offline validation of Italian Partita IVA numbers without calling external government APIs. It's ideal for form validation, data cleaning, or pre-submission checks where low latency and no external dependencies matter. Prefer it over live VIES or Italian tax authority lookups when you only need format and check-digit correctness rather than active registration status.

## Known failure modes

- Non-numeric characters that cannot be stripped cause a format error
- Input shorter or longer than 11 digits after normalization returns invalid
- Check digit mismatch returns validation failure even if format is correct
- Empty or missing partitaIva field returns a 400-level error

## How this service works

Offline validator for an Italian Partita IVA (VAT number): verifies the value is 11 numeric digits and recomputes the Luhn-like check digit (digits in odd positions summed as-is, digits in even positions doubled with 9 subtracted if the result exceeds 9, total summed and complemented mod 10) to confirm it matches the 11th digit.

## Output

Returns whether the provided Partita IVA passes both structural validation (exactly 11 numeric digits) and check-digit verification using the Luhn-like algorithm specific to Italian VAT numbers, indicating if the number is valid or invalid.

## 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": [
      "partitaIva"
     ],
     "properties": {
      "partitaIva": {
       "type": "string",
       "description": "Partita IVA, digits optionally with spaces/dashes"
      }
     },
     "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/toll402-italian-partita-iva-validator-df5f42bf/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)
