Invoices
Resource 'Invoices' operations.
List your invoices
Returns the flat list of your invoices, sorted by most recent first.
Send an invoice (UBL)
Uploads an invoice file to A-Cube. Currently only UBL 2.1 XML files are accepted; support for Factur-X and CII will be added in the next future
Get one of your invoices by uuid
Returns the invoice matching `uuid`. Responds 404 if the uuid is unknown or belongs to another tenant.
Get the current lifecycle status for an invoice
Returns the current lifecycle status of an invoice.
Get the chronological lifecycle event history for an invoice
Returns the full sequence of lifecycle events recorded upstream for the invoice. Owner-scoped.
Send a lifecycle event for an invoice
Submits a status transition for the invoice (e.g. REFUSED, APPROVED, PAYMENT_RECEIVED). The upstream provider processes the event asynchronously and emits follow-up status callbacks. Returns 202 on success. Returns 422 if `invoiceStatus` is not a known InvoiceStatus value. Owner-scoped.
Download a human-readable PDF rendering of the invoice
Streams a PDF rendering of the invoice.
Download the original invoice payload
Streams the original invoice payload (UBL XML / Factur-X PDF / CII XML) for the invoice identified by `uuid`.