# Visualizador de XRechnung

> Veja a fatura em inglês simples, com todas as somas conferidas. Salve em PDF ou CSV.

Human page: https://unmakelabs.com/pt-br/abrir-xrechnung-online/. This is the version for AI agents.

## What it does

Abrir XRechnung online: leia a nota fiscal alemã em inglês Veja a fatura em inglês simples, com todas as somas conferidas. Salve em PDF ou CSV.

## O que é uma XRechnung

XRechnung é o padrão alemão de nota fiscal eletrônica, publicado pela KoSIT: um arquivo XML EN 16931 com regras alemãs adicionais, como a Leitweg-ID, a referência do comprador que os órgãos públicos alemães usam para encaminhar faturas. Ela existe em duas sintaxes, UBL e CII, e não traz nenhuma imagem da fatura, então, ao abrir o arquivo, você vê só código. Desde janeiro de 2025, toda empresa alemã precisa ser capaz de recebê-la.

## Para quem é

Fornecedores e clientes estrangeiros de empresas ou órgãos públicos alemães, tradutores e contadores que lidam com arquivos alemães e qualquer pessoa que precise ler uma XRechnung sem software alemão.

## 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 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. Ela 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 indica se todas as somas batem; marcas de visto indicam 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/abrir-xrechnung-online/?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 rótulos mudam para inglês, alemão, francês ou holandês com um toque, enquanto o texto da própria fatura (nomes de itens, observações) continua como foi escrito. A XRechnung registra descontos por pagamento antecipado em código (#SKONTO#…); o visualizador mostra esses descontos por extenso.

## Not done by this tool

- Não cria nem converte faturas (por enquanto)
- Não executa os conjuntos completos de regras oficiais: só as somas e os dados obrigatórios mais comuns
- Ainda não abre arquivos KSeF poloneses nem Facturae espanhóis
- Não envia faturas pela Peppol nem por outra 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

- **Dá para ler uma XRechnung sem software alemão?** Sim. Arraste o arquivo aqui; o visualizador mostra a fatura com rótulos em inglês em qualquer navegador, inclusive no celular.
- **UBL ou CII: faz diferença?** Não. As duas são sintaxes válidas da XRechnung e o visualizador lê ambas, inclusive versões mais antigas.
- **Ele valida a XRechnung?** Ele recalcula todas as somas e confere os dados obrigatórios mais comuns (incluindo a Leitweg-ID e o contato do vendedor). O conjunto completo de regras da KoSIT não é executado aqui.
- **É grátis mesmo?** Sim: sem anúncios, sem cadastro, sem limites e sem plano pago para visualizar.
- **Vocês enviam a minha fatura para algum lugar?** Não. O arquivo é lido dentro desta página, no seu dispositivo. Não há envio 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á prevista.
- **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 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 link (adicione ?src= e o endereço do arquivo).
- **Quem faz isto?** Unmake Labs (Julien Salomon). Contato: hello@unmakelabs.com.

## Related pages

- [Visualizador de Factur-X](https://unmakelabs.com/pt-br/visualizar-factur-x/)
- [Visualizador de fatura Peppol](https://unmakelabs.com/pt-br/visualizar-fatura-peppol/)
