Convert FatturaPA electronic invoices to Excel
Every Italian B2B invoice passes through the SDI as FatturaPA XML. To check or analyse them in Excel you need the lines as rows, not tags. Drop the XML and each DettaglioLinee becomes a spreadsheet row.
Files with several FatturaElettronicaBody blocks (lotti di fatture) are read in one pass.
Free preview of the first rows · files are converted in memory and never stored · no account needed
What the converter reads in FatturaPA files
- ✓FatturaPA FPR12 / FPA12: Numero, Data, Divisa and ImportoTotaleDocumento
- ✓CedentePrestatore and CessionarioCommittente: Denominazione (or Nome + Cognome) and partita IVA
- ✓DettaglioLinee: Descrizione, Quantita, UnitaMisura, PrezzoUnitario, PrezzoTotale, AliquotaIVA
- ✓DataScadenzaPagamento as the due date; TD04 / TD08 / TD09 marked as credit notes
- ✓DOCTYPE / ENTITY declarations are refused before parsing, so no XXE or entity-expansion attacks
Excel / CSV columns you get
| Column | Contains |
|---|---|
| source_format | UBL_INVOICE, UBL_CREDIT_NOTE, CII or FATTURAPA |
| document_type | invoice or credit_note |
| invoice_number | Invoice number |
| issue_date | Issue date, ISO format |
| due_date | Payment due date, when the file has one |
| currency | ISO currency code |
| seller_name | Supplier name |
| seller_vat_id | Supplier VAT ID |
| buyer_name | Customer name |
| buyer_vat_id | Customer VAT ID |
| invoice_gross_total | Invoice total incl. VAT |
| line_number | Line number |
| description | Item or service description |
| quantity | Quantity |
| unit_code | Unit of measure (UN/ECE code or as written) |
| unit_price | Net unit price |
| line_amount | Line net total (excl. VAT) |
| tax_rate_percent | VAT rate, % |
FatturaPA questions
- Can I upload a signed .xml.p7m file?
- Not yet. Upload the plain .xml. Signed .p7m envelopes must be unwrapped first.
- Are multi-invoice files (lotti) supported?
- Yes. Each FatturaElettronicaBody is read and its lines carry that invoice's number and date.
- Do you keep my invoices?
- No. Files are converted in memory and discarded straight after. To unlock a paid download we keep only a SHA-256 fingerprint of the file, never its contents.