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
categoryAE | E | S | Z | G | O | K | L | M | BNoVAT category code. All codes can be found here. When sending regular invoices, you should most often use the S category. When sending an invoice to another EU country, use the AE category for VAT Reverse Charge. In those cases, it is still recommended to include a note in the invoice explaining that the VAT Reverse Charge applies. Default: S. Example: "S". Values: AE, E, S, Z, G, O, K, L, M, B
percentagestringYesDecimal number as a string with 2 decimal places. Example: "21.00"