> For the complete documentation index, see [llms.txt](https://docs.gethoneycart.com/live-examples/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gethoneycart.com/live-examples/miscellaneous/sales-tax/tax-based-on-zip-code.md).

# Tax based on Zip Code

Set [sales tax](/live-examples/miscellaneous/sales-tax.md) at the city, county or municipality level using zip codes:

* Enter the zip codes of the area that needs its own sales tax
* Sales tax is calculated at checkout based on the State & Zip Code for the order
* Show clients an explanation of how the sales tax was calculated (i.e `7.875% sales tax includes: State tax 6.875%, City tax 0.5% & County tax 0.5%.`)

![Set the sales tax for each set of zip codes.](/files/qlKqffkVk7m89s3lk4Q8)

![Client's sales tax calculated based on State & Zip Code entered at checkout.](/files/1FKnBHVPw33NgMACXCzw)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gethoneycart.com/live-examples/miscellaneous/sales-tax/tax-based-on-zip-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
