Get Started
Portal api methods
Help

POST api/2.0/crm/invoiceitem This function requires authentication

Description

Creates the invoice item with the parameters (title, description, price, etc.) specified in the request

Parameters
Name Description Type Example
title
sent in body
Item title string some text
description
sent in body
Item description
optional
string some text
price
sent in body
Item price System.Decimal
sku
sent in body
Item stock keeping unit
optional
string some text
quantity
sent in body
Item quantity
optional
number 1234
stockQuantity
sent in body
Item stock quantity
optional
number 1234
trackInventory
sent in body
Track inventory
optional
Bool value true
invoiceTax1id
sent in body
Item first invoice tax ID
optional
number 1234
invoiceTax2id
sent in body
Item second invoice tax ID
optional
number 1234
Example
POST api/2.0/crm/invoiceitem
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "title": "some text",
  "description": "some text",
  "price": 0.0,
  "sku": "some text",
  "quantity": 1234,
  "stockQuantity": 1234,
  "trackInventory": true,
  "invoiceTax1id": 1234,
  "invoiceTax2id": 1234
}
Returns

InvoiceItem