Hey! These docs are for version 1.0, which is no longer officially supported. Click here for the latest version, 2.0!

discount object

Properties of the discount object.

{
  /* id of object, set by Upodi */
  "id": "guid",
  "fullname" : "string",
     /* procentage = 0 */
  "discounttypeenum" : "integer",
     /* procentage amount */
  "amount" : "decimal",
  "InvoiceText" : "string",
    /* 100=days,200=weeks,300=months,400=years. Defines expiry period */
  "expiryperiod": "integer",
    /* number of days, weeks, months, years */
  "expiryperiodinterval": "integer",
  "createdby": "guid",
  "modifiedby": "guid",
  "createddate": "datetime",
  "modifieddate": "datetime"
}