<br />

This document describes how to locate your billing account ID, which is a
system-generated, immutable, alphanumeric value assigned to your
Cloud Billing account. You typically need to provide your billing account
ID when you are communicating with
[Cloud Billing Support](https://docs.cloud.google.com/support/billing)
or when you are
[automating billing tasks using an API](https://docs.cloud.google.com/billing/docs/develop)
or
[programmatic cost management](https://docs.cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications).

The billing account ID is an 18-character alphanumeric value. For example:
`010101-F0FFF0-10XX01`

## About Cloud Billing accounts

Cloud Billing accounts pay for usage costs in Google Cloud projects and
Google Maps Platform projects.To use Google Cloud resources in a project,
billing must be enabled on the project. Billing is enabled when the project is
linked to an active Cloud Billing account.

## How to locate a billing account ID

A Cloud Billing account has a user-assigned name and a
system-generated billing account ID. The billing account ID is displayed on
multiple pages in the **Billing** section of the Google Cloud console.
If you have limited permissions to view billing information, you might not be
able to view all the different pages in the Billing section.

The method you use to find the billing account ID depends on your
[Cloud Billing access permissions](https://docs.cloud.google.com/billing/docs/how-to/billing-access):

- Users with [basic Cloud Billing account permissions](https://docs.cloud.google.com/billing/docs/how-to/find-billing-account-id#basic-billing-permissions)
- Users with [project-level permissions only](https://docs.cloud.google.com/billing/docs/how-to/find-billing-account-id#project-permissions-only) (no billing account permissions)

### If you have basic Billing Account permissions

If you are granted the
[`billing.accounts.get`](https://docs.cloud.google.com/billing/docs/how-to/custom-roles#account_management)
permission on a Cloud Billing account, you can access the **Billing**
section in the Google Cloud console to view the billing account ID. Most
[predefined billing account roles](https://docs.cloud.google.com/billing/docs/how-to/billing-access#overview-of-cloud-billing-roles-in-cloud-iam)
(such as Billing Account User, Billing Account Viewer, or Billing Account
Administrator) include the `billing.accounts.get` permission.

With basic billing account permissions, you have two methods to locate a
billing account ID.

#### Method 1: Open the **Account Management** page for a *selected* billing account

This method works well when you want to find the billing account ID of a
single, *active* billing account that you know by name. If the billing account
is closed or you are unsure of its name, use
[method 2](https://docs.cloud.google.com/billing/docs/how-to/find-billing-account-id#method-2).

1. In the Google Cloud console, go to the **Account management** page for the
   Cloud Billing account.

   [Go to Account management in the Cloud Billing console](https://console.cloud.google.com/billing/manage)
2. At the prompt, **choose the Cloud Billing account** that you
   want to view.

   The **Account management** page opens for the selected
   Cloud Billing account.
3. On the **Account management** page, the alphanumeric **Billing account ID**
   is displayed near the top of the page.

![Example of the Account management page showing the billing account ID.](https://docs.cloud.google.com/static/billing/docs/images/ba-id-account-management-page.png)

*** ** * ** ***

#### Method 2: View a list of all billing accounts you have permissions to access

This method is best when you have many billing accounts (active and closed)
and you want to view them all, including their billing account IDs, in a
dashboard.

1. In the Google Cloud console, go to the **My Billing Accounts** page in the
   **Billing** section.

   [Go to My Billing Accounts in Cloud Billing console](https://console.cloud.google.com/billing)
2. If you have billing accounts for more than one organization, and you want
   to view accounts across all of your organizations, expand the **organization selector**
   and choose **None Selected**.

3. By default, your list of billing accounts is filtered to show only
   *Active* accounts.

   - To view a complete list of your billing accounts, active and closed, **remove** the *Status : **Active*** filter.
   - To view a list of accounts filtered by *Closed* accounts, **remove** the *Status : **Active*** filter and **add** a *Status : **Closed*** filter.
4. In the list of your billing accounts, you can see the *Billing account name* ,
   *Billing account ID* , and other information about the billing account,
   such as *Status* , *Account type* , and *Organization*.

   > [!NOTE]
   > **Tip** : To view values in the *Last 30 days'
   > spend* column, you need the `billing.accounts.getSpendingInformation` permission on the Cloud Billing account. This permission isn't granted by the Billing Account User role. Most other [predefined billing roles](https://docs.cloud.google.com/billing/docs/how-to/billing-access#overview-of-cloud-billing-roles-in-cloud-iam) include this permission (such as Billing Account Viewer, Billing Account Costs Manager, or Billing Account Administrator).

   You can download the list of accounts to a comma-separated values (CSV)
   file using the
   **Download CSV** selector located above the table.

![Example of the My Billing Accounts page showing the billing account
ID column.](https://docs.cloud.google.com/static/billing/docs/images/my-billing-accounts-page.png)

### If you have Project-only permissions (no billing account permissions)

If you are a project owner, editor, viewer, or project billing manager, but
otherwise don't have any
[*billing account* permissions](https://docs.cloud.google.com/billing/docs/how-to/billing-access),
you can locate the ID of the billing account that is linked to the
projects that you can access.

To view a list of *all projects you can access* and their associated
Cloud Billing account, complete the following steps:

1. In the Google Cloud console, go to the **My Projects** page in the
   **Billing** section.

   [Go to My Projects in Cloud Billing console](https://console.cloud.google.com/billing/projects)
2. From the list of your projects, you can see the Billing account name and
   **Billing account ID**.

![Example of the My Projects page showing the billing account
ID column.](https://docs.cloud.google.com/static/billing/docs/images/my-projects-billing-account-id.png)