DocsSource and accountingDocuments And Issue Flow
104 operations ↓ OpenAPI JSON Get API key
Canonical document posting

Documents And Issue Flow

Sales documents are created through invoice or credit-note endpoints, then issued through POST /v1/documents/{document_id}/issue. Issue-time validation freezes party data, tax snapshots, QR payload evidence, document numbers, archive metadata, and canonical journal posting. QR-bill validation is atomic: if settings are invalid, no number, frozen line, archive row, journal entry, or issue event is consumed.

Draft to issued

1
Create draft

POST /v1/invoices or /v1/credit-notes with source references, lines, dates, and tax codes.

2
Issue

POST /v1/documents/{document_id}/issue freezes the commercial/tax/QR snapshot and posts the canonical journal entry.

3
Read evidence

GET /v1/documents/{document_id} and /pdf return status, totals, journal links, archive metadata, and QR payload hashes.

Related API reference

Use the endpoint reference pages for request schemas, response bodies, status codes, and examples generated from the live OpenAPI contract.