Export documents to an ERP/accounting format
wflow_export_documentsExport documents in multiple formats (DATEV, Excel, XML, etc.) with optional filters, then save the file to disk and return its path for ledger comparison.
Instructions
Export a set of documents in a given format (byznyssolitea, datev, excel, generic, isdoc, kros, moneyerp, moneys3, mrp, premier, xml). Optionally narrow the set with a StructuredFilter filter (search/sort/filters). The exported file is written to disk and its path returned (useful for 'compare against the accounting ledger export').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Optional StructuredFilter body {search, sort, filters, propertyFilters}. | |
| format | Yes | Export format. | |
| savePath | No | Where to write the export file. Defaults to ./wflow-export-<format>. | |
| parameters | No | Format-specific parameters as a JSON string. | |
| organization | No | ||
| markAsExported | No | Mark exported documents as exported. |