Skip to Content

Export

Endpoint for exporting transactions as a CSV file.


Export CSV

GET /api/v2/export/csv

Returns a CSV file with all transactions for the requested date range. Both parameters are required.

Query Parameters:

ParameterTypeRequiredDescription
startYYYY-MM-DDYesExport from this date (inclusive)
endYYYY-MM-DDYesExport to this date (inclusive)

Response 200 OK:

Content-Type: text/csv; charset=utf-8 Content-Disposition: attachment; filename="expenses_{start}_{end}.csv"

Example filename: expenses_2026-04-01_2026-04-30.csv

CSV columns:

ColumnTypeDescription
idUUIDTransaction ID
dateYYYY-MM-DDTransaction date
establishmentstringMerchant name
descriptionstringDescription
amountdecimalAmount in BRL
categorystringCategory name
entry_typestringimage, text, or pdf
confidencedecimalAI extraction confidence (0.00–1.00)
created_atISO 8601When the record was created

Example row:

id,date,establishment,description,amount,category,entry_type,confidence,created_at a1b2c3d4-...,2026-04-13,Supermercado Extra,Weekly groceries,42.50,Alimentação,image,0.97,2026-04-13T10:00:00Z
Last updated on