Get expense details
The billing account owner can get a CSV file with the general or per-resource spending details.
Getting started
Create a bucket in Object Storage. Nebius AI will save detail files to this bucket. You can save details in multiple buckets.
Alert
Do not make your bucket public; otherwise, anyone will be able to download your expense details from the bucket link.
Get expense details
-
Open the Nebius AI management console
. -
In the top-left corner, click
All services. -
Select
Billing. -
Select the account you want to get details for.
-
In the left-hand panel, select Export details.
-
Click Create.
-
In the Create periodic export window that opens, specify:
- In the Bucket field, the name of the bucket to store the CSV file with details.
- In the Directory field, the name of the folder for the file. The last character must be
/
. - Select General or Resource as the detailed view type.
-
Click Create.
A new file with details is created in the bucket daily. The file name contains the prefix and date that details are collected for. The file is overwritten and updated with new data every hour.
The information can be updated in any daily file within a month.
Tip
Files with details from buckets aren't deleted automatically, but you can set up a deletion schedule. For more information, see Object lifecycle (Object Storage refers to files in a bucket as objects).
Expense details file format
An uploaded file with details is a CSV table with comma-separated columns. Each row shows the product consumption level per day.
The table contains the following columns:
billing_account_id
: Billing account ID.billing_account_name
: Name of the billing account.cloud_id
: ID of the cloud that details are provided for.cloud_name
: Name of the cloud.folder_id
: ID of the folder. Technical column.folder_name
: Name of the folder at the time of exporting details. Technical column.resource_id
: Resource ID, resource name, or subscription ID. The value of this field may be empty if the service doesn't have resources. Correlation between services andresource_id
column values:- Compute Cloud and Marketplace: ID of the VM, disk snapshot, disk image, or other resource installed using Marketplace.
- Object Storage: Bucket name.
- Virtual Private Cloud: ID of the resource that processes incoming or outgoing traffic.
- Container Registry: ID of the container.
- Kubernetes: ID of the cluster.
- Managed Service for PostgreSQL, Managed Service for ClickHouse, Managed Service for MySQL, Managed Service for Redis: ID of the cluster host.
service_id
: ID of the service that the consumed product belongs to.service_name
: Name of the service that the consumed product belongs to.sku_id
: ID of the consumed product.sku_name
: Name of the product.date
: Date that the cost of consumption is charged for. Dates are set as a range from 0:00 to 23:59 (UTC+00:00).currency
: Billing account currency. The parameter takes the valueUSD
.pricing_quantity
: Amount of product units consumed. The decimal separator is a period.pricing_unit
: Unit of product consumption.cost
: Total cost of consumption. The decimal separator is a period.credit
: Discount amount. The decimal separator is a period.monetary_grant_credit
: Discount from a grant, including the grant for trying the platform. The decimal separator is a period.volume_incentive_credit
: Discount for the volume of product consumption. The decimal separator is a period.misc_credit
: Other types of discounts, including discounts for resource consumption after the grant for trying the platform expires, but before switching to the paid version. The decimal separator is a period.locale
: Language of each exported line. The value of this field determines thesku_name
column language. Theen
value is used.updated_at
: Date and time of the last line update in Unix Timestamp format.exported_at
: Date and time when the line was added to the detail file.