Retrieving Invoices
Sales invoices with lines.
Use GET /api/v1/invoices to page through every record in your organization, or GET /api/v1/invoices/{id} to fetch a single record with its related data. The id is a UUID, and a 404 means it doesn't exist in your organization.
API Endpoint
Current Use Cases
Send invoices with their lines to QuickBooks so receivables stay current.
Filter by status to see what's still open and follow up before it's late.
Filter by sales_order_id to see exactly what was billed against each order.
Pull invoices by date range to reconcile revenue at month end.
Required Headers
Every request must include the following:
Requests missing either header will return 401 Unauthorized
Example Request
Response Schema
Filters
Errors
Cloudbox uses standard HTTP status codes to indicate API success or failure:
- 200–299 – Request succeeded
- 400 – Bad request (missing parameters, invalid values)
- 401 – Unauthorized (missing or invalid API keys)
- 404 – Resource not found
- 429 – Too many requests (rate limited)



