# Invox Docs Electronic invoicing for Peru (SUNAT), built to be operated by agents. Full documentation (discoverable current pages, one document): https://docs.invox.page/llms-full.txt ## Pages - [Overview](https://docs.invox.page/index.md) — Guides for integrating this API, generated from the code that serves it. Start with the first page and follow the links. - [Invox API](https://docs.invox.page/api/llms.txt) - [Errors](https://docs.invox.page/errors/index.md) — How to read an error and act on it without guessing; the full catalog. - [The first invoice, in test mode](https://docs.invox.page/first-invoice/index.md) — Issue a test invoice end to end: series, preview, the call, and what the answer means. - [Following an invoice to its outcome](https://docs.invox.page/follow-invoice/index.md) — Waiting on the invoice or on the event stream (no public URL needed) and reading its files and emails. - [Activating production](https://docs.invox.page/going-to-production/index.md) — The whole path in order: the access list, the activation request with its SUNAT screenshots, the staff's review and the activation. - [Members and invitations](https://docs.invox.page/people/index.md) — Who can do what, and how a person joins an organization: only by invitation. - [Production readiness](https://docs.invox.page/production/index.md) — What is still missing to issue for real, who must do each thing, and what changes when it is done. - [Reference: routes, permissions and limits](https://docs.invox.page/reference/index.md) — Every route with the permission it needs and how a retry is made safe; the scopes; the limits. - [The sales report (CSV)](https://docs.invox.page/reports/index.md) — The invoices of a period as a spreadsheet, in one call. - [Getting a credential](https://docs.invox.page/start/index.md) — From the base URL to a credential that acts on an organization, without any screen of ours. - [Invoice templates](https://docs.invox.page/templates/index.md) — How to write, look at, validate, publish and promote the design of the printed invoice: the language, the functions, the data, the paper and what SUNAT requires. - [Test mode: scenarios and provider conditions](https://docs.invox.page/test-mode/index.md) — Provoking every outcome (accepted, rejected, pending, a blocked provider account) without touching anything real. - [Voiding and correcting](https://docs.invox.page/void-and-correct/index.md) — The two irreversible actions: each needs the token of its own preview. - [Webhooks](https://docs.invox.page/webhooks/index.md) — Receiving events at a URL: verifying the signature, discarding duplicates, and reconciling with the event stream.