{
"count": 1,
"items": [
{
"chart": "SKR03",
"direction": "in",
"accounts": {
"party": "70000",
"expense": "4980",
"out": {
"7": "8300",
"19": "8400",
"K": "8125",
"AE": "8337",
"G": "8120",
"E": "8100",
"other": "8200"
}
},
"invoicesBooked": 1,
"invoicesReadable": 1,
"truncated": false,
"bookingsCount": 2,
"invoicesToCheck": 0,
"notBooked": [],
"bookings": [
{
"date": "2026-10-14",
"amount": 499.8,
"debitCredit": "H",
"currency": "EUR",
"account": "70000",
"counterAccount": "4980",
"buKey": "9",
"belegdatum": "1410",
"belegfeld1": "ER-2026-0311",
"belegfeld2": "281026",
"buchungstext": "Bürobedarf Schäfer GmbH - ER-2026-0311",
"euVatId": null,
"vatCategory": "S",
"vatRate": "19",
"net": 420,
"vat": 79.8,
"file": "invoice.xml",
"hint": null
},
{
"date": "2026-10-14",
"amount": 38.95,
"debitCredit": "H",
"currency": "EUR",
"account": "70000",
"counterAccount": "4980",
"buKey": "8",
"belegdatum": "1410",
"belegfeld1": "ER-2026-0311",
"belegfeld2": "281026",
"buchungstext": "Bürobedarf Schäfer GmbH - ER-2026-0311",
"euVatId": null,
"vatCategory": "S",
"vatRate": "7",
"net": 36.4,
"vat": 2.55,
"file": "invoice.xml",
"hint": null
}
],
"files": [
{
"fileName": "EXTF_Buchungsstapel_ERechnung_Eingang_2026_SKR03.csv",
"mime": "text/csv; charset=windows-1252",
"encoding": "windows-1252",
"fileBase64": "IkVYVEYiOzcwMDsyMTsiQnVjaHVuZ3NzdGFwZWwiOzEzOzIwMjYxMjA0MDkyNTMxMDAwOzsiUkUiOyJSYWRhckJHIjsiIjsxMDAxOzEwMDAxOzIwMjYwMTAxOzQ7MjAyNjEwMTQ7MjAyNjEwMTQ7IkUtUmVjaG51bmdlbiAyMDI2IFNLUjAz"
}
],
"notes": [
"Incoming invoices (SKR03): creditor 70000 in Haben against the expense account with the BU key of each VAT rate (19% = 9, 7% = 8, reverse charge = 46 EU / 94, intra-EU goods = 19).",
"A preparation tool, not tax advice: review the bookings with your tax advisor before the import. Files are deleted after 24 h."
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/16026/german+e-invoice+datev+buchungsstapel+api/45348/e-invoice+to+datev?xml=urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 ER-2026-0311 2026-10-14 2026-10-28 380 EUR ER-2026-0311 Bürobedarf Schäfer GmbH Ort DE DE811111111 VAT Bürobedarf Schäfer GmbH Gärtnerei Grünblick GmbH Ort DE DE299999999 VAT Gärtnerei Grünblick GmbH 82.35 420.00 79.80 S 19 VAT 36.40 2.55 S 7 VAT 456.40 456.40 538.75 538.75 1 1 420.00 Druckerpapier und Toner 1 S 19 VAT 420.00 2 1 36.40 Druckerpapier und Toner 2 S 7 VAT 36.40 &direction=in&chart=SKR03' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the German E-Invoice DATEV Buchungsstapel API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime.
Automate incoming and outgoing German e-invoice bookkeeping to DATEV EXTF CSV and JSON bookings with EU VAT ID and credit note handling.
Convert German XRechnung, ZUGFeRD / Factur-X and Peppol e-invoices into DATEV EXTF v700 Buchungsstapel CSV files with SKR03/SKR04 automatic BU keys and structured booking JSON.
Up to 100 results per request, depending on the endpoint.
Every request collects live data from the public source. Identical requests may be served from a cache for up to 6 hours.
List parameters accept several values separated by commas, for example: london,paris.
The endpoint accepts these query parameters, all optional: files, xml, fileContent, fileName, direction, chart, partyAccount, expenseAccount, consultantNo, clientNo. Files: E-invoices: [{fileName, fileContent (base64 of.xml, ZUGFeRD.pdf.zip)}] (required unless xml or fileContent is provided) xml: Or one e-invoice as XML text fileContent: Or one file base64-encoded fileName: Optional file name for xml / fileContent direction: In = incoming invoices (Eingangsrechnungen), out = outgoing chart: DATEV chart of accounts partyAccount: Creditor / debtor account (default 70000 incoming / 10000 outgoing) expenseAccount: Expense account of incoming invoices (default 4980 SKR03 / 6850 SKR04).
It supports German XRechnung, UBL and CII invoices, ZUGFeRD/Factur-X PDFs, and Peppol BIS invoices. Provide an invoice in a supported format for conversion into DATEV bookings.
The endpoint creates a separate booking for each VAT rate. It assigns DATEV BU keys, including 9 for 19% VAT, 8 for 7%, and keys for reverse charge and intra-EU acquisitions.
Credit notes reverse the debit/credit direction (Soll/Haben) of the corresponding bookings. Check the returned debitCredit field when processing them.
Incoming invoices use creditor and expense accounts; outgoing invoices use DATEV automatic revenue accounts. Set direction to “in” or “out” to select the booking treatment.
Booking records can include the date, amount, currency, account, counter-account, debit/credit indicator, and BU key. The response also reports the chart, direction, account mappings, and booking counts.
Use invoicesToCheck to see how many invoices need review and notBooked to inspect invoices that were not booked. invoicesReadable and invoicesBooked help compare readable invoices with successfully booked ones.
The due date is placed in Belegfeld 2. Use that field in the generated booking data to retain payment-deadline information in DATEV.
The endpoint provides structured booking JSON and DATEV EXTF v700 Buchungsstapel output. Use the JSON to inspect or integrate booking records, and the EXTF output for DATEV workflows.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund