# FatturaPA viewer

> FatturaPA files from Italian suppliers, including signed .p7m and files with several invoices, shown with English, German, French or Dutch labels and every sum recomputed. Your file stays on your device.

Human page: https://unmakelabs.com/en-us/fatturapa-viewer/. This is the version for AI agents.

## What it does

FatturaPA viewer: open an Italian e-invoice. Read it in English FatturaPA files from Italian suppliers, including signed .p7m and files with several invoices, shown with English, German, French or Dutch labels and every sum recomputed. Your file stays on your device.

## What FatturaPA is

FatturaPA is Italy's e-invoice format, mandatory for B2B and B2C invoices since 2019 and exchanged through the tax agency's SdI. It is an XML file (often signed, as .xml.p7m) with Italian field names: Cedente/Prestatore is the seller, Cessionario/Committente the buyer, DatiRiepilogo the VAT summary. Foreign customers of Italian firms receive it as a courtesy copy or from their Italian partner.

## Who it's for

Foreign buyers of Italian goods and services, bookkeepers handling Italian supplier invoices, and anyone who needs to read a FatturaPA without Italian software.

## Facts

- **Opens:** XRechnung, ZUGFeRD, Factur-X (XML or PDF), Peppol / UBL, CII, FatturaPA (.xml, .p7m)
- **Shows:** Parties, lines, VAT breakdown, totals, IBAN and payment terms, notes, attachments
- **Checks:** Every sum recomputed (EN 16931 rules), common required details, IBAN check digits
- **Saves:** PDF, lines as CSV, JSON, the XML itself

## How a person does it

1. **Open the invoice.** Drop the .xml or .pdf on the viewer or tap Choose a file. It opens in a second, even with thousands of lines.
2. **Read it and look at the checks.** The invoice shows as a normal invoice. The bar at the top says whether every sum adds up; ticks mark the totals the page recomputed.
3. **Save what you need.** Save it as a PDF to file or forward, take the lines as CSV for a spreadsheet, or download the XML.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/fatturapa-viewer/?src=https://unmakelabs.com/apps/einvoice/samples/peppol-be.xml`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: none: the invoice never goes in a link. `?src=<public invoice URL>` opens a file the visitor's browser can fetch (CORS).

Embed: `<iframe src="https://unmakelabs.com/embed/einvoice/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Send your own file (live)

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/einvoice_view/jobs?wait=25` with the file as multipart `file` (or JSON `file_base64` + `filename`, or `file_url`), API tool `einvoice_view`: Read an e-invoice (XRechnung, ZUGFeRD, Factur-X, Peppol, FatturaPA). The same engine code as this page. No sign-up; Free: 5 full results per IP per day without a key (resets at 00:00 UTC); POST /v1/keys gives an instant key with 25 more full results (one-time, not renewed); each accepted correction adds 1 free call (up to 20 a month).

```bash
# e-invoice: fields, lines and every total recomputed
curl -s -F "file=@invoice.xml" "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/einvoice_view/jobs?wait=25"
```

## Good to know

Italian codes are explained: document type (TD01 invoice, TD04 credit note…), VAT nature (N1–N7), payment method (MP05 bank transfer…). Stamp duty (bollo) and withholding tax (ritenuta) are shown in the totals.

## Not done by this tool

- Doesn't create or convert invoices (yet)
- Doesn't run the full official rule sets: sums and the most common required details only
- Doesn't open Polish KSeF or Spanish Facturae files yet
- Doesn't send invoices through Peppol or a platform

## Value

