FatturaPA to Excel - Italian e-invoice XML, P7M and ZIP avatar

FatturaPA to Excel - Italian e-invoice XML, P7M and ZIP

Pricing

$5.00 / 1,000 invoice parseds

Go to Apify Store
FatturaPA to Excel - Italian e-invoice XML, P7M and ZIP

FatturaPA to Excel - Italian e-invoice XML, P7M and ZIP

Turn Italian electronic invoices (FatturaPA / SDI XML, signed .p7m and ZIP archives) into clean Excel, CSV and JSON: supplier, customer, totals, VAT summary, due dates, IBAN and every line.

Pricing

$5.00 / 1,000 invoice parseds

Rating

0.0

(0)

Developer

Flavio D'Orio

Flavio D'Orio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

FatturaPA to Excel, CSV & JSON (Italian e-invoice parser)

Turn Italian electronic invoices into a clean spreadsheet in seconds. Drop in one FatturaPA XML, a signed .xml.p7m file or a whole ZIP archive (for example the export of your Cassetto fiscale or of your management software) and get back:

  • one row per invoice: supplier and customer (name, VAT number, tax code, city), number, date, document type, taxable amount, VAT, total, stamp duty, withholding tax, pension fund, payment method, due dates and IBAN;
  • one row per line if you need item analysis: code, description, quantity, unit price, discounts, VAT rate;
  • a ready INVOICES.xlsx with two sheets (Fatture and Righe) that opens correctly in Italian Excel, plus INVOICES.csv and LINES.csv.

Signed .p7m files (binary or base64), several invoices in one file (lotto), credit notes, FPR12 (B2B/B2C), FPA12 (public administration) and the simplified invoice FSM10 are all supported. SDI receipts and metadata files inside a ZIP are recognised and skipped for free.

Who is it for

  • Accountants and bookkeepers who receive hundreds of XML files and need them in Excel.
  • Small businesses that want to analyse purchases by supplier, due dates and VAT without retyping.
  • Developers and automation builders (Make, Zapier, n8n, your own code) who need FatturaPA as JSON.
  • Controllers preparing cash-flow forecasts from due dates and amounts.

How to use it

  1. Upload a file in Upload a file, or add links in Links to invoice files, or paste one XML. The input is prefilled with a demo invoice: press Start to see the result.
  2. Choose Dataset rows: one row per invoice (default), one row per line, or the full JSON.
  3. Open the Storage tab and download INVOICES.xlsx, or export the dataset in any format.

Example output (one row per invoice)

{
"status": "ok",
"fileName": "IT01234567890_FPR01.xml",
"documentType": "TD01",
"documentTypeDescription": "Fattura",
"number": "2026/145",
"date": "2026-10-31",
"supplierName": "Esempio Impianti S.r.l.",
"supplierVatNumber": "IT01234567890",
"customerName": "Cliente Prova S.p.A.",
"customerVatNumber": "IT09876543210",
"taxableAmount": 1102.0,
"vatAmount": 218.0,
"totalAmount": 1320.0,
"stampDuty": 2.0,
"paymentMethodDescription": "Bonifico",
"firstDueDate": "2026-11-30",
"lastDueDate": "2026-12-31",
"iban": "IT60X0542811101000000123456",
"vatSummary": [{"vatRate": 22.0, "taxableAmount": 900.0, "vatAmount": 198.0, "vatDueDescription": "Immediata"}],
"linesCount": 3,
"warnings": []
}

Credit notes (TD04, TD08) have isCreditNote: true and a negative signedTotalAmount, so totals add up. warnings tells you when the declared total does not match taxable amount plus VAT.

Input

FieldWhat it does
Upload a fileOne XML, P7M or ZIP file (ZIP can contain thousands of invoices, also nested ZIPs)
Links to invoice filesDirect https links to XML, P7M or ZIP files
Paste one invoice XMLFor a quick test
Dataset rowsinvoices, lines or full
Excel and CSV columnsItalian (semicolon, decimal comma) or English
Skip duplicatesThe same invoice found as XML and P7M is returned and charged once
Extract attached PDFsSaves the PDF copies attached inside the invoices, with a link
Maximum invoicesStop after N invoices

