Discount

A discount is a type of accounting record representing a reduction in a product or service's original price or value.

  • amount
    Type: number · Amount
    required
  • currencyCode
    Type: string · Currencycode
    required
  • date
    Type: string · DateFormat: date
    required

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

  • customFields
    Type: object · CustomFieldsnullable

    The additional fields related to an accounting record. Custom fields are used to attach custom metadata to the objects to ingest into the system. Custom fields can be any valid JSON object.

    • propertyName
      Type: anything
  • description
    Type: string · Descriptionnullable
  • endDate
    Type: string · EnddateFormat: datenullable

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

  • exchangeRates
    Type: array object[] | null · Exchangeratesnullable
    • currencyCode
      Type: string · Currencycode
      required
    • rate
      Type: number · Rate
      required
  • startDate
    Type: string · StartdateFormat: datenullable

    full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21