Stripe supports assigning multiple tax rates to invoices in two ways:
- on individual invoice-items (recommended)
- on the entire invoice’s subtotal
Recommended: Setting Tax Rates on individual items
If creating an invoice through the Dashboard, simply assign tax rates to individual line items.
When modifying or creating invoice line items through the API, set the invoice item’s
curl https://api.stripe.com/v1/invoiceitems/:id \ -u sk_test_4eC39HqLyjWDarjtT1zdp7dc: \ -d tax_rates=txr_1EO66sClCIKljWvs98IiVfHW \ -d tax_rates=txr_1EEOvcClCIKljWvsqYb9U0MB
You can add as many as five tax rates to each line item.
You can update Tax Rates of line items created by a subscription by passing the line item id.
Setting default tax rates for the entire invoice
If you sell one type of product, or have especially simple tax needs, you can set a default tax rate on the invoice.
Default tax rates apply by default to all line items. However, adding an item level tax rate will override the default tax rate. The default tax rate will no longer apply to that item.
If creating an invoice through the Dashboard, assign default tax rates to apply to the invoice.
Set the invoice’s default tax rates through the API:
curl https://api.stripe.com/v1/invoices/:id \ -u sk_test_4eC39HqLyjWDarjtT1zdp7dc: \ -d default_tax_rates=txr_1EO66sClCIKljWvs98IiVfHW \ -d default_tax_rates=txr_1EEOvcClCIKljWvsqYb9U0MB
You can add as many as five default tax rates to each invoice.