add taxes

pull/29/head
Matthew 2020-11-08 08:07:39 -05:00
parent ee7ab9b172
commit 70c10a9a4b
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ export default class Billing_T3 extends Command {
items: [{ price: 'price_1H8e6ODatwI1hQ4WFVvX6Nda' }], items: [{ price: 'price_1H8e6ODatwI1hQ4WFVvX6Nda' }],
days_until_due: 1, days_until_due: 1,
collection_method: 'send_invoice', collection_method: 'send_invoice',
default_tax_rates: ['txr_1HlAadDatwI1hQ4WRHu14S2I'],
}); });
await this.client.stripe.invoices.finalizeInvoice(subscription.latest_invoice.toString()); await this.client.stripe.invoices.finalizeInvoice(subscription.latest_invoice.toString());