Batch export, and an end to the CSV encoding bug
The export queue now runs off the same worker pool as reconciliation, which removed the class of failure where a large export starved everything else on the box.
Added
POST /v4/exportsaccepts up to 50,000 rows per request- Exports can be scheduled with a cron expression instead of polled
- Webhook
export.completedcarries a signed download URL, valid one hour
Fixed
- CSV exports containing non-Latin names were written as UTF-8 without a BOM, which Excel read as mojibake. They now carry a BOM.
- A rounding error on multi-currency totals affected 0.02% of reports generated between 4.6.0 and 4.6.2.
Deprecated, removal in 5.0
GET /v4/exports/:id/download returns a redirect rather than the file. Follow the redirect, or switch to the signed URL on the webhook payload.
POST /v4/exports
Content-Type: application/json
{
"report": "reconciliation",
"format": "csv",
"schedule": "0 6 * * 1",
"notify": "webhook"
}