# Reporting and metrics

> Questions about contracts, invoicing, collections and usage, with an explicit definition behind every number.

Source: https://app.relvoerp.com/docs/product/en/reporting/

A revenue report is only useful if two people looking at it understand the same thing. That is why every Relvo metric has an explicit definition: what it adds up, what it excludes and **which date** it is counted against.

## The three ways to count time

This is the distinction that prevents the most confusion. Every metric is one of these three types, and mixing them is what produces reports that don't reconcile.

| Mode | Question | Examples |
| --- | --- | --- |
| **Flow** | How much happened *during* this period? | Invoiced, cash collected, usage events |
| **Snapshot** | How much was there *as of this date*? | Active contracts, MRR, ARR, overdue |
| **Projection** | How much *will be due* under the contracts? | Expected invoicing, accrued unbilled revenue |

> **Caution: A flow accumulates; a snapshot does not**
>
> Adding up twelve monthly MRR snapshots does **not** give you the year's revenue: it counts the same contract twelve times. Adding up twelve months of invoicing does give you annual invoicing. If a figure looks inflated by an order of magnitude, it is almost always a snapshot summed as if it were a flow.

## The date you count against

A single document has several dates, and choosing which one to use changes the result. Relvo treats them as distinct, named fields, never as just "the date":

| Date | What it marks |
| --- | --- |
| Issuance | When the document was issued |
| Draft | When it was generated, not yet issued |
| Due date | When it was supposed to be paid |
| Cash application | When money was applied to a document |
| Service period | The period the charge covers |
| Usage | When the usage event occurred |

A contract invoiced on July 31 for July service and paid on August 12 shows up in July or in August depending on which of these dates you choose. Neither answer is wrong; what would be wrong is not knowing which one was used.

## What you can ask

**Contracts** — created in the period, active as of a date, nearing expiry, contracted MRR, ARR, active customers.

**Invoicing** — number and amount issued, net amount, taxes, credit notes and debit notes, net invoiced amount after corrections, unissued drafts.

**Collections** — cash collected, overdue amount, overdue documents.

**Usage** — number of events and aggregated usage per billable metric.

**Projection** — expected invoicing for the period, expected accrued revenue, and accrued revenue not yet invoiced.

> **Key rule: MRR and ARR are not 'all invoicing'**
>
> Contracted MRR adds up **only fixed charges from active contracts**, normalizing non-monthly cadences to their equivalent monthly rate. Variable usage is excluded: by definition it is not committed recurring revenue.
>
> That is the right way to measure the recurring base, and it is exactly why it will not match what was invoiced in a month with heavy usage. They are two different questions.

## Breakdowns

Any metric can be broken down by customer, contract status, billing interval, currency, billable metric, charge type, pricing model or item.

Relvo deliberately restricts some combinations, because they produce numbers with no commercial meaning:

- Aggregated usage requires choosing **one** billable metric. Adding conversations to gigabytes means nothing.
- Breaking down by item requires a metric that exists at line level.
- A breakdown by a high-cardinality dimension—customers, for example—requires filtering or limiting first, instead of returning ten thousand unreadable series.

## Invoiced is not collected

These are three different figures, and Relvo keeps them separate:

| Figure | What it is |
| --- | --- |
| Invoiced | Documents issued in the period |
| Collected | Money actually applied to documents |
| Outstanding | Issued balance not yet collected |

Cash collected counts only **current** applications of **successful** payments: if a reconciliation is reversed, that money stops counting, with no need to recalculate anything by hand.

**Example: July in three figures**

| Figure | Amount |
| --- | ---: |
| Contracted MRR as of July 31 (snapshot) | USD 12,400 |
| Invoiced in July (flow) | USD 18,930 |
| Collected in July (flow) | USD 15,200 |

They do not contradict each other. Invoicing exceeds MRR because of variable usage and one-time charges; collections lag behind because of 30-day payment terms.

## API

Reports are read with the `reports:read` scope under `/api/v1/public/reports/`: `mrr`, `arr`, `active-contracts`, `active-customers`, `average-revenue`, `invoice-count`, `invoiced-revenue`, `revenue-trend`, `revenue-concentration`, `top-revenue` and `receivables-aging/customers` (with the per-customer detail at `receivables-aging/customers/{customer_id}/invoices`, paginated with `limit`—50 by default, maximum 200—and `cursor`, and always limited to that customer's invoices). Amounts are transmitted as decimal strings with their currency's precision (for example, UF—Chile's inflation-indexed unit of account—with 4 decimal places and CLP with none).

- [Revenue recognition](https://app.relvoerp.com/docs/product/en/revenue-recognition.md): When billed revenue becomes earned revenue, and the per-customer report.
- [Payments and reconciliation](https://app.relvoerp.com/docs/product/en/payments-reconciliation.md): Where cash collected comes from.
- [Charge calculations, pre-invoices and invoices](https://app.relvoerp.com/docs/product/en/invoicing-collections.md): The statuses behind invoiced and outstanding.
- [Contracts and phases](https://app.relvoerp.com/docs/product/en/contracts.md): The basis for recurring metrics.
