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

# tax

> Tax amount applied to the order.

Tax amount applied to the order.

```javascript theme={null}
window._upstack('track', 'purchase', {
  transactionId: 'ORD-12345',
  value: 134.99,
  currency: 'USD',
  tax: 12.00
});
```

| Type   | Required | Events                       |
| ------ | -------- | ---------------------------- |
| number | No       | purchase, initiate\_checkout |

## Related Properties

<CardGroup cols={2}>
  <Card title="subtotalPrice" icon="receipt" href="/pixel/events/properties/subtotal-price">
    Subtotal before tax and shipping.
  </Card>

  <Card title="shipping" icon="truck" href="/pixel/events/properties/shipping">
    Shipping cost.
  </Card>
</CardGroup>
