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

# Processing invoices

> The lifecycle of an invoice from ingest to delivery, and how to work it in the dashboard.

Every invoice that enters equate becomes a [job](https://equatetravel.ai/docs/guides/concepts.md#jobs) and moves through
a predictable lifecycle. This guide walks that path and shows where you step in.

## The lifecycle

**1. Ingest → QUEUED**

A document arrives through a [connector or upload](https://equatetravel.ai/docs/guides/connectors.md) and a job is
created in `QUEUED`.

**2. Classify**

The [Classify agent](https://equatetravel.ai/docs/platform/classification-engine.md) checks it's an invoice and
which copy it is. Statements, reminders and other non-invoices are set aside in
**Logs → Files**, labelled with what they are.

**3. Extract → PROCESSING → EXTRACTED**

An [agent](https://equatetravel.ai/docs/guides/agents.md) reads the document and extracts travel-aware fields —
supplier, reference, dates, totals, passengers, cabins, flights, and more. Which
fields populate depends on the trip type.

**4. Match → MATCHING → MATCHED / NEEDS\_REVIEW / NOT\_MATCHED**

The invoice is compared against your [booking data](https://equatetravel.ai/docs/guides/concepts.md#booking-data),
scoped by [supplier](https://equatetravel.ai/docs/guides/suppliers.md). The match carries a **decision**:
`AUTO` auto-completes, `REVIEW` lands in the queue, `NONE` means no booking matched.

**5. Act → ACTIONED**

The pipeline's [actions](https://equatetravel.ai/docs/guides/actions.md) for that outcome run — export, webhook,
email or FTP — and the job moves to `ACTIONED` (or `ACTION_FAILED` if a delivery
still fails after three attempts).

## Kicking off processing

* **Automatically** — wire a [pipeline](https://equatetravel.ai/docs/guides/pipelines.md) with an **on upload** or
  **scheduled** trigger and everything that arrives is processed hands-off.
* **Manually** — open a job and run it, or re-run a source's jobs from the dashboard.

> [!NOTE]
>
> Processing runs as a durable, multi-step workflow, so a transient failure (a flaky
> download, a rate-limited model) is retried automatically rather than losing the job.

## Working a single job

Open any job to see:

* the **original document** (a secure, time-limited preview link);
* the **extracted fields**, editable inline;
* the **match result** — which booking, the confidence, and a field-by-field comparison;
* an **activity log** of every stage change, flag, assignment and edit;
* **notes** and **feedback** from your team.

## Test mode

Run a source or pipeline in **test mode** to process documents end-to-end without firing
side-effecting actions (no webhooks, emails or FTP uploads). Ideal for validating a new
agent or pipeline against real invoices safely.

## Exporting

Export an individual job as **JSON** or **CSV** from its page, or download the original
file. For bulk, automated delivery, use [pipeline actions](https://equatetravel.ai/docs/guides/pipelines.md) and
[export options](https://equatetravel.ai/docs/guides/pipelines.md#delivery-formats).

> [card] [Next: working the review queue](https://equatetravel.ai/docs/guides/reviewing-exceptions.md)
>
> How to work Need Review, flag jobs, and feed corrections back to improve matching.


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