GET
/v2/organizations/{organizationId}/billing/invoicesList organization invoices
Lists invoices for an organization in a paginated response. Use page and size to paginate the results, and sort to choose the ordering; results default to newest first.
organizationIdintegerrequired
The integer identifier of the organization whose invoices to retrieve.
pageintegeroptional
Zero-based page index. Defaults to 0 when omitted.
sizeintegeroptional
Number of invoices per page; must be at least 1. Defaults to 10 when omitted.
sortarray<string>optional
Sorting criteria in `property,(asc|desc)` format; you can provide multiple criteria. Defaults to `createdAt,DESC` when omitted.
200Returns a paginated response containing invoice records and page metadata, including the page number, size, total elements, and total pages.
_embeddedobjectoptional
pageobjectoptional
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when authentication is missing or invalid.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user is not permitted to access the requested resource.
codestringrequired
paramsarray<object>optional
404Returned when the organization is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 indicates an invalid request, a 401 indicates an authentication failure, a 403 indicates insufficient access, and a 404 indicates the organization was not found. The organizationId path parameter must identify the organization whose invoices you want to retrieve. page must be zero or greater, and size must be at least 1.