Export to DATEV
export_datevBuilds a DATEV export (booking batch and master data CSV files) for the finalized invoices dated between from and to, both ISO dates (YYYY-MM-DD), whatever the sender's date format, and returns it as a base64-encoded ZIP with counts and warnings. Use it when the user or their tax advisor needs the bookkeeping export. Only for accounts with a German sender address and DATEV consultant and client numbers set in the sender settings. Side effect: before exporting it creates a customer record with a debtor number for every invoice recipient that has none and links the invoices to it; nothing is overwritten or deleted, and repeating the call adds nothing further. It does not email anyone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End date in YYYY-MM-DD format | |
| from | Yes | Start date in YYYY-MM-DD format |