Overall: FAIL
Scope: Six of this tool's bundled example invoices (made up), checked before sending.
6 invoice file(s) checked: 3 passed, 3 failed; 31 observation(s) in all; 0 file(s) could not be read.
| File | Result | Blocking | Notes |
|---|---|---|---|
valid-invoice.json | PASS | 0 | 0 |
draft-invoice.json | FAIL | 15 | 1 |
ubl-invoice.xml | PASS | 0 | 0 |
ubl-invoice-with-defects.xml | FAIL | 6 | 0 |
xrechnung-cii-invoice.xml | PASS | 0 | 0 |
fatturapa-invoice-with-defects.xml | FAIL | 8 | 1 |
| Rule | Files | Times | What the check found | Recommended fix |
|---|---|---|---|---|
INV-001 | 1 | 4 | Required field 'totals' is missing. | Add a 'totals' field. |
INV-002 | 1 | 1 | Invoice number is empty or not text. | Provide a non-empty invoice number. |
INV-005 | 1 | 2 | Customer identifier is missing. | Add the customer identifier from the source system. |
INV-006 | 1 | 2 | Customer name is missing. | Add the customer name. |
INV-012 | 1 | 2 | Line 2 net is missing or does not match quantity times unit price. | Set line net to 150.00 or correct the inputs. |
INV-013 | 1 | 1 | Invoice net total is missing or invalid. | Provide a non-negative numeric net total. |
INV-015 | 1 | 1 | Invoice tax total is missing or invalid. | Provide a non-negative numeric tax total. |
INV-016 | 1 | 1 | Invoice gross total is missing or invalid. | Provide a non-negative numeric gross total. |
INV-017 | 1 | 1 | Gross total does not equal net plus tax. | Set gross total to 396.60 or correct the totals. |
INV-018 | 1 | 1 | Invoice tax total does not match its line tax percentages. | Set tax total to 48.50 or correct the line inputs. |
INV-021 | 1 | 1 | Due date is earlier than the issue date. | Set due date to the issue date or a later date. |
INV-029 | 1 | 1 | Amount due does not equal gross minus prepaid. | Set amount due to 281.50 or correct prepaid and gross. |
INV-030 | 1 | 1 | Payment remittance reference is missing on an invoice that already names an IBAN. | Add payment.remittance so the buyer can quote it on the transfer, or omit payment.iban. |
INV-037 | 1 | 1 | Invoice mixes tax rates without a per-rate tax breakdown. | Add tax_breakdown with one row per rate (tax_percent, taxable, tax), or use a single tax percentage. |
INV-038 | 1 | 1 | Tax breakdown row 1 tax amount does not equal taxable times the percentage. | Set tax to 38.00 or correct taxable and tax_percent. |
INV-045 | 1 | 1 | Payment means is a credit transfer or SEPA transfer without an IBAN. | Add payment.iban for that means, switch to a cash or card means, or omit payment.means. |
IT-002 | 1 | 1 | CodiceDestinatario must be 7 letters or digits for this format. | Re-key the code from the buyer's invoice request; a public body's code has 6 characters, a business's 7. |
IT-003 | 1 | 1 | The seller's Italian partita IVA does not pass its check digit, so SdI's register check rejects it (error 00301). | Re-key the 11-digit partita IVA from the registration document; one digit is probably wrong. |
IT-006 | 1 | 1 | RegimeFiscale is not a known code (RF01-RF20, no RF03). | Set RegimeFiscale, for example RF01 for the ordinary regime or RF19 for the flat-rate regime. |
IT-011 | 1 | 1 | A line at 0% VAT has no Natura; SdI rejects it (error 00400). | Add the Natura code (N1-N7) that says why no VAT is charged. |
IT-012 | 1 | 1 | PrezzoTotale differs by more than one cent from quantity times unit price after the line's discounts; SdI rejects it (error 00423). | Recompute PrezzoTotale = Quantita x PrezzoUnitario, less any ScontoMaggiorazione on the line. |
IT-014 | 1 | 1 | Imposta differs by more than one cent from ImponibileImporto times AliquotaIVA rounded to the cent; SdI rejects it (error 00421). | Recompute Imposta = ImponibileImporto x AliquotaIVA / 100, rounded half up to two decimals. |
IT-015 | 1 | 1 | ImponibileImporto at AliquotaIVA 22.00 differs by 100.00 from the sum of the lines, pension-fund contributions and Arrotondamento at that rate; past SdI's one-euro tolerance it rejects the file (error 00422). | Set ImponibileImporto to the sum of PrezzoTotale (plus any ImportoContributoCassa and Arrotondamento) at that VAT rate. |
IT-016 | 1 | 1 | ImportoTotaleDocumento is not the sum of every taxable base plus VAT. SdI does not check this total (specification 1.9 gives it no error code), but the buyer's books and payment will. | Set ImportoTotaleDocumento to the total of ImponibileImporto and Imposta across DatiRiepilogo. |
IT-021 | 1 | 1 | CodiceDestinatario does not match the format the schema requires. | Correct CodiceDestinatario; SdI refuses a file whose values break the schema. |
draft-invoice.json/invoice_number: Required field 'invoice_number' is missing./supplier: Required field 'supplier' is missing./customer: Required field 'customer' is missing./totals: Required field 'totals' is missing./invoice_number: Invoice number is empty or not text./supplier/id: Supplier identifier is missing./supplier/name: Supplier name is missing./customer/id: Customer identifier is missing./customer/name: Customer name is missing./payment/remittance: Payment remittance reference is missing on an invoice that already names an IBAN./tax_breakdown: Invoice mixes tax rates without a per-rate tax breakdown./lines/0/net: Line 1 net is missing or does not match quantity times unit price./lines/1/net: Line 2 net is missing or does not match quantity times unit price./totals/net: Invoice net total is missing or invalid./totals/tax: Invoice tax total is missing or invalid./totals/gross: Invoice gross total is missing or invalid.ubl-invoice-with-defects.xml/due_date: Due date is earlier than the issue date./payment/iban: Payment means is a credit transfer or SEPA transfer without an IBAN./tax_breakdown/0/tax: Tax breakdown row 1 tax amount does not equal taxable times the percentage./totals/tax: Invoice tax total does not match its line tax percentages./totals/gross: Gross total does not equal net plus tax./totals/due: Amount due does not equal gross minus prepaid.fatturapa-invoice-with-defects.xml/FatturaElettronicaHeader/DatiTrasmissione/CodiceDestinatario: CodiceDestinatario must be 7 letters or digits for this format./FatturaElettronicaHeader/CedentePrestatore/DatiAnagrafici/IdFiscaleIVA/IdCodice: The seller's Italian partita IVA does not pass its check digit, so SdI's register check rejects it (error 00301)./FatturaElettronicaHeader/CedentePrestatore/DatiAnagrafici/RegimeFiscale: RegimeFiscale is not a known code (RF01-RF20, no RF03)./FatturaElettronicaBody[1]/DatiBeniServizi/DettaglioLinee[1]/PrezzoTotale: PrezzoTotale differs by more than one cent from quantity times unit price after the line's discounts; SdI rejects it (error 00423)./FatturaElettronicaBody[1]/DatiBeniServizi/DettaglioLinee[2]/Natura: A line at 0% VAT has no Natura; SdI rejects it (error 00400)./FatturaElettronicaBody[1]/DatiBeniServizi/DatiRiepilogo[1]/Imposta: Imposta differs by more than one cent from ImponibileImporto times AliquotaIVA rounded to the cent; SdI rejects it (error 00421)./FatturaElettronicaBody[1]/DatiBeniServizi/DatiRiepilogo[1]/ImponibileImporto: ImponibileImporto at AliquotaIVA 22.00 differs by 100.00 from the sum of the lines, pension-fund contributions and Arrotondamento at that rate; past SdI's one-euro tolerance it rejects the file (error 00422)./FatturaElettronicaBody[1]/DatiGenerali/DatiGeneraliDocumento/ImportoTotaleDocumento: ImportoTotaleDocumento is not the sum of every taxable base plus VAT. SdI does not check this total (specification 1.9 gives it no error code), but the buyer's books and payment will./FatturaElettronica/FatturaElettronicaHeader/DatiTrasmissione/CodiceDestinatario: CodiceDestinatario does not match the format the schema requires.What this shows and does not show. A preflight runs this tool's published checks on the files supplied (EN 16931 arithmetic and mandatory-field rules, the profile and country rules named in the findings) before they are sent. A PASS means no supported check found a defect. It is not a declaration that an invoice is legally valid, accepted by a tax authority or access point, or compliant in any country; those rest on the authority's own validation at submission. Findings marked note are style observations the standard does not require. Observations from the supplied files only, not tax, legal or financial advice; no warranty; review each change before submitting an invoice.