Outgoing invoices: preflight audit pack (sample)

A. Accountant, Sample Bookkeeping Ltd (both invented) · 2026-11-03 · Sample only: not a real firm

Summary

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.

Result by file

FileResultBlockingNotes
valid-invoice.jsonPASS00
draft-invoice.jsonFAIL151
ubl-invoice.xmlPASS00
ubl-invoice-with-defects.xmlFAIL60
xrechnung-cii-invoice.xmlPASS00
fatturapa-invoice-with-defects.xmlFAIL81

Findings by rule

RuleFilesTimesWhat the check foundRecommended fix
INV-00114Required field 'totals' is missing.Add a 'totals' field.
INV-00211Invoice number is empty or not text.Provide a non-empty invoice number.
INV-00512Customer identifier is missing.Add the customer identifier from the source system.
INV-00612Customer name is missing.Add the customer name.
INV-01212Line 2 net is missing or does not match quantity times unit price.Set line net to 150.00 or correct the inputs.
INV-01311Invoice net total is missing or invalid.Provide a non-negative numeric net total.
INV-01511Invoice tax total is missing or invalid.Provide a non-negative numeric tax total.
INV-01611Invoice gross total is missing or invalid.Provide a non-negative numeric gross total.
INV-01711Gross total does not equal net plus tax.Set gross total to 396.60 or correct the totals.
INV-01811Invoice tax total does not match its line tax percentages.Set tax total to 48.50 or correct the line inputs.
INV-02111Due date is earlier than the issue date.Set due date to the issue date or a later date.
INV-02911Amount due does not equal gross minus prepaid.Set amount due to 281.50 or correct prepaid and gross.
INV-03011Payment 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-03711Invoice 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-03811Tax breakdown row 1 tax amount does not equal taxable times the percentage.Set tax to 38.00 or correct taxable and tax_percent.
INV-04511Payment 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-00211CodiceDestinatario 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-00311The 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-00611RegimeFiscale 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-01111A 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-01211PrezzoTotale 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-01411Imposta 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-01511ImponibileImporto 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-01611ImportoTotaleDocumento 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-02111CodiceDestinatario does not match the format the schema requires.Correct CodiceDestinatario; SdI refuses a file whose values break the schema.

Findings by file

draft-invoice.json

ubl-invoice-with-defects.xml

fatturapa-invoice-with-defects.xml

Preparer's notes

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.