API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola

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.

Modelo de datos

Esta operación trabaja sobre la entidad Invoice (invoice). Los 51 campos (tipo, validación, obligatoriedad y relaciones) figuran en la referencia del esquema.

Cuerpo de la solicitud

NombreTipoDescripción
fromobligatoriostring<date>
toobligatoriostring<date>
includeBelegeboolean

Ejemplo

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

Códigos de respuesta

HTTP Significado
200 Default Response

Búsqueda