> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dodopayments.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tax Inclusive Pricing

> Show final, tax-inclusive prices upfront. Dodo Payments calculates tax by location and breaks it out at checkout and on invoices.

## What Is Tax Inclusive Pricing?

Tax Inclusive Pricing lets you embed applicable taxes directly in your displayed product price. Customers see one final amount upfront for a more transparent, conversion-friendly experience. At checkout, Dodo Payments calculates the tax-exclusive portion and tax amount from the displayed price based on customer location, and clearly breaks them out on the invoice.

> [!NOTE]
>
> Final tax still varies by customer location and tax category. Checkout and invoices show the calculated tax portion derived from the displayed price.

## Key Benefits

* **Clarity for customers**: One final price displayed upfront
* **Compliance by region**: Tax is calculated per location and broken out
* **Accurate invoicing**: Invoices show net amount and tax derived from price
* **Conversion friendly**: Reduced surprises at checkout

## Product Setup

Create or edit a product in your dashboard, then enable tax-inclusive pricing under pricing settings.

#### Pricing

* **Price** (required): Base price that is displayed to the customer.
* **Tax Inclusive Pricing**: Toggle on to treat the displayed price as tax inclusive. Dodo Payments will compute the net (pre-tax) amount and tax portion at checkout based on customer location and tax category.

> [!WARNING]
>
> Only future purchases reflect updated tax-inclusive settings. Existing purchases and active subscriptions are not retroactively changed.

> [!TIP]
>
> Use consistent product copy such as "Tax inclusive" so customers understand totals at a glance.

## API Management

> [accordion] Create products (tax inclusive)
>
> Use `POST /products` to create products with `price.tax_inclusive` set to `true`. The flag lives on the price object, not the product.
>
> > [card] [API Reference](https://docs.dodopayments.com/api-reference/products/post-products.md)
> >
> > Create product via API

> [accordion] Update products
>
> Use `PATCH /products/{id}` to toggle `price.tax_inclusive` on existing products.
>
> > [card] [API Reference](https://docs.dodopayments.com/api-reference/products/patch-products.md)
> >
> > Update product via API

> [accordion] Checkout Sessions
>
> Use `POST /checkouts` to sell products marked as tax inclusive. The displayed price remains the same; checkout derives net amount and tax.
>
> > [card] [API Reference](https://docs.dodopayments.com/api-reference/checkout-sessions/create.md)
> >
> > Create checkout session

> [accordion] Refunds (tax handling)
>
> Use `POST /refunds` to issue refunds. For partial, per-item refunds you can specify whether tax is included using the `tax_inclusive` flag on each entry of the `items` array (defaults to `true`). Omit `items` to refund the payment in full.
>
> > [card] [API Reference](https://docs.dodopayments.com/api-reference/refunds/post-refunds.md)
> >
> > Create a refund

## Integration Examples

### Create a Product with Tax-Inclusive Pricing

```typescript theme={null}
const product = await client.products.create({
  name: 'Pro Plan',
  description: 'All features included',
  tax_category: 'saas',
  price: {
    type: 'one_time_price',
    currency: 'USD',
    price: 10000,
    discount_bps: 0,
    purchasing_power_parity: false,
    tax_inclusive: true
  }
});
```

### Update an Existing Product to Toggle Tax Inclusive

```typescript theme={null}
// `price` is a discriminated union, so send the complete price object,
// not just the field you want to change.
await client.products.update(product.product_id, {
  price: {
    type: 'one_time_price',
    currency: 'USD',
    price: 10000,
    discount_bps: 0,
    purchasing_power_parity: false,
    tax_inclusive: true
  }
});
```

## Best Practices

* **Choose the right tax category** to ensure correct calculation per region.
* **Communicate totals** clearly with "Tax Inclusive" labels in product copy.
* **Test in Test Mode** to validate.

## Related

> [card] [Purchasing Power Parity](https://docs.dodopayments.com/features/purchasing-power-parity.md)
>
> Charge less in price-sensitive countries automatically.

> [card] [Charm Pricing](https://docs.dodopayments.com/features/charm-pricing.md)
>
> Round converted prices to clean, appealing endings.

> [card] [Products](https://docs.dodopayments.com/features/products.md)
>
> Manage pricing options across products.

> [card] [Subscriptions](https://docs.dodopayments.com/features/subscription.md)
>
> Configure recurring products with advanced settings.

> [card] [Discount Codes](https://docs.dodopayments.com/features/discount-codes.md)
>
> Offer promotions while keeping invoice clarity.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.