All updates
Non-Breaking

Billing - Monetary amounts are integers in cents

·By zsafder

Billing - Monetary amounts are integers in cents

Updates

  • Invoices, Credit Notes and Discounts: Monetary amount fields are now documented as integer instead of number. These amounts were always expressed in cents (the smallest unit of the currency) and must be whole numbers.

    • BillingPrice.amount, used by invoice and credit note total and subtotal.
    • Credit note item amount (the adjusted amount of the invoice item).
    • Discount amount_off, in discount and pre-contract summary discount requests and responses.

    This change applies to API version Next.