Skip to content

Add grand total tax to payput totals#210

Merged
willme-paddle merged 7 commits intomainfrom
add-grand_total_tax-to-payput-totals
Feb 4, 2026
Merged

Add grand total tax to payput totals#210
willme-paddle merged 7 commits intomainfrom
add-grand_total_tax-to-payput-totals

Conversation

@willme-paddle
Copy link
Contributor

@willme-paddle willme-paddle commented Feb 3, 2026

Summary

Adds support for the grandTotalTax field on transaction totals, which shows the net tax amount included in the grand total after credits are applied.

This field has been added to:

  • totals on transactions
  • adjusted_totals on transactions
  • payout_totals on transactions

Note: adjusted_payout_totals does not include this field, as verified against the Paddle OpenAPI specification.

Related

Changes

Types (API response interfaces)

  • ITransactionTotalsResponse - added grand_total_tax
  • ITransactionTotalsAdjustedResponse - added grand_total_tax
  • ITransactionPayoutTotalsResponse - added grand_total_tax

Entities (SDK classes)

  • TransactionTotals - added grandTotalTax property
  • TransactionTotalsAdjusted - added grandTotalTax property
  • TransactionPayoutTotals - added grandTotalTax property

Notification types/entities

  • ITransactionTotalsNotificationResponse - added grand_total_tax
  • ITransactionTotalsAdjustedNotificationResponse - added grand_total_tax
  • ITransactionPayoutTotalsNotificationResponse - added grand_total_tax
  • TransactionTotalsNotification - added grandTotalTax property
  • TransactionTotalsAdjustedNotification - added grandTotalTax property
  • TransactionPayoutTotalsNotification - added grandTotalTax property

Tests

  • Updated transaction mocks with grand_total_tax values

Testing

  • npm run build passes
  • npm test passes
  • npm run prettier passes
  • npm run typecheck:tests passes
  • Verified against Paddle OpenAPI specification

@willme-paddle willme-paddle requested a review from a team as a code owner February 3, 2026 14:15
vifer
vifer previously approved these changes Feb 3, 2026
@vifer vifer self-requested a review February 3, 2026 14:43
@willme-paddle willme-paddle merged commit e43ea21 into main Feb 4, 2026
6 checks passed
@willme-paddle willme-paddle deleted the add-grand_total_tax-to-payput-totals branch February 4, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants