Models

Discount

Properties

NameTypeRequiredDescription
reasonCodestring | nullNoThe reason code for the discount. This must be one of the codes in the UNCL5189 subset code list. For example, 95 for regular discounts. Either reason or reasonCode must be provided. Example: "95"
reasonstring | nullNoThe reason for the discount. This is a free text field. Either reason or reasonCode must be provided. Example: "Discount"
amountstringYesDecimal number as a string with 2 decimal places. Example: "21.00"
vatobjectYes

vat properties

NameTypeRequiredDescription
categoryobjectNoDefault: S
percentagestringYesThe VAT rate as a percentage, for example 21.00. Example: "21.00"