diff --git a/libs/stripe/package.json b/libs/stripe/package.json index 41b528a..3dd8817 100644 --- a/libs/stripe/package.json +++ b/libs/stripe/package.json @@ -1,6 +1,6 @@ { "name": "@valor/nestjs-stripe", - "version": "0.0.14", + "version": "0.0.15", "type": "commonjs", "private": false, "author": "opavlovskyi-valor-software", diff --git a/libs/stripe/src/lib/stripe.service.ts b/libs/stripe/src/lib/stripe.service.ts index 4d5a03d..6842dfe 100644 --- a/libs/stripe/src/lib/stripe.service.ts +++ b/libs/stripe/src/lib/stripe.service.ts @@ -1015,6 +1015,12 @@ export class StripeService { description: dto.description, discounts: dto.discounts, due_date: dto.dueDate, + expand: dto.expand, + footer: dto.footer, + from_invoice: dto.fromInvoice ? { + action: 'revision', + invoice: dto.fromInvoice + } : undefined, pending_invoice_items_behavior: dto.pendingInvoiceItemsBehavior, subscription: dto.subscription, });