API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

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.

Data model

This operation works on the entity Invoice (invoice). All 51 fields — type, validation, required status, relationships — are listed in the schema reference.

Request body

NameTypeDescription
fromrequiredstring<date>
torequiredstring<date>
includeBelegeboolean

Example

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
});

Response codes

HTTP Meaning
200 Default Response

Search