Tax Rates on Invoices

    Assign tax rates to draft invoices to have Stripe calculate tax amounts for you.

    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 tax_rates:

    curl https://api.stripe.com/v1/invoiceitems/:id \
      -u sk_test_4eC39HqLyjWDarjtT1zdp7dc: \
      -d tax_rates[0]=txr_1EO66sClCIKljWvs98IiVfHW \
      -d tax_rates[1]=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[0]=txr_1EO66sClCIKljWvs98IiVfHW \
      -d default_tax_rates[1]=txr_1EEOvcClCIKljWvsqYb9U0MB
    

    You can add as many as five default tax rates to each invoice.

    Questions?

    We're always happy to help with code or other questions you might have. Search our documentation, contact support, or connect with our sales team. You can also chat live with other developers in #stripe on freenode.

    Was this page helpful? Yes No

    Send

    Thank you for helping improve Stripe's documentation. If you need help or have any questions, please consider contacting support.

    On this page