> ## Documentation Index
> Fetch the complete documentation index at: https://docs.watt.ma/llms.txt
> Use this file to discover all available pages before exploring further.

# Bill all client types on watt.ma

> Generate and track invoices for all customer account types on watt.ma: individuals, residents, companies, and municipalities.

Billing is the process that turns recorded charges in the ledger into payable documents and collections. watt.ma covers the complete cycle, from compiling unbilled charges to reconciling payments, for all account types: individuals, residents, companies, fleets, and municipalities.

## Overview

The invoice lifecycle follows a linear progression with a documented failure path:

```text theme={null}
Unbilled charges → Invoice generation → Invoice issued → Payment attempt → Paid
```

In case of failure:

```text theme={null}
Invoice issued → Payment failed → Unpaid balance → New attempt / external payment → Paid
```

<Note>
  This module serves as the general page for all account types. For condominium-specific billing, see the page [Resident invoices](/en/rapports/factures-residents).
</Note>

## Invoice statuses

| Status             | Meaning                                                                     |
| ------------------ | --------------------------------------------------------------------------- |
| **Draft**          | Invoice being edited, not yet visible to the customer                       |
| **Issued**         | Invoice validated by the administrator, sending pending                     |
| **Sent**           | Invoice delivered to the customer by email or portal                        |
| **Paid**           | Full collection confirmed                                                   |
| **Partially paid** | Part of the amount received, a balance remains due                          |
| **Overdue**        | Due date passed and balance is not zero                                     |
| **Cancelled**      | Invoice cancelled without credit note; rare, reserved for generation errors |
| **Credited**       | Invoice fully offset by a credit note                                       |

## Invoice fields

Each invoice generated by watt.ma contains the following sections:

### Provider

| Field      | Example                                 |
| ---------- | --------------------------------------- |
| Legal name | Clean Charge Morocco SARL               |
| Address    | 12, bd Mohamed VI, 20000 Casablanca     |
| Logo       | Logo configured in the operator account |
| ICE        | 001234567000089                         |
| IF         | 12345678                                |
| Contact    | contact@ example.com                    |

### Customer

| Field           | Example                                      |
| --------------- | -------------------------------------------- |
| Name            | Atlas Logistics SARL                         |
| Billing address | 45, zone industrielle Sidi Ghanem, Marrakech |
| Billing account | CF-042-ATLAS                                 |
| ICE             | 009876543000012                              |

### Metadata

| Field      | Example                 |
| ---------- | ----------------------- |
| Number     | F-2024-0042             |
| Issue date | 15/04/2024              |
| Period     | 01/04/2024 – 30/04/2024 |
| Due date   | 30/04/2024              |
| Currency   | MAD                     |
| Status     | Paid                    |

## Typical summary

Here is what the summary table of a typical monthly invoice looks like:

```text theme={null}
Previous balance                120.00 MAD
Subscription                     50.00 MAD
Sessions                        318.40 MAD
Connection fee                   10.00 MAD
Idle fee                         25.00 MAD
Discounts                       -20.00 MAD
Credit notes                    -15.00 MAD
----------------------------------------
SUBTOTAL excl. tax      388.40 MAD
VAT (20 %)               77.68 MAD
----------------------------------------
TOTAL DUE               466.08 MAD
```

## Detailed invoice lines

For each session, the invoice shows a level of detail letting the customer verify each charge:

| Column             | Example                    |
| ------------------ | -------------------------- |
| **Session**        | WAT-000183                 |
| **Site**           | Green Energy Park          |
| **Charger**        | CP-001                     |
| **Connector**      | 1                          |
| **Driver**         | Driver 02                  |
| **Vehicle**        | Renault Zoe (if available) |
| **Start**          | 15/04/2024 14:32           |
| **End**            | 15/04/2024 17:45           |
| **Plug duration**  | 3h13                       |
| **Energy**         | 48.7 kWh                   |
| **Price / kWh**    | 2.50 MAD                   |
| **Energy amount**  | 121.75 MAD                 |
| **Connection fee** | 5.00 MAD                   |
| **Inactive time**  | 0h30                       |
| **Idle fee**       | 0.00 MAD                   |
| **Discount**       | -10.00 MAD                 |
| **Tax**            | 23.35 MAD                  |
| **Line total**     | 140.10 MAD                 |

<Note>
  Idle fees and discounts depend on site and tariff configuration. See [Tariffs](/en/sessions/tarifs) to configure these lines.
</Note>

## Invoice vs. receipt distinction

watt.ma distinguishes between the two documents:

* **Invoice**: mandatory accounting document for any professional in Morocco, with ICE, IF, sequential numbering, and VAT 20 %. Intended for accounting and tax declaration.
* **Receipt**: simplified document generated immediately after a QR or RFID payment. The public QR receipt may be sufficient for a customer not requesting a formal invoice. It does not contain full fiscal mentions.

For immediate individual payments, the receipt is often sufficient. For business and resident accounts, the formal invoice is mandatory.

## DGI Moroccan compliance

watt.ma guarantees that every issued invoice complies with the requirements of the Direction Generale des Impots:

* **ICE** (Identifiant Commun de l'Entreprise): mentioned in the header
* **IF** (Identifiant fiscal): required for any legal entity
* **Sequential numbering**: each invoice number follows a continuous sequence without interruption
* **VAT 20 %**: applied and detailed on all taxable services

## Permissions

| Action               | Admin | Operator | Reader |
| -------------------- | :---: | :------: | :----: |
| Create draft invoice |  Yes  |    Yes   |   No   |
| Issue invoice        |  Yes  |    No    |   No   |
| Cancel invoice       |  Yes  |    No    |   No   |
| Send invoice         |  Yes  |    Yes   |   No   |
| View invoices        |  Yes  |    Yes   |   Yes  |
| Download PDF         |  Yes  |    Yes   |   Yes  |

## See also

<CardGroup cols={2}>
  <Card title="Resident invoices" icon="building" href="/en/rapports/factures-residents">
    Discover the specifics of condominium billing.
  </Card>

  <Card title="Billing cycles" icon="calendar" href="/en/rapports/cycles-facturation">
    Manage closing dates, due dates, and automatic collection modes.
  </Card>

  <Card title="Charge ledger" icon="receipt" href="/en/sessions/registre-charges">
    Trace each invoiced line back to its original session.
  </Card>

  <Card title="Export data" icon="download" href="/en/rapports/exporter-donnees">
    Retrieve invoices and accounting details in CSV or Excel format.
  </Card>
</CardGroup>