Opens electronic invoices in any browser, phones included, and shows them as a readable invoice: XRechnung (UBL and CII), ZUGFeRD 1.0 and 2.x and Factur-X (the XML alone, or the PDF with factur-x.xml / zugferd-invoice.xml / xrechnung.xml inside, all profiles from MINIMUM to EXTENDED), Peppol BIS Billing 3.0 and any EN 16931 UBL 2.1 invoice or credit note (also inside a Peppol SBDH envelope), and Italian FatturaPA (also signed .p7m, several invoices per file). Shows seller and buyer with VAT IDs and electronic addresses, references (buyer reference / Leitweg-ID, order, contract), lines with item numbers, allowances and charges, the VAT breakdown, totals, payment details (IBAN with check digits verified, BIC, payment reference, terms, XRechnung Skonto in words), notes and attached documents. Labels switch between English, German, French and Dutch independently of the page. Recomputes the sums by program (EN 16931 BR-CO-10 to BR-CO-17, VAT per category and rate, each line's quantity × price) and checks the most common required details, labelled as quick checks, not a full validation. Exports a PDF through the print dialog, the lines as CSV, the invoice as JSON and the XML itself (useful to get the XML out of a ZUGFeRD PDF). Nothing is uploaded. Free, no sign-up.

## When it fits

- A business received an XRechnung or ZUGFeRD / Factur-X file by email and sees only code, or wants a readable copy to file or forward.
- A Belgian or other Peppol user wants to read a UBL file outside their accounting software, on a phone or a computer without it.
- A bookkeeper wants to see quickly whether an e-invoice's sums and VAT add up and get its lines into a spreadsheet (CSV).
- Someone needs the XML out of a ZUGFeRD / Factur-X PDF, or wants to read an Italian FatturaPA (.xml or .p7m) from a supplier.

### When not

- Creating or converting invoices (the converter side is planned separately).
- A full validation against every official rule (EN 16931 Schematron, XRechnung BR-DE, Peppol, French or Italian national rules): only the sums and the most common required details are checked here.
- Polish KSeF and Spanish Facturae files (a plain message says so), sending invoices through Peppol or a French approved platform.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a public e-invoice by link (?src=) in any browser, phones included, and can be embedded (/embed/einvoice/).
- Agents can send their own file: POST /v1/einvoice_view/jobs (live, no sign-up, free calls) returns the invoice, its quick checks and every recomputed total as JSON, from the same code as the page. A full validation with the official rule sets is planned.
- Free viewers exist for single formats or countries (German XRechnung viewers, Italian FatturaPA viewers, a paid Belgian UBL app); several upload the file to a server, and most stop at display or show a long list of rule IDs.
- This viewer opens all the main EU formats in one place without upload or account, on a phone, in four label languages, recomputes every sum and shows where a figure is off, and gives the lines as CSV and the XML out of a PDF.

### What rebuilding it would take

- Write readers for UBL 2.1, UN/CEFACT CII D16B, ZUGFeRD 1.0 and FatturaPA with the EN 16931 field map, plus a PDF/A-3 attachment reader (FlateDecode streams, object streams) and a CAdES .p7m reader.
- Implement the EN 16931 calculation rules with the right tolerances, per-category VAT bases, profile quirks (MINIMUM, EXTENDED information lines, XRechnung third-party payments) and IBAN check digits.
- Lay out a readable, printable invoice with code lists (document types, VAT categories, payment means, units) in several languages, and test on the official sample sets.
- The official test suites to check against, code lists to keep current, and upkeep as XRechnung, Factur-X and Peppol versions change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Invoices are read on the user's device and never uploaded; files given by link are fetched by the user's browser from where they are stored.

_Status: viewer, quick checks, PDF (print), CSV, JSON and XML export work in the browser for XRechnung, ZUGFeRD / Factur-X, Peppol / UBL, CII and FatturaPA; the API (einvoice_view, agent upload) is live._

## Privacy

- Invoices are read on the user's device and not uploaded; there is no share link for invoices.
- For PDFs the page loads fflate and pdf.js from unmakelabs.com itself; no third-party code host is contacted.

## Data

Opens in your browser; your invoice stays on your device. Nothing is uploaded, and nothing about it goes into links.

## FAQ

- **How do I open a .p7m invoice?** Drop the .p7m here. The viewer takes the signed XML out of the envelope and shows the invoice; it doesn't verify the signature.
- **What do TD01, N2.2 or MP05 mean?** Codes of the FatturaPA: TD01 is an invoice, N-codes are VAT natures (exempt, not subject…), MP05 is a bank transfer. The viewer shows them in words.
- **Can a file hold several invoices?** Yes, a batch can. A picker appears in the toolbar to switch between them.
- **When is it the right tool, and when not?** Right for: A business received an XRechnung or ZUGFeRD / Factur-X file by email and sees only code, or wants a readable copy to file or forward. A Belgian or other Peppol user wants to read a UBL file outside their accounting software, on a phone or a computer without it. A bookkeeper wants to see quickly whether an e-invoice's sums and VAT add up and get its lines into a spreadsheet (CSV). Someone needs the XML out of a ZUGFeRD / Factur-X PDF, or wants to read an Italian FatturaPA (.xml or .p7m) from a supplier. Not for: Creating or converting invoices (the converter side is planned separately). A full validation against every official rule (EN 16931 Schematron, XRechnung BR-DE, Peppol, French or Italian national rules): only the sums and the most common required details are checked here. Polish KSeF and Spanish Facturae files (a plain message says so), sending invoices through Peppol or a French approved platform.
- **Is it really free?** Yes: no ads, no sign-up, no limits, no paid tier for viewing.
- **Do you upload my invoice?** No. The file is read inside this page on your device. There is no upload and no share link for invoices.
- **Is this a full validation?** No. The page recomputes the sums (the EN 16931 calculation rules, VAT per rate, each line) and checks the most common required details. The official rule sets have hundreds of rules; today everything runs in your browser, and a full check (later, on our servers) is planned.
- **Can an AI agent use it?** Yes. An agent can send its own XML or PDF invoice to the API (einvoice_view, no sign-up, free calls; the call is under For AI agents) and gets the invoice and every recomputed total back as data, from the same code as this page. It can also open a public invoice in this viewer with a link (add ?src= and the file's address).
- **Who makes this?** Unmake Labs (Julien Salomon). Contact: hello@unmakelabs.com.

## Related pages

- [E-invoice viewer](https://unmakelabs.com/en-us/einvoice-viewer/)
- [XRechnung viewer](https://unmakelabs.com/en-us/xrechnung-viewer/)
- [Factur-X viewer](https://unmakelabs.com/en-us/factur-x-viewer/)
- [Peppol invoice viewer](https://unmakelabs.com/en-us/peppol-invoice-viewer/)
- [XML invoice to PDF](https://unmakelabs.com/en-us/xml-invoice-to-pdf/)
