github fivetran/dbt_stripe v1.12.0
v1.12.0 dbt_stripe

one hour ago

PR #176 includes the following updates:

Schema/Data Change

3 total changes • 0 possible breaking changes

Data Model(s) Change type Old New Notes
stripe__subscription_item_mrr_report Changed field/model contract_mrr_type never showed reactivation. MRR that came back after time at $0, and the first paid month after a $0 trial, were labeled expansion. reactivation marks MRR that comes back after at least 3 months in a row at $0. new marks the first month with MRR above $0, including the first paid month after a trial. Expect fewer expansion months and more new and reactivation months. MRR that comes back after only 1 or 2 months at $0 is still expansion.
stripe__line_item_enhanced Changed field/model When a charge had more than one refund, each line item repeated once per refund, and the header row showed only one of the refunds in refund_amount and fee_amount. Each line item appears once. The header row's refund_amount and fee_amount include every refund on the charge. For invoices with several refunds, expect fewer line item rows and higher header refund totals.
stripe__customer_overview Changed field/model Transactions with no matching customer record showed up as several No Customer ID rows, one for each missing customer ID. These transactions now roll up into one No Customer ID row per connection (source_relation). Totals across the model don't change. Only the number of No Customer ID rows does. See PR #174.

Bug Fix

  • Unioned connections with overlapping IDs: Adds source_relation to joins that were missing it, so records from one unioned connection no longer match records from another connection with the same ID. (PR #171)
    • stripe__subscription_details: Invoice line items now join to invoices on both invoice_id and source_relation. Before this fix, average_line_item_amount and avg_num_line_items could be inflated when unioned connections shared invoice IDs.
    • stripe__balance_transactions: Payment method cards now join to payment methods on both payment_method_id and source_relation. Before this fix, rows could be duplicated, or payment_method_brand and payment_method_funding could come from another connection, when unioned connections shared payment method IDs.

Under the Hood

  • Removes the unused payout_id column from get_balance_transaction_columns() and the balance_transaction_data integration test seed (PR #168).
    • Stripe stops populating BALANCE_TRANSACTION.payout_id starting December 10, 2026. The package already sources payout_id from PAYOUT_BALANCE_TRANSACTION and PAYOUT in stripe__balance_transactions, so model output does not change.

Contributors

Full Changelog: v1.11.0...v1.12.0

Don't miss a new dbt_stripe release

NewReleases is sending notifications on new releases.