Italian E-Invoice (FatturaPA / SdI v1.9.1) Pre-Submission Validator
validate_it_fatturapaValidates Italian e-invoice XML files (FatturaPA v1.2.2) against Agenzia delle Entrate SdI v1.9.1 rules to diagnose and prevent SdI rejections (XXE/depth safe): Partita IVA Mod-10 & Codice Fiscale checksums, CodiceDestinatario/PEC routing, TipoDocumento (TD01–TD29) party rules, Natura v1.2.2 vs AliquotaIVA cross-checks (e.g. 00400), DatiCassaPrevidenziale & DatiRiepilogo math reconciliation, and €2.00 Bollo virtuale stamp duty threshold (>€77.47). Deterministic offline pre-check; does not transmit to SdI.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"xml": "<xml>"
},
"name": "validate_it_fatturapa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | Raw Italian FatturaPA XML document (<FatturaElettronica>, max 512 KB, no DOCTYPE/ENTITY). | |
| specVersion | No | Agenzia delle Entrate technical specification version (default: "1.9.1"). | 1.9.1 |