Invoices
Recalculate Invoice
Access
Member of the organization with this permission:
invoices:write
An API key with scopes also needs the permission among its scopes.
POST
Recalculates all amounts for an invoice including subtotal, tax, total, amount paid, and outstanding amount. Also updates payment status.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringOK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//invoices/string/recalculate'Example Response
nullReverse Invoice POST
Creates a new draft invoice with reversed type (credit note becomes invoice, invoice becomes credit note) and negated amounts.
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.