Skip to main content
GET
/
invoices
/
export
cURL
curl --request GET \
  --url https://api.useanima.sh/v1/invoices/export \
  --header 'Authorization: Bearer <token>'
{
  "csv": "<string>",
  "count": 123
}

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer

Query Parameters

status
enum<string>

Filter exported invoices by status; omit to include all statuses.

Available options:
detected,
confirmed,
rejected,
paid,
reconciled
from
string<date-time>

ISO 8601 start of the export date range.

to
string<date-time>

ISO 8601 end of the export date range.

Response

200 - application/json

OK

CSV export result.

csv
string
required

RFC 4180 compliant CSV content of the exported invoices.

count
integer
required

Number of invoices included in the export.