feat: add invoice URL to proration and test seed scripts (#27297)
* feat: add invoice URL to proration and test seed scripts - Add invoiceUrl field to MonthlyProration schema - Update billing service to return hosted_invoice_url after finalizing - Save invoice URL when creating proration invoices - Add seed script for testing proration with real Stripe data - Add cleanup script for test data removal Co-Authored-By: Claude Opus 4.5 <[email protected]> * add invoice url * add invoice URL to tests --------- Co-authored-by: Claude Opus 4.5 <[email protected]>
This commit is contained in:
1 parent
8319666d76
commit
ea76df47d2
10 files changed
+971
-5
No files matched your search
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "public"."MonthlyProration" ADD COLUMN "invoiceUrl" TEXT;
|
||||
@@ -3085,6 +3085,7 @@ model MonthlyProration {
|
||||
|
||||
invoiceItemId String?
|
||||
invoiceId String?
|
||||
invoiceUrl String?
|
||||
|
||||
status ProrationStatus @default(PENDING)
|
||||
|
||||
|
||||
Reference in new issue
Block a user