Invoices
Annul invoice
Annuls a posted invoice as of the given date, reversing its transactions.
POST
Annul invoice
Annulling an invoice
Annulment reverses a posted invoice without deleting it. The reversing transactions are dated onatDate, which must fall within an editable fiscal year and VAT period.
Use annulment (rather than deletion) when the invoice has already been issued to the customer or when its fiscal year is closed.Authorizations
API token for authentication. Obtain from your Infinity account settings.
Path Parameters
The id of the invoice.
Body
application/json
The date of the annulment.
Request body for annulling an invoice.
The effective annulment date in YYYY-MM-DD format. Used to date the reversing transactions.
Response
The invoice was annulled successfully.
The full representation of a customer invoice.
Annul invoice