Public cloud services are based on the “pay as you go” model, which means that you only pay for what you use. Your monthly invoice is calculated at the end of each month and based on your hourly resource usage during the month.
With Scaleway’s Billing API, you can manage the billing of your Scaleway cloud services.
Refer to our dedicated pricing page to get more information about the rates applied on each Scaleway product.
Requirements
To perform the following steps, you must first ensure that:
curl
1. Configure your environment variables.
Note: This is an optional step that seeks to simplify your usage of the APIs.
2. Run the following command to obtain your consumption over the current month.
3. Run the following command to list your invoices.
You should get an output similar to the following one, providing details about your invoices.
Note: This is a response example, the UUIDs displayed are not real.
4. Run the following command to download an invoice based on its ID
Make sure to replace the example ID in the URL with the actual invoice ID you want to download.
For more help using Scaleway’s Billing API, check out the following resources:
The consumption reflects the amount of money you have spent for the products you have used. The consumption value is monetary and is not computed in real time.
The consumption reflects the amount of money you have spent for the products you have used. The consumption value is monetary and is not computed in real time.
List all your invoices, filtering by start_date
and invoice_type
. Each invoice has its own ID.
unknown_type
, periodic
and purchase
. The default value is unknown_type
.20
.invoice_number_desc
, invoice_number_asc
, start_date_desc
, start_date_asc
, issued_date_desc
, issued_date_asc
, due_date_desc
, due_date_asc
, total_untaxed_desc
, total_untaxed_asc
, total_taxed_desc
, total_taxed_asc
, invoice_type_desc
and invoice_type_asc
. The default value is invoice_number_desc
.