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

# Invoices

> What you invoiced on Contracts, what state it is in, and what is still owed to you.

How much did we invoice, and what is overdue? This page reports billing documents rather than revenue, so the amounts here include tax.

It lives on **Analytics > Invoices**.

## What's on this dashboard

Every amount here is an invoice total, so **tax is included**.

| Chart | What it answers | Values | Behavior |
| - | - | - | - |
| Invoiced amount by type | What did I invoice, by invoice type? | 💰 Money (incl. tax) | Activity |
| Invoice status | How many invoices sit in each stage? | #️⃣ Count | Activity |
| Finalized invoice payment status | Did finalized invoices get paid? | #️⃣ Count | Activity |
| AR aging | How overdue is what I am owed? | 💰 Money (incl. tax) | Photo of today |
| Outstanding revenue exposure | How much am I owed in total? | 💰 Money (incl. tax) | Photo of today |
| Invoice list | Which exact invoices? | 💰 Money (incl. tax) | Activity |

AR aging and outstanding revenue exposure are a **photo of today**: they show what you are owed right now. The rest is **activity**, dated on the invoice's issuing date, so each value covers the period it sits in.

> [!NOTE]
>
> **This will not match [Revenue streams](https://getlago.com/docs/v2/guide/analytics/revenue/revenue-streams.md).** Tax, dates and credit notes all work differently there. See the last question below.

## Invoiced amount by type

Finalized invoices only, at their full total.

| Invoice type | What it is |
| - | - |
| `contract` | The invoice Lago issues for a Contract's billing period. See [Invoicing](https://getlago.com/docs/v2/guide/invoicing/overview.md) |
| `advance_charges` | An invoice that groups fees already paid in advance |

| | Counted? | If not, where is it? |
| - | - | - |
| A finalized invoice, at its full total with tax | ✅ Yes | |
| An invoice for a partner account, or a self-billed one | ✅ Yes | |
| A draft, voided, failed or pending invoice | ❌ No | The invoice status chart, below |
| The same revenue without tax, fee by fee | ❌ No | [Revenue streams](https://getlago.com/docs/v2/guide/analytics/revenue/revenue-streams.md) |

## Invoice status and payment status

Invoice status is the one chart that counts **every** invoice: draft, finalized, voided, failed and pending. Payment status covers finalized invoices only, split pending, paid and failed. Deleting a [draft](https://getlago.com/docs/v2/guide/invoicing/draft-invoices.md) removes it from both.

> [!WARNING]
>
> **Both read today's state, not the state at the time.** An invoice issued in March and voided in June is counted as voided in March's bar. That is why a closed month can change after you close it.

## AR aging and outstanding revenue exposure

Both answer "what is owed to me right now". Same population, two views: aging splits it by how overdue it is, exposure totals it per currency.

| | Counted? | If not, where is it? |
| - | - | - |
| A finalized **Contract** invoice with money still owed | ✅ Yes | |
| A partly paid invoice, at the amount still owed | ✅ Yes | |
| An `advance_charges` invoice | ❌ No, for now | The invoice list, filtered on outstanding or overdue |
| A fully paid invoice | ❌ No | Nothing is owed on it |
| An invoice not yet finalized | ❌ No | The invoice status chart, above |

| Bucket | Meaning |
| - | - |
| Not yet due | The due date has not passed. Shown last |
| 1-30 days past due | Overdue by up to a month |
| 31-60 days past due | Overdue by one to two months |
| 61-90 days past due | Overdue by two to three months |
| 91-120 days past due | Overdue by three to four months |
| More than 120 days past due | Overdue by more than four months |

## Filters

| Filter | What it does |
| - | - |
| Date range | Sets the period. With nothing set, the charts show your full history |
| Granularity | Sets the bar width: day, week or month |
| Invoice number | Isolates a single invoice across the whole page |
| Currency | Keeps one invoice currency |
| Country | Keeps customers in one country |
| Customers | Keeps one or more named customers |
| Customer type | Keeps companies or individuals |
| Plan code | Keeps invoices containing a Contract on one Plan. Use `custom_contract` for Contracts without a Plan |
| Contract ext. ID | Keeps invoices containing one Contract |
| Customer has tax ID | Keeps customers with, or without, a tax ID on file |

⚠️ **AR aging and outstanding revenue exposure ignore the date range and granularity.** They are a photo of today, on purpose.

⚠️ Plan code and Contract ext. ID keep an invoice if **any** Contract on it matches. An invoice covering several Contracts still shows up, with its other Contracts included.

⚠️ Plan code and Contract ext. ID read data built by the nightly run. An invoice finalized today matches them from tomorrow.

## What's not included (for now)

* **Unpaid advance-charge invoices, in AR aging and exposure.** Both views count Contract invoices only. The invoice list has no such limit: it carries an outstanding amount and an overdue flag for every invoice type.
* **Deleted drafts.** Deleting a draft removes it everywhere.
* **Revenue without tax.** Every amount here is an invoice total. See [Revenue streams](https://getlago.com/docs/v2/guide/analytics/revenue/revenue-streams.md).

## Common questions

> [accordion] I set a date range and AR aging didn't change.
>
> It never does. AR aging and outstanding revenue exposure are a photo of today's receivables, so they ignore the date range on purpose. Every other chart on the page respects it.

> [accordion] We voided an invoice from March. Why did March's finalized total drop?
>
> Because status is read as it stands today. A [voided](https://getlago.com/docs/v2/guide/invoicing/void.md) invoice is no longer finalized, so it leaves the finalized figures for the month it was issued.

> [accordion] Why is a partly paid invoice still in AR aging?
>
> Because aging tracks the balance, not the invoice. It appears at the amount still owed, in the bucket matching its due date.

> [accordion] Why doesn't invoiced amount match revenue streams?
>
> Three differences. Tax is included here and excluded there. Amounts land on the issuing date here, and on the day the fee was created there. And an invoice total already has credit notes applied, while [Revenue streams](https://getlago.com/docs/v2/guide/analytics/revenue/revenue-streams.md) shows them as a separate line.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.