Invoices
Recalculate Invoice
Accès
Membre de l’organisation avec cette autorisation :
invoices:write
Une clé API avec des scopes doit aussi avoir l’autorisation dans ses 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.