# Pull your PG&E bills and usage into your own systems

> Read Billing & Payment History, the amount due and 15-minute interval usage from your PG&E business account with one API call each. Or have a workflow check every account each weekday morning and post new bills to your accounting system.

Page: https://fous.com/automate/pg-and-e-online-account
Updated: 2026-11-12

Works with your own PG&E online account account. Fous is an independent product.

## What you can build on PG&E

### Get billing and payment history

Opens All billing tasks for one account and reads the bills and payments listed under Billing & Payment History, with the link to each View Bill PDF.

- Takes: Account number, from date (optional)
- Returns: Date, bill or payment, amount, bill PDF link

### Download 15-minute interval usage

Opens View My Usage for one account and downloads the 15-minute electric interval data and the daily gas usage for a date range.

- Takes: Account number, start date, end date
- Returns: Interval start, electric kWh; day, gas therms

### Check the amount due

Reads the amount due on the My Account dashboard for one account.

- Takes: Account number
- Returns: Account number, amount due

### Pay a bill from a saved payment account

Opens Pay My Bill for one account and pays the amount you give from a payment account already saved under Manage Payment Accounts.

- Takes: Account number, amount, payment account name
- Returns: Account number, amount paid, payment date, confirmation

## Automate PG&E with a workflow

A [workflow](/product/workflows) runs your methods as one process, with nobody at the screen. A schedule or a call from your own system starts it, the steps run in order, and the result arrives in your inbox or in the systems you already use.

### New PG&E bills for every account, sent to accounting

Starts: Every weekday at 8:00

1. For each account number you list, get the billing and payment history for the last 45 days.
2. Keep the bills that were not there on the last run.
3. Post each bill's account number, date, amount and View Bill PDF link to your ERP webhook.

### Weekly interval usage report for every site

Starts: Every Monday at 7:00

1. For each account number, download last week's 15-minute electric interval usage and daily gas usage.
2. Summarize each account's total kWh, its highest 15-minute interval and its gas therms.
3. Email you the summary, one section per account.

### Accounts with a balance due, every Monday

Starts: Every Monday at 9:00

1. For each account number, check the amount due on the My Account dashboard.
2. Keep the accounts with an amount due above zero.
3. Email you the list with account number and amount due.

You can run a workflow by hand on every plan, Free included. Schedules and webhook triggers come with the paid plans, from $29 a month.

## Once built, one call from your code

Once you have built a [method](/product/methods), it is one POST to /v1/runs from your backend, or a tool an AI agent calls over MCP. This is what “Get billing and payment history” would look like.

Example request:

```
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "pge.com/get_billing_history",
    "input": {
      "account_number": "0000000000-1",
      "from_date": "2026-08-01"
    }
  }'
```

Example response:

```
{
  "status": "completed",
  "data": {
    "account_number": "0000000000-1",
    "account_name": "Northwind Foods, 1200 Harbor Way",
    "entries": [
      {
        "date": "2026-10-27",
        "type": "bill",
        "amount": 4812.36,
        "bill_pdf": "https://www.pge.com/.../bill-2026-10-27.pdf"
      }
    ],
    "currency": "USD",
    "count": 1
  }
}
```

An example with invented data, not a ready-made endpoint. The method exists in your organization once you build it, and its name, inputs and fields follow your request.

## PG&E’s own options

PG&E offers Share My Data, a Green Button Connect API that a business can register for as a self-access user to get its own electric and gas interval usage and, if authorized, billing and account data as Green Button XML. Registration needs an EIN, a TLS certificate and a connectivity test. Bill PDFs and payments are not in its data elements list.

| Option | What it covers | What it takes |
| --- | --- | --- |
| Share My Data, self-access user | Electric and gas interval usage, billed totals, billing periods and bill line items, as Green Button XML over the ESPI REST APIs. | A 9-digit EIN, a TLS 1.2 X.509 certificate from a recognized provider, and a connectivity test completed within 90 days. |
| Usage download in the online account | A summary or 15-minute interval data for a period you choose, downloaded from the usage view of one account. | A signed-in business account. |
| The online account by hand | Billing & Payment History with each bill's PDF, Pay My Bill, View My Usage and service requests. | A business online account; linked accounts share one login. |

