invoiceline object

Properties of the invoiceline object

{
  "id": "guid",
  "title": "string",
  "description": "string",
  /* required */
  "invoiceid": "guid",
  "subscriptionchargeid": "guid",
  "productplanchargeid": "guid",
  "linenumber": "integer",
  /* if true the invoice line will be exempted from tax calculations, see https://docs.upodi.com/v2.0/docs/taxation. Most ERP's do respect and support this setting */
  "taxexempt": "boolean",
  /* the stock keeping unit of the product sold. Needed to export to most ERP's */
  "sku": "string",
  "quantity": "decimal",
  "totalvat": "decimal",
  "unitprice": "decimal",
  "totalprice": "decimal",
  "invoice": "invoice object",
  /* set by upodi */
  "periodstart" : "datetime",
  /* set by upodi */
  "periodend" : "datetime",
  /* discount in decimal. 15% is 0.15 */
  "discount" : "decimal",
  /* discount amount in invoice currency */
  "discountamount" : "decimal",
  "isemptyline": "boolean",
  /* an amendment is a proration that happened in the previous charge period because the            principal is higher than the paid amount usually because the customer made an                   additional purchase*/
  "isamendment": "boolean",
  /* an adjustment is a proration happening now, because the principal is higher than               the paid amount usually because the customer made an additional purchase */
  "isadjustment": "boolean",
  "subscriptioncharge": "subscriptioncharge object",
  "productplancharge": "productplancharge object",
  "uomid": "guid",
  "unit": "string",
  "totalpriceexchangerate" : "decimal",
  "totalpricebasecurrency" : "decimal",
  "createddate": "datetime",
  "modifieddate": "datetime"
}