Show Recurly's line items breakdown in subscription change preview (#27809)

* Show Recurly's line items breakdown in subscription change preview

* fix rounding, filter items that cancel each other out

GitOrigin-RevId: 0f5d71b3917ce8a52ff36608a6ec6280fe7d38ce
This commit is contained in:
Domagoj Kriskovic
2025-08-19 08:05:02 +00:00
committed by Copybot
parent 532f9b6549
commit eac4a5cb13
5 changed files with 101 additions and 12 deletions
@@ -11,6 +11,14 @@ export type SubscriptionChangePreview = {
tax: number
total: number
discount: number
lineItems: {
planCode: string | null | undefined
description: string
subtotal: number
discount: number
tax: number
isAiAssist: boolean
}[]
}
nextInvoice: {
date: string