Create invoice discount
Creates a manual discount on an invoice. The discount can target the whole invoice, a line item group, or a single line item (via targetIdempotencyKey).
Path Parameters
Body
Schema representing a discount on an invoice, on one of its line item groups, or on one of its line items. Only active discounts (see isActive) affect the invoice totals.
Response
Schema representing a discount on an invoice, on one of its line item groups, or on one of its line items. Only active discounts (see isActive) affect the invoice totals.
Why the discount exists: manual_discount (created by a user or through the API), contract_proration (generated to prorate a partial period), or contract_recurring (generated from a recurring discount configured on the contract).
manual_discount, contract_proration, contract_recurring