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

# Unbilled revenue

> Recognize revenue before it is billed, and reverse it when billed.

**Unbilled revenue** is revenue you have earned but not yet billed. In Enso it is
recognized at the **invoice line item** level: you mark a line item as unbilled
to recognize revenue now, then mark it as billed to reverse the unbilled amount
once the actual bill is raised.

***

## Mark as Unbilled

From an invoice line item's actions, choose **Mark as Unbilled**:

| Field               | Required | Notes                                         |
| ------------------- | -------- | --------------------------------------------- |
| `dateOfRecognition` | yes      | The month this revenue is recognized in.      |
| `amount`            | no       | Defaults to the line item's total if omitted. |
| `comments`          | no       | Optional note.                                |

This creates an `unbilled` revenue row for the recognition month and moves the
invoice into its **unbilled** state.

<Note>
  Only available while the invoice is in **`draft`** or **`unbilled`** state.
</Note>

***

## Mark as Billed

When the line item is actually billed, choose **Mark as Billed** with a
`dateOfBilling`. Enso reverses the previously recognized unbilled amounts
(writing offsetting `unbilled` rows) and, if the invoice was in the unbilled
state, transitions it back.

***

## Relationship to reports

Unbilled rows appear in the **Unbilled** report and are excluded from the billed
Total for draft/unbilled/approved invoices. See
[Revenue reports](/docs/revenue-recognition/reports).
