# Turn Cemig Atende into an API

> Read the open bills, Histórico de contas (bill history) and service status of each instalação (installation) in Cemig Atende with one API call. A workflow can check every instalação each weekday morning and email you the bills still open.

Page: https://fous.com/automate/cemig-atende
Updated: 2026-11-12

Works with your own Cemig Atende account. Fous is an independent product.

## What you can build on Cemig Atende

### List open bills

Reads Segunda via de conta (second copy of bill): every open or overdue bill under your account, per instalação, with its Situação (status).

- Takes: Instalação number (optional)
- Returns: Instalação, reference month, due date, amount, Situação

### Get the bill history of an instalação

Reads Histórico de contas for one instalação: consumption, the amount of each bill and its payment situation.

- Takes: Instalação number, number of months (optional)
- Returns: Reference month, consumption in kWh, amount, Situação

### Check the progress of service requests

Reads Consultar andamento de serviço: the services requested in the last 90 days for an instalação, with each Nota de Serviço (service order) and its status.

- Takes: Instalação number
- Returns: Nota de Serviço number, service, status

### Report a bill as paid

Uses Informar conta paga on a bill whose Situação is Vencido, enters the payment date and returns the confirmation Cemig Atende shows.

- Takes: Instalação number, reference month, payment date
- Returns: Instalação, reference month, payment date, confirmation message

## Automate Cemig Atende 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.

### Open bills for every instalação, each morning

Starts: Every weekday at 7:00, America/Sao_Paulo

1. List the open bills under your account, across every instalação.
2. Keep the bills that were not there on the last run, and those now Vencido.
3. Email you the list, one section per instalação, with due date and amount.

### Monthly consumption and bill amounts to your accounting system

Starts: Monthly on the 10th at 8:00, America/Sao_Paulo

1. For each instalação you name, get the bill history for the last month.
2. Keep the bills that were not there on the last run.
3. Post instalação, reference month, consumption in kWh, amount and Situação to your webhook.

### Changes in service requests, posted to Slack

Starts: Every weekday at 12:00, America/Sao_Paulo

1. For each instalação you name, check the progress of service requests.
2. Keep the Notas de Serviço whose status changed since the last run.
3. Post Nota de Serviço number, service and new status to your Slack webhook.

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 “List open bills” 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": "atende.cemig.com.br/list_open_bills",
    "input": {}
  }'
```

Example response:

```
{
  "status": "completed",
  "data": {
    "bills": [
      {
        "instalacao": "3012345678",
        "reference_month": "2026-10",
        "due_date": "2026-11-06",
        "amount": 4812.37,
        "currency": "BRL",
        "situacao": "Vencido"
      }
    ],
    "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.

## Cemig Atende’s own options

Cemig's service pages list no API or file exchange for customers. Its bills and requests are offered through Cemig Atende Web, the Cemig Atende app, WhatsApp, Telegram, CemigBot and the 116 phone line. Cemig also emails each bill free of charge as a conta digital (digital bill), and bills can be paid by débito automático (direct debit).

| Option | What it covers | What it takes |
| --- | --- | --- |
| Conta digital | Each bill sent to the email address you register, from the sender domain conta.servicoscemig.com.br. | Free. Requested through WhatsApp, Cemig Atende Web or the Cemig Atende app. |
| Débito automático | Bills paid from your bank account on the due date. | Bank details entered in Cemig Atende Web, then confirmed by your bank, or set up from your bank. |
| Histórico de Leitura e Faturamento | A file with the bills of the last 60 billing cycles of an instalação. | Requested from Cemig, and the file is sent to the email address you give. |
| Cemig Atende Web by hand | Segunda via de conta, Consultar débitos, Histórico de contas, Consultar andamento de serviço and the other services Cemig lists for the web. | A Cemig Atende account, created with Cadastrar-se on the sign-in page. |

Read on November 12, 2026: [Serviços por canal de atendimento](https://www.cemig.com.br/atendimento/servicos-por-canal-de-atendimento/), [Conta digital](https://www.cemig.com.br/faturas/conta-por-e-mail/), [Manual de Atendimento Posto Cemig Fácil](https://www.cemig.com.br/wp-content/uploads/2025/12/Manual-PCFA-13.05.2021.pdf).

## Signing in to Cemig Atende

Cemig Atende asks for your Usuário (user name), then a password (Entrar com senha) or an access code (Entrar com código de acesso). You can also sign in with Facebook, Google or Apple. With Fous you sign in once through Cemig Atende's own sign-in with your own account: the login is sealed with AES-256, never returned by the API, and an expired session is signed back in.

## Worth knowing

- **One bill per instalação**: Each instalação gets its own bill, except for customers with a fatura globalizada (combined bill). Your número do cliente links all your installations, and Histórico de contas shows one instalação at a time.
- **A paid bill can still show as open**: Cemig takes up to 4 business days after the due date to record a payment. Informar conta paga is offered only when the Situação column says Vencido.
- **Service and protocol lists cover 90 days**: Andamento de serviços shows the services requested in the last 90 days, and Consulta a Protocolos de Atendimento lists the protocols of the last 90 days. Keep your own record if you need longer.
- **Low-value bills come without a barcode**: Bills with small amounts are issued with only a PIX code. A second copy issued later includes the barcode for payment.

## 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)
- [PG&E online account](https://fous.com/automate/pg-and-e-online-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)
- [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: [Sysco Shop](/automate/sysco-shop), [Standard Bank Business Online](/automate/standard-bank-business-online), [Site Cielo](/automate/site-cielo), [自然人电子税务局（扣缴端）](/automate/natural-person-e-tax-bureau-withholding), [MCA21](/automate/mca21), [Expedia Partner Central](/automate/expedia-partner-central).

## Frequently asked questions

### Does Cemig Atende have an API?

Not one that Cemig documents. Its service pages list Cemig Atende Web, the app, WhatsApp, Telegram, CemigBot and the 116 phone line. Cemig emails each bill as a conta digital and offers débito automático, but no API or file exchange for bills or requests.

### Can I see the bills of all my installations at once?

Yes, for open bills. Segunda via de conta lists every open or overdue bill under your responsibility, by instalação. Histórico de contas works one instalação at a time, so a workflow can loop over your installations and send the result by email or webhook.

### How far back does the bill history go?

Up to 60 billing cycles, by email. Cemig's service manual describes Histórico de Leitura e Faturamento, which sends a file with the bills of the last 60 cycles to the email address you give. Histórico de contas shows consumption, bill amounts and payment situation on screen for the instalação you pick.

### Why does a bill I paid still show as overdue?

Cemig can take up to 4 business days after the due date to record a payment. In that time you can use Informar conta paga on a bill whose Situação is Vencido and enter the payment date.

### Is Fous affiliated with Cemig?

No. Fous is an independent product. You use it with your own Cemig Atende 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 Cemig Atende (Cemig). 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.
