# Rechnung in XRechnung umwandeln (Deutschland)

> Macht aus einer PDF- oder Foto-Rechnung eine E-Rechnung, die Portale und Kunden annehmen.

Human page: https://unmakelabs.com/de-de/rechnung-in-xrechnung-umwandeln/. This is the version for AI agents: the same facts, plus how to call the tool.

## What it does

Sie laden die Rechnung hoch, die Sie schon haben. Wir lesen sie, schreiben die E-Rechnungs-Formate, rechnen jeden Betrag nach und prüfen jede Datei. Fehlt etwas Vorgeschriebenes auf der Rechnung, fragen wir statt zu raten.

### Why it matters

Öffentliche Auftraggeber nehmen nur XRechnung, und seit 2025 müssen alle Unternehmen E-Rechnungen empfangen können. Ein PDF abzutippen ist langsam, und der erste Versuch wird oft abgelehnt.

## Value

Turns an invoice that exists only as a PDF, scan or photo into a valid e-invoice: XRechnung 3.0 (UBL and CII) for German public buyers, Peppol BIS Billing 3.0 for Belgium and the Peppol network, and Factur-X / ZUGFeRD (the original PDF with the XML inside) for France and German B2B. Two AI models read the invoice; a program writes the XML, recomputes every sum, checks it against the official schemas and re-reads it with an independent e-invoice reader. Anything not printed on the invoice (a Leitweg-ID, a Peppol ID, a seller phone number) is asked, never invented.

## When it fits

- A small business, freelancer or association must send an e-invoice (German public buyer via ZRE / OZG-RE, Belgian Peppol B2B since January 2026, a French customer during the reform) but its invoices come out of Word, Excel or an old program as PDF.
- A bookkeeper has a PDF or photo of an invoice and needs the e-invoice version for a client or an accounting import.

### When not

- Sending the e-invoice (no Peppol access point, no Chorus Pro or ZRE upload): you download the file and send it yourself.
- Invoices that are already XML (open them with the free e-invoice viewer), FatturaPA, KSeF, Facturae.
- Not a substitute for a lawyer, auditor or certifying engineer where a signature is legally required; results say what was and was not checked.

## Why use it instead of the alternatives

- Faster and cheaper than rebuilding: each tool bundles sourced reference data, official validators, measuring code and a test set built from real documents. Recreating one is weeks of work plus upkeep when rules change.
- Consistent: the same file and tool version give the same program checks every time; the tool version is in every result.
- Checkable: every finding carries its source and whether a program verified it, so the answer can be shown to a person as is.
- Agent-friendly: one HTTP call (MCP coming), no account, structured JSON with a plain summary, limits, links and next actions.
- Online e-invoice forms (free XRechnung or Factur-X generators) make you type the whole invoice; nothing is read from your PDF.
- Invoicing and accounting software creates e-invoices for invoices written in that software, not for the PDF you already have.
- A general AI chat can write invoice XML, but it computes sums from memory, invents missing fields and does not check the official schemas.

### What rebuilding it would take

- Type every field of the invoice into an online XRechnung form (address, VAT ID, each line, VAT rate, IBAN) and hope the sums match the PDF.
- Or buy invoicing software and re-create the invoice there.
- Then run a validator, read error codes like BR-DE-15 or PEPPOL-EN16931-R010, and fix the form.
- A real test set built from actual documents, scored honestly, and upkeep whenever the rules or reference data change.

## Quality

Free beta, tested on real documents before launch. Check the result before you rely on it.

## Risk for the user

- Free during the launch, no sign-up.
- Nothing is sent to your customer: you download, look, and send it yourself.

_Stand: Die kostenlosen Browser-Werkzeuge und die Schnittstellen für inspect, Teilen, Benachrichtigung, Kontakt und Feedback laufen. Die als kostenlose Beta markierten Dokumentprüfungen nehmen Dateien auf ihrer Seite und über die Job-API an; die übrigen starten bald, und ihre Seiten bieten eine E-Mail, sobald sie öffnen. Der MCP-Endpunkt kommt noch._

