Update Invoice Status crm.invoice.status.update

Scope: crm

Who can execute the method: any user

The method crm.invoice.status.update returns the status of an invoice by its identifier.

Warning

Starting from version 19.0.0, it is recommended to use the method crm.status.update

Method Parameters

Name
type

Description

id*
integer

Identifier of the invoice status

fields*
array

Set of fields — an array in the form array("field_to_update"=>"value"[, ...]), where "field_to_update" can take values from the method crm.invoice.status.fields.

Note

To find out the required format of the fields, execute the method crm.invoice.status.fields and check the format of the returned values for these fields.