# Visualizador Factur-X

> Um PDF Factur-X parece uma fatura qualquer; a fatura eletrônica de verdade é o arquivo XML que vem dentro dele. O visualizador extrai o XML, mostra os dados com rótulos em português, recalcula todas as somas e permite salvar o XML.

Human page: https://unmakelabs.com/pt-br/visualizar-factur-x/. This is the version for AI agents.

## What it does

Visualizar Factur-X: abra o PDF e veja os dados de dentro. Um PDF Factur-X parece uma fatura qualquer; a fatura eletrônica de verdade é o arquivo XML que vem dentro dele. O visualizador extrai o XML, mostra os dados com rótulos em português, recalcula todas as somas e permite salvar o XML.

## O que é Factur-X

Factur-X é a fatura eletrônica híbrida da França e da Alemanha: um PDF/A-3 com um factur-x.xml (UN/CEFACT CII) anexado. A partir da versão 2.1, é idêntico ao ZUGFeRD alemão. Desde 1º de setembro de 2026, toda empresa francesa precisa conseguir receber faturas eletrônicas por meio de uma plataforma homologada, e o Factur-X é um dos três formatos básicos.

## Para quem é

Para quem recebe faturas em PDF da França ou da Alemanha e quer saber se o PDF é uma fatura eletrônica de verdade, ler os dados em português, conferir as somas ou extrair o XML ou os itens.

## Facts

- **Abre:** XRechnung, ZUGFeRD, Factur-X (XML ou PDF), Peppol / UBL, CII, FatturaPA (.xml, .p7m)
- **Mostra:** Partes, itens, detalhamento do IVA, totais, IBAN e condições de pagamento, observações, anexos
- **Confere:** Todas as somas recalculadas (regras da EN 16931), dados obrigatórios mais comuns, dígitos verificadores do IBAN
- **Salva:** PDF, itens em CSV, JSON, o próprio XML

## How a person does it

1. **Abra a fatura.** Arraste o .xml ou .pdf para o visualizador ou toque em Escolher arquivo. Abre em um segundo, mesmo com milhares de itens.
2. **Leia e veja as verificações.** A fatura aparece como uma fatura comum. A barra no topo informa se todas as somas batem; os sinais de visto marcam os totais que a página recalculou.
3. **Salve o que precisar.** Salve em PDF para arquivar ou encaminhar, exporte os itens em CSV para uma planilha ou baixe o 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/pt-br/visualizar-factur-x/?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

Os perfis MINIMUM e BASIC WL trazem só os totais, sem itens. O perfil e o nome do XML incorporado aparecem em Detalhes do arquivo. As regras nacionais francesas (BR-FR) não são verificadas aqui.

## Not done by this tool

- Não cria nem converte faturas (ainda)
- Não aplica os conjuntos completos de regras oficiais: só as somas e os dados obrigatórios mais comuns
- Ainda não abre arquivos KSeF (Polônia) nem Facturae (Espanha)
- Não envia faturas pela Peppol nem por uma plataforma

## 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

Abre no seu navegador; a fatura fica no seu dispositivo. Nada é enviado, e nenhuma informação dela vai para links.

## FAQ

- **Como abrir um arquivo Factur-X?** Arraste o PDF para cá: o visualizador encontra o XML dentro dele e mostra a fatura, sem precisar de programa nem de conta.
- **Factur-X é o mesmo que ZUGFeRD?** Desde o ZUGFeRD 2.1, sim: o mesmo PDF/A-3 com o mesmo XML CII. O visualizador lê os dois, e também o ZUGFeRD 1.0.
- **Como extrair o XML do PDF?** Abra o PDF e toque em Arquivo XML: o XML incorporado é salvo sem alterações.
- **A página do PDF e o XML dizem a mesma coisa?** O visualizador mostra a primeira página do PDF ao lado dos dados e compara o total e o IBAN do XML com o que está impresso na página. Qualquer diferença é sinalizada com clareza; na Alemanha e na França, a fatura válida é o XML.
- **É mesmo grátis?** Sim: sem anúncios, sem cadastro, sem limites, sem plano pago para visualizar.
- **Vocês enviam a minha fatura para algum servidor?** Não. O arquivo é lido dentro desta página, no seu dispositivo. Não há upload nem link de compartilhamento para faturas.
- **Isto é uma validação completa?** Não. A página recalcula as somas (as regras de cálculo da EN 16931, o IVA por alíquota, cada linha) e confere os dados obrigatórios mais comuns. Os conjuntos de regras oficiais têm centenas de regras; hoje tudo roda no seu navegador, e uma verificação completa (mais tarde, nos nossos servidores) está planejada.
- **Um agente de IA pode usar?** Sim. Um agente pode enviar a própria fatura em XML ou PDF para a API (einvoice_view, sem cadastro, chamadas grátis; a chamada está em Para agentes de IA) e recebe de volta a fatura e cada total recalculado como dados, com o mesmo código desta página. Ele também pode abrir uma fatura pública neste visualizador por um link (adicione ?src= e o endereço do arquivo).
- **Quem faz isto?** Unmake Labs (Julien Salomon). Contato: hello@unmakelabs.com.

## Related pages

- [Visualizador de XRechnung](https://unmakelabs.com/pt-br/visualizar-xrechnung-online/)
- [Visualizador de fatura Peppol](https://unmakelabs.com/pt-br/visualizar-fatura-peppol/)
