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

# Workspace

> How to read a document's status, timeline, failures, related documents, files, and delivery.

The Stamping workspace joins each accounting document with its fiscal and delivery history.

## Read a document

1. Start with the status and current phase.
2. Read the latest note for the affected subject and observed values.
3. Follow related parents, payments, credits, or cancellations.
4. Check whether the SAT UUID and required files exist.
5. If the document failed, use its `operation.reason` key to find the exact meaning and safe action.

## Separate the layers

| Layer             | Evidence                                                              |
| ----------------- | --------------------------------------------------------------------- |
| Accounting source | CargoWise identity, amounts, relationships, and captured source       |
| Fiscal lifecycle  | Not issued, issued, cancelled, or external                            |
| Processing        | Received, validating, ready, submitting, provider pending, or waiting |
| Failure           | Open, recovering, or resolved incident with an `operation.reason` key |
| Files             | Stored XML, PDF, cancellation XML, and integrity evidence             |
| Delivery          | Lambda outbound result for each CargoWise inbound file                |

A document can be fiscally issued while delivery is incomplete. Check the SAT UUID and file state
before deciding which recovery path owns the next step.

Use [Statuses](/stamping/statuses) to interpret the current state,
[Failures](/stamping/failures) to understand a stopped operation, and
[Error reference](/stamping/error-reference) to look up its exact key.
