credit_note_id string, not null
The unique ID of the credit note for this record.
discount_amount long, not null
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 for this deduction.