Invoices
Recalculate Invoice
Acceso
Miembro de la organización con este permiso:
invoices:write
Una clave API con scopes también necesita el permiso entre sus 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.