## Tax Rates and IDs

Assign tax rates to draft invoices for tax calculation.

If you’re looking for automated tax calculation where you don’t need to define the rates, use Stripe Tax.

After you create a tax rate, you can assign it:
* On individual invoice items.
* On the entire subtotal of the invoice.

**Note:** Stripe recommends that you assign a tax rate on individual invoice items.

### Set tax rates on individual items

You can set tax rates on individual items using the Dashboard or API. You can add up to ten tax rates to each line item.

*   **Dashboard**
*   **API**

If you’re creating an invoice through the Dashboard, assign tax rates to individual line items.

### Set default tax rates for the entire invoice

If you sell one type of product, or have simple tax needs, you can set a default tax rate on the invoice. Default tax rates apply to all invoice line items. For more complex use cases, you can also set an item-level tax rate that overrides the default tax rate. You can add up to five