Invoices
Revert Invoice to Draft
POST
Reverts a booked invoice to DRAFT state, preserving the original displayId for rebooking. By default, only if no notifications have been sent, not on Peppol, and within one week. With force: true, super admins may bypass those rules.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringapplication/json- body
force?booleanOK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs/string/invoices/string/revert-to-draft' \ -H 'Content-Type: application/json' \ -d '{}'nullRecalculate Invoice POST
Recalculates all amounts for an invoice including subtotal, tax, total, amount paid, and outstanding amount. Also updates payment status.
Restore Invoice Version POST
Restores the invoice lines and product actions captured on an earlier revert-to-draft event. If the invoice is currently booked it is reverted to draft first (with force: true, super admins may bypass the revert window).