CSV Export
The configurable CSV export: transport targets, export profiles and their fields, and the lookup tables that map invoice values onto export values.
List available fields
Source fields available to add to a profile of the given type.
List lookup tables
Get all configured lookup tables.
Create a lookup table
Create a new lookup table (rules are added separately).
Test a lookup table against an invoice
Dry-run a draft lookup table and its (possibly unsaved) rules against one invoice's row(s) without persisting anything. Returns per-row match diagnostics.
Delete a lookup table
Soft-delete a lookup table (cascades to its rules).
Get a lookup table with its rules
Get a lookup table by code, including its ordered rules.
Update a lookup table
Partially update a lookup table's metadata or behavior.
List rules for a lookup table
Ordered list of rules belonging to a lookup table.
Add a rule to a lookup table
Append a new rule to the lookup table; outputs must cover every declared output field.
Delete a lookup rule
Remove a rule from a lookup table.
Update a lookup rule
Partially update a lookup rule; merged result must still cover every declared output field.
Get export method
Get the current FI export method (DATEV, DATEV_REWE, CSV, EMAIL, or SAP) and whether the accountant booking proposal is enabled for the tenant.
Set export method
Set the FI export method (DATEV, DATEV_REWE, CSV, EMAIL, or SAP).
List CSV export profiles
Get all configured export profiles with their field counts.
Create CSV export profile
Create a new export profile (fields are added separately).
Preview CSV export profile
Renders a draft profile against real tenant data. Returns structured rows for table rendering plus the raw CSV for the raw-data toggle and sample download.
Delete CSV export profile
Soft-delete a profile (cascades to its fields).
Get CSV export profile
Get a profile by code with its ordered fields.
Update CSV export profile
Update profile metadata, formatting, and output settings.
Duplicate CSV export profile
Clone a profile and all its fields.
Reorder profile fields
Set field order from a list of field codes (index 0 = first column).
List profile fields
Ordered list of fields belonging to a profile.
Add a profile field
Append (or position) a new field on the profile.
Delete a profile field
Remove a field from a profile.
Update a profile field
Rename, change format, or toggle a field.
List CSV export targets
Get all configured export targets.
Create CSV export target
Create a new export target.
Delete CSV export target
Soft-delete an export target.
Get CSV export target
Get an export target by code.
Update CSV export target
Update an existing export target.
Test SFTP connection for an export target
Scans the server host key (stores fingerprint), then verifies credentials and remote path.
Test S3 connection for an export target
Verifies the saved target's credentials and write permission by writing then deleting a tiny test object.
Test SFTP connection from params
Tests an SFTP connection using provided credentials without saving a target. Fingerprint is.
Test S3 connection from params
Tests an S3-compatible connection using provided credentials without saving a target.
Get export ZIP filename pattern
Get the configured filename pattern for the export ZIP archive.
Set export ZIP filename pattern
Set the filename pattern for the export ZIP archive.