Skip to content

Commit

Permalink
CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
fivetran-avinash committed Dec 3, 2024
1 parent eb669b5 commit 2f5c548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- Since charges and refunds are both types of balance transactions, included an additional join between refunds and balance transactions to bring in refunds at the same level as charges.
- Updated balance transactions join on `connected_account_id` and `source_relation` to look at both charge and refund balance transactions.
- Fixed `fee_amount` logic to sum together charge and refund amounts.
- Updated conditional logic for invoice-only records to ensure `fee_amount` is not null by coalescing to zero for summing non-header rows.
- Coalesced `fee_amount` with zero for invoice-only (non-header) rows and updated downstream summing logic accordingly.
- Updated `transaction_type` logic to not only bring in `charge`, but also return `charge + refund` if the balance transaction has a charge and a refund associated with it, or `payment intent + refund` if the refund balance transaction is not yet tied to a charge.

## Under the Hood
Expand Down

0 comments on commit 2f5c548

Please sign in to comment.