Pricing

Pay per result: you pay only for invoices read successfully (event invoice-parsed). Receipts, metadata files, duplicates and broken files are free. Set Maximum cost per run in the run options to cap your spend.

Privacy

Files are processed only inside your run and are not sent anywhere else. Results stay in your Apify storage, under your control. Nothing is used for training.

API and integrations

Run it from Make, Zapier, n8n or code with the Apify API, for example with Python:

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("<username>/fatturapa-to-excel").call(run_input={
"invoiceUrls": ["https://example.com/invoices.zip"], "outputMode": "invoices"})
for invoice in client.dataset(run["defaultDatasetId"]).iterate_items():
print(invoice["number"], invoice["supplierName"], invoice["totalAmount"])

FAQ

Does it validate invoices against the SDI rules? No: it reads and converts them. It reports totals that do not add up, but it is not an SDI validator.

Does it check the digital signature of .p7m files? It extracts the signed XML; it does not verify the certificate chain.

Which versions are supported? FatturaPA 1.2.x (FPR12, FPA12) and FSM10.


In italiano

Da fattura elettronica a Excel in un clic. Carica un file XML, un file firmato .p7m o uno ZIP con tutte le fatture (per esempio scaricato dal Cassetto fiscale) e ottieni un Excel pronto con due fogli: Fatture (fornitore, cliente, partita IVA, numero, data, imponibile, IVA, totale, bollo, ritenuta, scadenze, IBAN) e Righe (codice, descrizione, quantità, prezzo, sconti, aliquota). Le colonne sono in italiano e i numeri con la virgola, così il file si apre giusto in Excel.

Ricevute SDI e file di metadati nello ZIP vengono riconosciuti e non si pagano. Le note di credito hanno il totale con il segno meno. Paghi solo le fatture lette davvero.

Cosa fa

  • Legge le fatture elettroniche XML (FPR12, FPA12 e la semplificata FSM10), anche firmate .p7m (binarie o in base64) e gli ZIP del Cassetto fiscale o del gestionale, anche uno ZIP dentro l'altro.
  • Dà un Excel con i fogli Fatture e Righe, più CSV e JSON: fornitore e cliente con partita IVA e codice fiscale, numero, data, tipo di documento, imponibile, IVA per aliquota, totale, bollo, ritenuta, cassa previdenziale, modalità e scadenze di pagamento, IBAN, ordini e DDT collegati.
  • La stessa fattura trovata due volte (per esempio in XML e in .p7m) si paga una volta sola, e ti avvisa quando il totale dichiarato non torna con imponibile e IVA.
  • Se vuoi, salva anche i PDF allegati dentro le fatture.

Come si usa

  1. Carica il file (XML, .p7m o ZIP) in Upload a file, oppure metti i link, oppure incolla l'XML di una fattura.
  2. Lascia Excel and CSV columns su Italiano e premi Start.
  3. Nella scheda Storage scarica INVOICES.xlsx.

Funziona anche da solo con Make, Zapier o n8n, per esempio ogni mese con le fatture appena scaricate.

Quanto costa

Paghi solo le fatture lette: 5 $ ogni 1.000 fatture (0,005 $ a fattura). Ricevute, metadati, doppioni e file rotti sono gratis.

Domande frequenti

Come apro un file .p7m? Caricalo così com'è: lo strumento tira fuori la fattura dalla busta firmata e te la dà in Excel. Non verifica il certificato della firma.

Controlla la fattura come lo SDI? No: la legge e la converte, e segnala i totali che non tornano.

I miei file restano privati? Sì: restano nella tua esecuzione su Apify e non vanno da nessun'altra parte.