validate_vat_de
Validates German VAT identification numbers (USt-IdNr) by checking format and ISO 7064 checksum. Essential for processing invoices or validating suppliers in intra-EU transactions.
Instructions
Validates a German VAT identification number (Umsatzsteuer-Identifikationsnummer, USt-IdNr) — format 'DE' followed by 9 digits. Verifies the format and applies the official ISO 7064 MOD-11-10 checksum algorithm. Returns { valid: boolean, vat_number: string, country: 'DE' } or { valid: false, reason: string }. Use when processing German invoices, validating German suppliers for intra-EU transactions, or any B2B workflow involving German companies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vat_number | Yes | German VAT number with or without spaces. Example: 'DE123456789' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| vat_number | No | ||
| country | No | ||
| reason | No |