List invoices
Returns a paginated list of invoices ("facturas de venta").
Access
Access is scoped to the caller: a non-staff user must request their own invoices by passing their user id as the user_id filter (user_id must equal the authenticated user's id). Requests without a matching user_id are rejected with 401. Cardda staff may query any invoices.
Filtering, sorting, pagination
Supports _start/_end pagination, _field/_order sorting, and per-field filters. A filter value can be a plain value or a JSON string with an operator, e.g. company_id={"$in":[...]}.
Response
Each invoice includes paid_amount (total paid to date) and its account.
Query parameters
Filter by owning user id. Required for non-staff callers, who may only pass their own user id (otherwise the request returns 401).
Filter by company UUID. Supports {"$in":[...]} for batch lookups.
Filter by billing account UUID.
Parameters
Response
Paginated list of invoices.
Example response
[
{
"amount": {
"value": "100000",
"currency": "CLP"
},
"conversion_rate": {
"value": "946.35",
"pair": "USDCLP"
},
"parsed_conversion_rate": "946.350000",
"paid_amount": "100000.0"
}
]