Get Started
Portal api methods
Help

PUT api/2.0/crm/invoice/status/{status} This function requires authentication

Description

Updates the status of invoices with the IDs specified in the request

Parameters
Name Description Type Example
status
sent in url
Status Draft, Sent, Rejected, Paid, Archived
invoiceids
sent in body
Invoice ID list System.Int32[]
Example
PUT api/2.0/crm/invoice/status/0
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "invoiceids": [
    1234
  ]
}
Returns

KeyValuePair of Invoices and InvoiceItems