# Collect taxes

Learn how to use Stripe Tax to calculate and collect taxes in your custom integration with Elements.

## Index

This article has multiple variants. Fetch one of the following URLs to view specific content for your use case:

- [Checkout Sessions API](https://docs.stripe.com/payments/advanced/tax.md?api-integration=checkout)
- [Payment Intents API](https://docs.stripe.com/payments/advanced/tax.md?api-integration=elements)
