# Facture PDF en Factur-X (France)

> Transforme une facture PDF ou photographiée en facture électronique Factur-X.

Human page: https://unmakelabs.com/fr-fr/facture-pdf-en-factur-x/. This is the version for AI agents: the same facts, plus how to call the tool.

## What it does

Vous déposez la facture que vous avez déjà. Nous la lisons, écrivons les formats électroniques, recalculons chaque montant et vérifions chaque fichier. S'il manque une information obligatoire, nous la demandons au lieu de la deviner.

### Why it matters

Avec la réforme, les entreprises reçoivent des factures électroniques depuis septembre 2026 et devront toutes en émettre. Ressaisir un PDF est long et souvent refusé au premier essai.

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

_État : les outils gratuits dans le navigateur et les points d’accès inspect, partage, notification, contact et retours fonctionnent. Les vérifications de documents marquées bêta gratuite acceptent des fichiers sur leur page et via l’API de tâches ; les autres arrivent bientôt, et leurs pages proposent un e-mail à l’ouverture. Le point d’accès MCP arrive._

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

- La facture (PDF, scan ou photo)

Outputs:

- Combien de formats sont prêts et ce qui manque
- Les fichiers (Factur-X PDF, Peppol, XRechnung UBL et CII), les questions et un rapport

## How a person uses it

1. **Déposez la facture.** PDF, scan ou photo.
2. **Deux IA la lisent.** Chaque champ, comparé entre deux fournisseurs.
3. **Un programme écrit et vérifie.** XML depuis une structure typée, totaux recalculés, schémas officiels, relecture indépendante.
4. **Téléchargez.** Factur-X, Peppol, XRechnung, ou les questions restantes.

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

- Chaque total recalculé à partir des lignes et comparé à la facture
- Chaque fichier contre les schémas XML officiels
- Chaque fichier relu par un lecteur de factures électroniques indépendant
- Mentions obligatoires par format (référence acheteur, identifiants Peppol)
- Catégorie de TVA d'après le taux et la mention (autoliquidation, intracommunautaire, art. 293 B)
- Clés de contrôle IBAN et numéro de TVA

### Not checked

- L'envoi au client ou à une plateforme agréée
- L'inscription du client dans Peppol sous l'identifiant déduit
- Toutes les mentions obligatoires françaises au-delà de la norme EN 16931

## Price and free calls

- Price: Gratuit au lancement. Quelques minutes, sans compte.
- 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
