+> - The region's `Automatic Taxes` configuration is critical for API efficiency. When enabled, Medusa calls the tax provider's `getTaxLines` method multiple times during the checkout flow (on shipping address updates, shipping method selection, etc.), which significantly increases the number of requests to the Avalara API. To optimize performance and reduce API calls, it's recommended to disable automatic taxes and instead manually trigger tax calculation by calling [POST `/store/carts/{id}/taxes`](https://docs.medusajs.com/api/store#carts_postcartsidtaxes) from your storefront when the order is ready for review — typically after the shipping method has been selected.
0 commit comments