API

Cancel an invoice or confirm payment

POST/api/crm/v2/invoices.updatev2
operationId: invoices.update

Cancels an invoice or confirms payment. type=accrual confirms payment and credits funds, type=annul cancels the invoice. Accounting permission required.

Authorization

api-token + language + role

Request body application/json

object
idintegerrequired

Example: 21347

typestringrequired

Values:accrualannul

Responses

OK

object
statusstringrequired

Values:successerror

Example: success

dataobject