Home › APIs › Tax, invoices & payments
E-Invoice to DATEV API
Books German e-invoices (XRechnung, ZUGFeRD, Peppol) into a DATEV file for the tax advisor: one booking per VAT rate with the right tax key, and a check that every invoice adds up. Do it free in your browser →
Try it here
- 1Fill in
- 2Press the button
- 3Read the answer
- e-invoice = An invoice sent as a data file (not a picture or normal PDF), required more and more in the EU.
- XRechnung = The German official e-invoice format.
- ZUGFeRD = A German e-invoice: a normal PDF with the invoice data hidden inside.
- Peppol = a network for sending e-invoices between companies in Europe.
Which way is for you?
What is an API, and do I need one?
An API lets your software get an answer by itself, for example a shop checking every new customer's VAT number. Not a programmer? Use the free tool in your browser instead.
Without a key: 3 test calls/day. With a free key: 100 calls/month, usage dashboard & Excel/Sheets · Have a key? Open my key · Lost it? Get it by e-mail
For programmers: details, example request and inputs
Book German e-invoices into DATEV: XRechnung (UBL and CII), ZUGFeRD / Factur-X PDFs and Peppol BIS invoices become a DATEV EXTF v700 Buchungsstapel. One booking per VAT rate with the BU key (19% = 9, 7% = 8, reverse charge 46 / 94, intra-EU acquisition 19) for incoming invoices, or DATEV automatic revenue accounts for outgoing ones; credit notes flip Soll / Haben; due date in Belegfeld 2; buyer VAT ID in EU-Land u. UStID. Duplicates and non-EUR invoices are listed, not booked. Up to 100 invoices per call. Returns bookings JSON + EXTF base64. Deterministic, 0 AI, nothing stored.
Example request
curl -X POST https://radarbg.com/v1/einvoice-to-datev \
-H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"direction": "in", "chart": "SKR03"}'
Answer: {"ok": true, "count": N, "items": [...], "usage": {...}}. Failed calls are not counted.
Inputs
| Field | Type | Description |
|---|---|---|
files | array | E-invoices: [{fileName, fileContent (base64 of .xml, ZUGFeRD .pdf or .zip)}] (empty = built-in sample month) |
xml | string | Or one e-invoice as XML text |
fileContent | string | Or one file base64-encoded |
fileName | string | Optional file name for xml / fileContent |
direction | string | in = incoming invoices (Eingangsrechnungen), out = outgoing |
chart | string | DATEV chart of accounts |
partyAccount | string | Creditor / debtor account (default 70000 incoming / 10000 outgoing) |
expenseAccount | string | Expense account of incoming invoices (default 4980 SKR03 / 6850 SKR04) |
consultantNo | string | DATEV Beraternummer for the file header (optional) |
clientNo | string | DATEV Mandantennummer for the file header (optional) |
Price
Included in every plan: 100 calls a month free, then from €15 a month for 5,000 calls across all APIs. Pro, €49 for 25,000 calls, is the one we recommend.
Questions
What does the E-Invoice to DATEV API do?
Books German e-invoices (XRechnung, ZUGFeRD, Peppol) into a DATEV file for the tax advisor: one booking per VAT rate with the right tax key, and a check that every invoice adds up.
Where does the data come from?
Book German e-invoices into DATEV: XRechnung (UBL and CII), ZUGFeRD / Factur-X PDFs and Peppol BIS invoices become a DATEV EXTF v700 Buchungsstapel. One booking per VAT rate with the BU key (19% = 9, 7% = 8, reverse charge 46 / 94, intra-EU acquisition 19) for incoming invoices, or DATEV automatic revenue accounts for outgoing ones; credit notes flip Soll / Haben; due date in Belegfeld 2; buyer VA
How much does it cost?
100 calls a month are free with no card. Paid plans start at EUR 15 a month for 5,000 calls and include every API on Radar. Failed calls are not counted.
What is an API? Do I need to be a programmer?
An API lets a program get answers from another program automatically. You only need it if your own website or software should do this by itself. Without programming, use the free browser tool, the Excel upload where offered, or let us do the job for you.