API · v1 · stabil
CODEMETA OSDeveloper Center
DE
Konsole öffnen

POST /v1/invoices/datev-export

POST/v1/invoices/datev-export

Build a DATEV EXTF v7.0 export ZIP for the given booking-date range. Includes Buchungsstapel (one booking per invoice with BU-Schlüssel for VAT), Debitoren-Stammdaten, optional Belege (PDFs). Importable in DATEV Rechnungswesen via Stapelverarbeitung → EXTF.

Datenmodell

Diese Operation arbeitet auf der Entität Invoice (invoice). Alle 51 Felder — Typ, Validierung, Pflichtangabe, Beziehungen — stehen in der Schema-Referenz.

Request Body

NameTypBeschreibung
fromerforderlichstring<date>
toerforderlichstring<date>
includeBelegeboolean

Beispiel

curl -X POST https://api.codemeta-os.de/v1/invoices/datev-export \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "from": "string",
  "to": "string",
  "includeBelege": true
}'
const result = await cm.invoices.post({
  "from": "string",
  "to": "string",
  "includeBelege": true
});

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche