improved

V1 - Customer Invoices - Added support for absolute discounts

Introduced a new optional field discount_type to the create invoice and edit invoice lines endpoints.

  • discount_type can be set to either "relative" or "absolute".
  • Default value: "relative".
  • When discount_type is set to "absolute", the discount field will be interpreted as a fixed amount rather than a percentage.