From ff72821c109c66e3dbb9e27a71862c85c2757bcb Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Mon, 23 Nov 2020 20:35:37 -0800 Subject: [PATCH] Add support for `AccountTaxIDs` on `Invoice` --- invoice.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/invoice.go b/invoice.go index e0d33269d1..02990a9255 100644 --- a/invoice.go +++ b/invoice.go @@ -98,6 +98,7 @@ type InvoiceTransferDataParams struct { // For more details see https://stripe.com/docs/api#create_invoice, https://stripe.com/docs/api#update_invoice. type InvoiceParams struct { Params `form:"*"` + AccountTaxIDs []*string `form:"account_tax_ids"` AutoAdvance *bool `form:"auto_advance"` ApplicationFeeAmount *int64 `form:"application_fee_amount"` CollectionMethod *string `form:"collection_method"` @@ -216,6 +217,7 @@ type Invoice struct { APIResource AccountCountry string `json:"account_country"` AccountName string `json:"account_name"` + AccountTaxIDs []*TaxID `json:"account_tax_ids"` AmountDue int64 `json:"amount_due"` AmountPaid int64 `json:"amount_paid"` AmountRemaining int64 `json:"amount_remaining"`