validate_partita_iva
Validates Italian Partita IVA numbers using the official checksum algorithm. Use for B2B invoices, supplier validation, and compliance.
Instructions
Validates an Italian Partita IVA (VAT number for companies and self-employed) — an 11-digit number issued by the Italian Revenue Agency. Applies the official Luhn-variant checksum algorithm used by Italian tax authorities. Returns { valid: boolean, partita_iva: string } or { valid: false, reason: string }. Use when processing Italian B2B invoices, validating Italian suppliers, or any Italian business compliance workflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| partita_iva | Yes | 11-digit Italian Partita IVA, with or without spaces. Example: '12345670017' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| partita_iva | No | ||
| reason | No |