The list of deductions applied for each line item of this invoice.

Note: If consolidated invoicing is enabled, the attribute subscription_id is unavailable when the invoice has line items from multiple subscriptions. The individual subscription IDs are seen under line_items.subscription_id.

Columns

No match found

invoice_id string, not null
Foreign Key invoices.id
The unique ID of the invoice this table belongs to.

discount_amount long, not null
The amount deducted.

discount_type string, not null
The type of deduction and the amount to which it is applied.

entity_id string, null
When the deduction is due to a coupon or a discount, this is the ID of the coupon or discount.

line_item_id string, not null
The unique ID of the line item this deduction is for.