Billing API
stringstring · date-timestring · date-timestring · enuminteger · int32integer · uint32string · enuminteger · uint32
List invoices
GET
https://api.scaleway.com
/billing/v2alpha1/invoices
List all your invoices, filtering by start_date and invoice_type. Each invoice has its own ID.
query Parameters
organization_idOrganization ID to filter for, only invoices from this Organization will be returned. (UUID format)
started_afterInvoice's start_date is greater or equal to started_after. (RFC 3339 format)
started_beforeInvoice's start_date precedes started_before. (RFC 3339 format)
invoice_typeInvoice type. It can either be periodic or purchase.
Enum values:
unknown_type
periodic
purchase
Default: unknown_type
pagePositive integer to choose the page to return.
page_sizePositive integer lower or equal to 100 to select the number of items to return.
order_byHow invoices are ordered in the response.
Enum values:
invoice_number_desc
invoice_number_asc
start_date_desc
start_date_asc
issued_date_desc
issued_date_asc
due_date_desc
due_date_asc
Default: invoice_number_desc
List invoices › Responses
200
total_countTotal number of invoices.
Paginated returned invoices.
Download an invoice
GET
https://api.scaleway.com
/billing/v2alpha1/invoices/{invoice_id}/download