invoice_id string, not null
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.
record_exported_at timestamp
The column represents the timestamp when the data was exported to the configured destination.
change_type string
The column indicates the type of change [create, update, delete, read] and can be used to load data into the warehouse accordingly.