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
POST /v1/invoices or /v1/credit-notes with source references, lines, dates, and tax codes.
POST /v1/documents/{document_id}/issue freezes the commercial/tax/QR snapshot and posts the canonical journal entry.
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.