GET api/2.0/crm/{entityType}/invoicelist/{entityid} This function requires authentication

Description

Returns a list of all the invoices related to the entity with the ID and type specified in the request.

Parameters
Name Description Type Example
entityType
sent in url
Invoice entity type string some text
entityid
sent in url
Invoice entity ID number 1234
Example
GET api/2.0/crm/%22some+text%22/invoicelist/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of invoices

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "id": 1234
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <id>1234</id>
  </response>
</result>