Skip to main content
POST
Rechnungen als DATEV-XML-ZIP exportieren
Returns a ZIP for DATEV Belegverwaltung online: one XML booking file and the invoice PDF per invoice, plus a document.xml index. Matches the manual “Export as DATEV XML” action in the invoice list. invoiceIds expects 1 to 500 IDs as strings — GET /invoices returns id as a number, so convert before sending. The export does not mark invoices; use PATCH /invoices/{id}/external-status to track what you already exported.

Authorizations

X-API-Key
string
header
required

API-Schlüssel zur Authentifizierung. Kontaktieren Sie Ihren Customer Success Manager, um einen API-Schlüssel zu erhalten.

Jeder Endpunkt erfordert spezifische Berechtigungen (Scopes); die erforderlichen Scopes werden pro Endpunkt angezeigt.

Body

application/json
invoiceIds
string[]
required

Rechnungs-IDs als Strings, mindestens 1 und höchstens 500 pro Anfrage. Die IDs stammen aus GET /invoices (Feld id), werden dort aber als Zahl geliefert und müssen vor dem Aufruf in Strings umgewandelt werden.

Required array length: 1 - 500 elements
Example:

Response

ZIP-Archiv mit DATEV-XML-Buchungsdateien, Rechnungs-PDFs und document.xml

The response is of type file.