API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la 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.

Modèle de données

Cette opération porte sur l'entité Invoice (invoice). Les 51 champs (type, validation, caractère obligatoire, relations) figurent dans la référence du schéma.

Corps de la requête

NomTypeDescription
fromobligatoirestring<date>
toobligatoirestring<date>
includeBelegeboolean

Exemple

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

Codes de réponse

HTTP Signification
200 Default Response

Recherche