# Revenue recognition

> How Relvo decides when invoiced revenue is recognized, records it in an immutable accounting subledger, and reports it per customer.

Source: https://app.relvoerp.com/docs/product/en/revenue-recognition/

Invoicing revenue and recognizing it are two different facts. An annual subscription charged up front is **invoiced** in January but **earned** month by month across the year. Relvo keeps the two apart following ASC 606 / IFRS 15: every invoiced line carries a recognition instruction, and that instruction produces balanced journal entries in a subledger that is never edited.

## Each line's recognition instruction

Every invoice line states **how** its revenue is recognized. There are four methods:

| Method | When revenue is recognized | Period |
| --- | --- | --- |
| `point_in_time` | All at once, on the issue date | None |
| `straight_line` | Evenly per day across a period | Required (`recognition_period`) |
| `usage` | As the service is consumed | None |
| `milestone` | When the related milestone is completed | None |

A line can also name the **performance obligation** its revenue is allocated to (`performance_obligation_id`).

The instruction is frozen when the invoice is issued. Because an open invoice is immutable, so is the way it is recognized: changing it takes a credit or debit note, exactly as for the amount.

### When a line has no instruction

A line without an explicit instruction is not left undefined. When the invoice is issued, Relvo freezes a default method using the first rule that applies:

1. If the line states its **service period**, it is recognized `straight_line` over that period.
2. If the line states no period but the invoice states a **billing period**, it is recognized `straight_line` over that period.
3. With no period at all, it is recognized `point_in_time` on the issue date.

> **Key rule: The default is decided once**
>
> An explicit instruction is always kept. The default is computed once, at issuance, from the invoice itself — never from the contract — and is never reinterpreted afterwards: changing a contract's configuration does not rewrite how an already-issued invoice is recognized.

## From method to journal entry

Every issued invoice produces a **recognition schedule**: the journal entries due and the date of each.

- **`point_in_time`**: a single entry on the issue date, *Debit* accounts receivable / *Credit* revenue.
- **`straight_line`**: an opening entry on the issue date that moves the full amount to deferred revenue (*Debit* accounts receivable / *Credit* deferred revenue), followed by one entry per calendar-month slice of the period, dated at the end of the slice, that releases the earned share (*Debit* deferred revenue / *Credit* revenue). The amount is split by the days in each slice and the last slice absorbs the rounding, so the entries add up exactly to the line.
- **`usage`** and **`milestone`**: not recognized from the invoice. They need a separate event proving the obligation was satisfied.

Every entry is balanced and in the invoice's original currency; the subledger does not convert currencies.

**Example: An annual subscription charged up front**

A USD 12,000 line, `straight_line` from January 1 to December 31, on an invoice issued January 1:

| Date | Debit | Credit | Amount |
| --- | --- | --- | ---: |
| January 1 | Accounts receivable | Deferred revenue | 12,000.00 |
| January 31 | Deferred revenue | Revenue | 1,019.18 |
| February 28 | Deferred revenue | Revenue | 920.55 |
| … | … | … | … |
| December 31 | Deferred revenue | Revenue | the remainder |

January has 31 of 365 days: 12,000 × 31 / 365 = 1,019.18. December receives whatever is left to reach exactly 12,000.

## A subledger that only grows

Recognition entries live in an **append-only** subledger: they are never edited or deleted. A correction is a new reversing entry, visible next to the original. If an invoice's registration is replaced, the previous one is marked as superseded instead of disappearing, so you can always audit what was recorded and when.

Relvo also tracks **coverage**: which invoices already have their recognition source registered and which do not. An invoice without a registration is never silently counted as zero; it shows up as a coverage gap.

### Closing the accounting month

The accounting month is managed per legal issuer. A month with no decision is open. Closing it requires three conditions: the month has ended, no due entries remain unposted, and no invoice lacks a recognition source. Closing or reopening requires a written reason and is versioned. Closing a month changes no entry: it only records the decision.

## Recognition by customer in Reporting

**Reporting** includes the **Revenue recognition by customer** report: a month-by-month waterfall of what each customer has recognized, been billed and has deferred, with a drill-down to their billing accounts.

- The headline figures show, for the selected month, what was **Recognized**, what was **Billed**, and the deferred balance at month end.
- The deferred roll-forward starts from **Opening deferred**, adds what was billed in the month, separates what was **Billed for earlier months** — service already delivered, recognized on issuance without passing through deferred — and subtracts what was recognized to reach **Closing deferred**.
- Each column is a month. Months up to the selected one show what was recognized; the following months, in gray, show what is already billed and scheduled. The **Horizon** sets how many months are shown.
- At the end, **Remaining** is the deferred revenue at the close of the selected month, **Later** is what remains to recognize after the last month shown, and **Total** is what was recognized plus everything still pending.
- You can **Export CSV**.

The report only includes what has already been invoiced: it does not project contracts. Accepted credit and debit notes adjust the month they are issued in. An amount in another currency with no exchange rate available is left out of the report and flagged: it is never counted as zero. Documents still pending acceptance by the SII (Chile's tax authority) are included, with a note saying so.

> **Caution: This is a management report, not a journal entry**
>
> The waterfall answers "how much of what we billed have we earned?" to run the business. The accounting truth is the entries posted in the subledger. If the two figures differ, the subledger is the one that counts for accounting.

### Lines without a period

An invoiced line that does not state the period it covers is recognized, in the report, on its issue date. That can concentrate revenue that really belongs to several months into one. When such lines exist, the report shows a notice with the link **Review lines without a period**.

The **Lines without a period** queue lets you assign a period to a selection of lines, or accept the suggestion Relvo reads from the line's text (for example, "Servicio marzo 2026"), with high, medium or low confidence. Nothing counts until you confirm it.

Assignments are kept as a history — the latest one wins — and **only affect the report**: they change neither the issued invoice nor the subledger entries.

To decide which period a line falls in, the report uses the first available source:

1. The recognition period of a `straight_line` instruction.
2. The line's service period.
3. The latest assignment confirmed in the lines-without-a-period queue.
4. The invoice's billing period.
5. The issue date.

## Integration

**Public API.** When you create an invoice through `/api/v1/public`, each line accepts a `revenue_recognition` object with `method`, `recognition_period` (only for `straight_line`) and an optional `performance_obligation_id`. If you omit it, the default method described above applies. Invoices read through the API always return each line's frozen `revenue_recognition`.

**MCP server.** With the `reports:read` scope, an agent can audit recognition without writing anything:

| Tool | What it answers |
| --- | --- |
| `relvo_report_posted_recognition_get` | **Posted** recognized and deferred revenue for a legal issuer, with paginated journal evidence (a range of up to 366 days) and coverage gaps |
| `relvo_revenue_schedule_get` | An invoice's planned schedule, slot by slot, and whether each slot is unposted, posted or reversed. A plan is not recognized revenue |
| `relvo_recognition_ledger_get` | An invoice's posted entries, with their reversals and whether the registration is current or superseded |
| `relvo_recognition_period_get` | Whether an issuer's accounting month is open or closed, with the reason, the version and what is still missing to close it |

- [Reporting and metrics](https://app.relvoerp.com/docs/product/en/reporting.md): Billed, collected and the other business metrics.
- [Credit and debit notes](https://app.relvoerp.com/docs/product/en/credit-debit-notes.md): How an issued invoice is corrected, including its recognition.
- [MCP server](https://app.relvoerp.com/docs/product/guides/mcp.md): Connect an agent with read-only scope.