Read on November 12, 2026: [Share My Data for third-party companies](https://www.pge.com/en/save-energy-and-money/energy-saving-programs/smartmeter/third-party-companies.html), [Understand my usage](https://www.pge.com/en/save-energy-and-money/energy-usage-and-tips/understand-my-usage.html), [View past bills](https://www.pge.com/en/account/billing-and-assistance/view-past-bills.html).

## Signing in to PG&E

PG&E has separate residential and business sign-in. On the first sign-in it sends a code to the phone on the account and a link to your email, and a business account shared through a distribution list still gets the code on the account's phone. With Fous you sign in once through PG&E's own sign-in: the login is sealed with AES-256, sign-in links are handled, and an expired session is signed back in.

## Worth knowing

- **The code goes to the account's phone**: A business account registered with a distribution list email still sends its sign-in code to the phone number linked to the account. Only one person can register with that distribution list email.
- **Who may get full access**: An authorized user can give full access only to a direct employee of the business. Third parties, such as an energy manager or bill-pay service, can be given high or read-only access.
- **Many accounts, one login**: You can link several accounts to one login, including business and residential ones. A method you build reads one account per call, so it takes the account number as an input.
- **Share My Data call limits**: Share My Data allows one request per second, 2,000 calls an hour per Client ID and 20,000 per 24 hours. The daily limit resets at 5 p.m. PT.

## More in Energy and utilities

- [British Gas Business online account](https://fous.com/automate/british-gas-business-online-account.md)
- [Ameren online account](https://fous.com/automate/ameren-online-account.md)
- [CenterPoint Energy My Account](https://fous.com/automate/centerpoint-energy-my-account.md)
- [Con Edison My Account](https://fous.com/automate/con-edison-my-account.md)
- [DTE Energy online account](https://fous.com/automate/dte-energy-online-account.md)
- [Eversource online account](https://fous.com/automate/eversource-online-account.md)
- [National Grid US My Account](https://fous.com/automate/national-grid-us-my-account.md)
- [PSE&G My Account](https://fous.com/automate/pse-and-g-my-account.md)
- [SDG&E My Account](https://fous.com/automate/sdg-and-e-my-account.md)
- [AEP online account](https://fous.com/automate/aep-online-account.md)
- [ComEd My Account](https://fous.com/automate/comed-my-account.md)
- [Dominion Energy Manage Account](https://fous.com/automate/dominion-energy-manage-account.md)
- [Duke Energy My Account](https://fous.com/automate/duke-energy-my-account.md)
- [FirstEnergy online account](https://fous.com/automate/firstenergy-online-account.md)
- [FPL online account](https://fous.com/automate/fpl-online-account.md)
- [Georgia Power My Account](https://fous.com/automate/georgia-power-my-account.md)
- [Hydro One myAccount](https://fous.com/automate/hydro-one-myaccount.md)
- [Hydro-Québec Espace client](https://fous.com/automate/hydro-quebec-espace-client.md)
- [myEntergy](https://fous.com/automate/myentergy.md)
- [PPL Electric Utilities online account](https://fous.com/automate/ppl-electric-utilities-online-account.md)
- [SCE My Account](https://fous.com/automate/sce-my-account.md)
- [Enedis Espace Client Entreprises](https://fous.com/automate/enedis-espace-client-entreprises.md)
- [SGE](https://fous.com/automate/sge.md)
- [Cemig Atende](https://fous.com/automate/cemig-atende.md)
- [Enel Agência Virtual](https://fous.com/automate/enel-agencia-virtual.md)
- [Espace Producteur EDF OA](https://fous.com/automate/espace-producteur-edf-oa.md)
- [SoCalGas My Account](https://fous.com/automate/socalgas-my-account.md)
- [Transport4](https://fous.com/automate/transport4.md)
- [Smart Meter Texas](https://fous.com/automate/smart-meter-texas.md)
- [SmartHub](https://fous.com/automate/smarthub.md)
- [My WM](https://fous.com/automate/my-wm.md)
- [Republic Services My Account](https://fous.com/automate/republic-services-my-account.md)

Other industries: [DoorDash Merchant Portal](/automate/doordash-merchant-portal), [BB Digital PJ](/automate/bb-digital-pj), [Elavon Payments Insider](/automate/elavon-payments-insider), [自然人电子税务局（扣缴端）](/automate/natural-person-e-tax-bureau-withholding), [Income Tax e-Filing Portal](/automate/income-tax-e-filing-portal), [Agoda YCS](/automate/agoda-ycs).

## Frequently asked questions

### Does PG&E have an API?

Yes, for usage and billing data. Share My Data lets a business register as a self-access user and pull its own interval usage and, if authorized, billing data as Green Button XML. It needs an EIN, a TLS certificate from a recognized provider and a connectivity test. Bill PDFs and payments are not in its data elements list.

### How do I download past PG&E bills?

Sign in, open the My Account dashboard, select All billing tasks under Billing and scroll to Billing & Payment History. Find the bill by date and select View Bill PDF. A method you build can read that list for each account and return the PDF links.

### Can I download 15-minute interval data for my business?

Yes. PG&E's usage view for business accounts lets you download 15-minute electric interval usage and daily gas usage, or a summary, for a period you choose. Share My Data offers the same interval data through its API.

### Can an outside company get access to our PG&E account?

Yes, with high or read-only access. An authorized user, who must be a direct employee of the business, invites them with add a person on the My Account dashboard. Full access is only for direct employees.

### Is Fous affiliated with Pacific Gas and Electric Company?

No. Fous is an independent product. You use it with your own PG&E online account, and a method reads and does only what that account can.

Fous is an independent product: it is not affiliated with, endorsed by or sponsored by the operator of PG&E online account (Pacific Gas and Electric Company). The name is used only to say which system this page is about. Something here wrong or out of date? Write to legal@fous.com.