## Privacy

- Converted on our servers in Frankfurt (EU); kept up to 12 months only to improve the tool; never sold; one click deletes it.
- The invoice text and page images are read by AI models (Anthropic, and OpenAI through OpenRouter); the XML is written and checked by our own program.

## Inputs and outputs

Inputs:

- Die Rechnung (PDF, Scan oder Foto)

Outputs:

- Wie viele Formate fertig sind und was noch fehlt
- Die E-Rechnungs-Dateien (XRechnung UBL und CII, Peppol, ZUGFeRD-PDF), die Fragen und ein Bericht

## How a person uses it

1. **Rechnung hochladen.** PDF, Scan oder Foto.
2. **Zwei KIs lesen.** Jedes Feld, zwischen zwei Anbietern verglichen.
3. **Ein Programm schreibt und prüft.** XML aus fester Struktur, Summen nachgerechnet, offizielle Schemas, unabhängig wieder eingelesen.
4. **Herunterladen.** XRechnung, ZUGFeRD, Peppol, oder die offenen Fragen.

## Call it (free beta)

Status: free beta, callable now (API tool `doc_invoice_to_einvoice`). Free beta, tested on real documents before launch. Check the result before you rely on it. The web page still offers a notify form until its upload form opens. GET https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/tools lists every tool with its status.

```bash
# Free beta: callable now
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/doc_invoice_to_einvoice/jobs?wait=25" \
  -F "file=@document.pdf"
```

- JSON input instead of multipart: `{"file_url": "https://..."}` or `{"file_base64": "...", "filename": "x.pdf"}`.
- `?wait=25` returns the result if ready; otherwise `GET https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/jobs/{job_id}` returns the status.
- MCP: https://unmakelabs.com/mcp.

## What comes back

`result.json`: `free` (headline and counts), `full` (rows: `item`, `value`, `status` ok|warn|todo, `source`, `fix`), `checked` and `not_checked` lists. Status `verified` means a program confirmed it; `read` means a model read it.

### Checked

- Jede Summe aus den Positionen nachgerechnet und mit den gedruckten Summen verglichen
- Jede Datei gegen die offiziellen XML-Schemas
- Jede Datei von einem unabhängigen E-Rechnungs-Leser wieder eingelesen
- Pflichtangaben je Format (Leitweg-ID, Kontakt des Verkäufers, Zahlungsart, elektronische Adressen)
- Steuerkategorie aus Steuersatz und Hinweis (§ 13b, innergemeinschaftlich, § 19 UStG)
- IBAN- und USt-IdNr.-Prüfziffern

### Not checked

- Das Versenden an Kunden oder Portale (ZRE, OZG-RE, Peppol)
- Ob der Kunde unter der abgeleiteten Peppol-ID registriert ist
- Alle Pflichtangaben nach § 14 UStG über EN 16931 hinaus

## Price and free calls

- Price: Zum Start kostenlos. In wenigen Minuten, ohne Konto.
- 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).
- Over quota: HTTP 402 with a checkout link and how to get a free key. Rate limited: HTTP 429 with `Retry-After`.

## Feedback

```bash
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/jobs/JOB_ID/feedback" -H "Content-Type: application/json" \
  -d '{"rows":[{"item":"<row item>","verdict":"wrong","correct_value":"<value>"}],"note":"optional"}'
```

Each accepted correction earns one free call. Rows are marked `right` or `wrong`, with `correct_value` when wrong.

## Agent FAQ

- **Is an account needed?** No. Keys only raise limits.
- **Is the result deterministic?** Program checks are; model readings are marked `read`. Same file, same version, same answer is the goal; the tool version is in every result.
- **Can several files be sent?** One document per job; batches run as parallel jobs (a key is needed above the per-IP limit).
- **What if the result is wrong?** Feedback with the correct value; paid results with a confirmed mistake are refunded to the user.
- **Where is the spec?** https://unmakelabs.com/api/openapi.json and https://unmakelabs.com/llms.txt
