The list of deductions applied for each line item of this invoice.
UPSERT KEY
invoice_id + record_id

Each row is uniquely identified by this combination. Use these columns together as the upsert key when applying incremental datasets to your warehouse.

Columns

No match found

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

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.

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.

record_extracted_at timestamp
The column represents the timestamp when the updated data became available in Chargebee's data lakehouse.

record_id integer
The column represents the unique integer identifier for each child record within a parent subset.