GET api/2.0/crm/invoiceitem/filter This function requires authentication

Description

Returns a list of invoice items matching the parameters specified in the request.

Parameters
Name Description Type Example
status
sent in url
Invoice status number 1234
inventoryStock
sent in url
Specifies if the inventory is tracked or not
optional
Bool value true
Example
GET api/2.0/crm/invoiceitem/filter?status=1234&inventoryStock=true
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of invoice items

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "Title": "Title",
      "StockKeepingUnit": "StockKeepingUnit",
      "Description": "Description",
      "Price": 12.0,
      "Currency": {
        "Title": "Chinese Yuan",
        "Symbol": "¥",
        "Abbreviation": "CNY",
        "CultureName": "CN",
        "IsConvertable": true,
        "IsBasic": false
      },
      "StockQuantity": "2.2",
      "TrackInvenory": true,
      "InvoiceTax1": {
        "Name": "Name",
        "Description": "Description",
        "Rate": "Rate",
        "CreateOn": "2020-12-14T22:13:41.5378233Z",
        "CreateBy": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "DisplayName": "Mike Zanyatski",
          "Title": "Manager",
          "AvatarSmall": "url to small avatar",
          "ProfileUrl": "\\/Products\\/People\\/Profile.aspx?user=administrator"
        },
        "CanEdit": true,
        "CanDelete": true,
        "id": 1234
      },
      "InvoiceTax2": {
        "Name": "Name",
        "Description": "Description",
        "Rate": "Rate",
        "CreateOn": "2020-12-14T22:13:41.5378233Z",
        "CreateBy": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "DisplayName": "Mike Zanyatski",
          "Title": "Manager",
          "AvatarSmall": "url to small avatar",
          "ProfileUrl": "\\/Products\\/People\\/Profile.aspx?user=administrator"
        },
        "CanEdit": true,
        "CanDelete": true,
        "id": 1234
      },
      "CreateOn": "2020-12-14T22:13:41.5378233Z",
      "CreateBy": "ASC.Api.Employee.EmployeeWraper, ASC.Api.Employee",
      "CanEdit": true,
      "CanDelete": true,
      "id": 1234
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <Title>Title</Title>
    <StockKeepingUnit>StockKeepingUnit</StockKeepingUnit>
    <Description>Description</Description>
    <Price>12</Price>
    <Currency>
      <Title>Chinese Yuan</Title>
      <Symbol>¥</Symbol>
      <Abbreviation>CNY</Abbreviation>
      <CultureName>CN</CultureName>
      <IsConvertable>True</IsConvertable>
      <IsBasic>False</IsBasic>
    </Currency>
    <StockQuantity>2.2</StockQuantity>
    <TrackInvenory>True</TrackInvenory>
    <InvoiceTax1>
      <Name>Name</Name>
      <Description>Description</Description>
      <Rate>Rate</Rate>
      <CreateOn>2020-12-14T22:13:41.5378233Z</CreateOn>
      <CreateBy>
        <Id>00000000-0000-0000-0000-000000000000</Id>
        <DisplayName>Mike Zanyatski</DisplayName>
        <Title>Manager</Title>
        <AvatarSmall>url to small avatar</AvatarSmall>
        <ProfileUrl>\/Products\/People\/Profile.aspx?user=administrator</ProfileUrl>
      </CreateBy>
      <CanEdit>True</CanEdit>
      <CanDelete>True</CanDelete>
      <id>1234</id>
    </InvoiceTax1>
    <InvoiceTax2>
      <Name>Name</Name>
      <Description>Description</Description>
      <Rate>Rate</Rate>
      <CreateOn>2020-12-14T22:13:41.5378233Z</CreateOn>
      <CreateBy>
        <Id>00000000-0000-0000-0000-000000000000</Id>
        <DisplayName>Mike Zanyatski</DisplayName>
        <Title>Manager</Title>
        <AvatarSmall>url to small avatar</AvatarSmall>
        <ProfileUrl>\/Products\/People\/Profile.aspx?user=administrator</ProfileUrl>
      </CreateBy>
      <CanEdit>True</CanEdit>
      <CanDelete>True</CanDelete>
      <id>1234</id>
    </InvoiceTax2>
    <CreateOn>2020-12-14T22:13:41.5378233Z</CreateOn>
    <CreateBy>ASC.Api.Employee.EmployeeWraper, ASC.Api.Employee</CreateBy>
    <CanEdit>True</CanEdit>
    <CanDelete>True</CanDelete>
    <id>1234</id>
  </response>
</result>