Verify the billing status of your projects (original) (raw)

A Cloud Billing account defines who pays for a given set of resources, and it can be linked to one or more projects. Project usage is charged to the linked Cloud Billing account.

This document describes how to verify the billing status of your projects.

Overview

To ensure that billing is enabled on a project, the project must be linked to a valid, active Cloud Billing account. Typically, projects are linked to a billing account at the time that you create the project.

If projects are linked to a Cloud Billing account that's subsequently closed or suspended, then billing is no longer enabled on those projects. If you want to continue using the projects, you must either reopen the billing account, or move the projects to a different, active Cloud Billing account.

It's possible to unlink a project from a billing account, disabling billing on the project. To continue using the project, you must re-enable billing by linking the project to an active Cloud Billing account.

Use this document to help you determine if billing is enabled on your projects.

Permissions required for this task

To perform the tasks needed to confirm that billing is enabled on your project, you need a role that includes the followingpermissionson your Cloud Billing account:

To gain these permissions, ask your administrator to grant you one of the followingCloud Billing IAMroles on your Cloud Billing account:

For more information about billing permissions, see:

Check if billing is enabled on a project

Billing is enabled on a project if the following are true:

  1. The project is linked to a Cloud Billing account.
  2. The linked Cloud Billing account is active and in good standing - that is, the billing account isn't closed or suspended.

1. Identify the Cloud Billing account linked to a project

Console

To view the Cloud Billing account that's linked to a specific project, do the following:

  1. Sign in to the Google Cloud console.
    Sign in to Google Cloud console
  2. In the project drop down ( [your project name] ) at the top of the Google Cloud console page, select your project.
  3. Open the console Navigation menu(), and then select Billing.

If a billing account isn't linked to the project:

If a billing account is linked to the project:

gcloud

To view the detailed billing information for a project, run thegcloud beta billing projects describecommand:

gcloud beta billing projects describe PROJECT_ID

Where:

Example:

To see detailed billing information for a project my-project, run:

gcloud beta billing projects describe my-project

Based on the details returned, you can tell if billing is enabled or not.



If the billing account isn't active, you can't use the resources within the linked project. Learn how toreopen a closed billing accountor change the billing account linked to a project.


For information on how to link a billing account to a project, seeenable billing for an existing project.

2. Confirm the status of the linked Cloud Billing account

Console

To confirm the linked Cloud Billing account is active, do the following:

  1. View the Billing Overview page for the linked billing account.
    You might already be on the Billing Overview page. If not, do the following:
    1. Sign in to your Cloud Billing account in the Google Cloud console.
      Sign in to your Cloud Billing account
    2. At the prompt, choose the Cloud Billing account you want to view. The Billing Overview page opens for the selected billing account.
      If the linked billing account is closed or suspended, you'll see a message at the top of the Billing Overview page that indicates the status of the account. For example, if the billing account is closed, you'll see a message similar to the following: "This billing account is closed. Visit the account management page to reopen it and continue using linked projects."
      You can't use the resources within the linked projects if the billing account isn't active.
  2. View the Payment Overview page for the linked billing account.
    If you're already on the Billing Overview page, select the Payment Overview tab. Otherwise, do the following to open the Payment Overview page:
    1. In the Google Cloud console, sign in to the Payment Overview page for your Cloud Billing account.
      Sign in to your Cloud Billing account
    2. At the prompt, choose the Cloud Billing account you want to view. The Billing Payment Overview page opens for the selected billing account.
      If the linked Cloud Billing account has an overdue, unpaid balance or an issue with your method of payment, your account might be suspended until you resolve any issues and pay the balance due.
      Learn how to resolve declined payments on self-serve (autopay) accounts.

gcloud

To view the details for a Cloud Billing account, run thegcloud beta billing accounts describecommand:

gcloud beta billing accounts describe ACCOUNT_ID

Where:

Example:

To see details for billing account 0X0X0X-0X0X0X-0X0X0X, run:

gcloud beta billing accounts describe 0X0X0X-0X0X0X-0X0X0X

The information returned for a billing account includes the billing account display name and the active status of the account. For example:

displayName: My Billing Account masterBillingAccount: '' name: billingAccounts/0X0X0X-0X0X0X-0X0X0X open: true

If the billing account isn't open, you can't use the resources within the linked project. Learn how toreopen a closed billing accountor change the billing account linked to a project.

For information on accessing a tabular view of all your projects and the Cloud Billing account linked to each project, seeView projects linked to billing accounts.