Radar

Home › APIs › Tax, invoices & payments

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

  1. 1Fill in
  2. 2Press the button
  3. 3Read the answer
Words you may not know
  • 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.

Use it in your app: free key in 10 seconds100 calls a month on all 158 APIs · no card · the key shows on the screen at once

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

FieldTypeDescription
filesarrayE-invoices: [{fileName, fileContent (base64 of .xml, ZUGFeRD .pdf or .zip)}] (empty = built-in sample month)
xmlstringOr one e-invoice as XML text
fileContentstringOr one file base64-encoded
fileNamestringOptional file name for xml / fileContent
directionstringin = incoming invoices (Eingangsrechnungen), out = outgoing
chartstringDATEV chart of accounts
partyAccountstringCreditor / debtor account (default 70000 incoming / 10000 outgoing)
expenseAccountstringExpense account of incoming invoices (default 4980 SKR03 / 6850 SKR04)
consultantNostringDATEV Beraternummer for the file header (optional)
clientNostringDATEV 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.

Related APIs

Bank Statement & ISO 20022 APITurns a bank statement file (camt.053 or MT940) into a normal table you can open in Excel, and checks that the balances add up.
CAMT.054 Payment Notification APIOpens a camt.054 bank file and lists every single payment of a collective booking, checks that they add up to the booked amount and checks QR and RF references.
EPC QR Code APIMakes the payment QR code for an invoice (in Germany GiroCode): the payer scans it with the banking app and name, IBAN, amount and reference are filled in. The IBAN is checked first.
EU E-Invoice Parser APIOpens EU e-invoices (XRechnung, ZUGFeRD, Peppol) and shows them as a normal, readable invoice.
EU VAT Calculator APIAdd or remove VAT for any EU country and see the net, the VAT and the total.
EU VAT Validation APICheck if a European VAT number is valid and see the company name behind it, straight from the official EU system.