For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
This page is for APIs, version Calculations.
For other versions, use one of these documentation indexes:
- Overview (default): https://avalara.ferndocs.com/api-reference/overview/llms.txt
- Calculations: https://avalara.ferndocs.com/api-reference/calculations/llms.txt
- E-invoicing: https://avalara.ferndocs.com/api-reference/e-invoicing/llms.txt
- Brazil: https://avalara.ferndocs.com/api-reference/brazil/llms.txt
- Returns: https://avalara.ferndocs.com/api-reference/returns/llms.txt
- Shared service: https://avalara.ferndocs.com/api-reference/shared-service/llms.txt
- 1099 & W-9: https://avalara.ferndocs.com/api-reference/1099-w9/llms.txt
- Tax registrations & business licenses: https://avalara.ferndocs.com/api-reference/tax-registrations/llms.txt
- ECM: https://avalara.ferndocs.com/api-reference/ecm/llms.txt
- Cross-Border: https://avalara.ferndocs.com/api-reference/cross-border/llms.txt
Access control: this endpoint is available to users with the everyone role.
Retrieves the specified HS code and all of its parents, reflecting all sections, chapters, headings, and subheadings
a list of HS Codes that are the parents and information branches of the HS Code for the given
destination country, if lower detail is available.
This API will include information branches if applicable. These do not have HS Codes and cannot be referenced,
but can contain information relevant to deciding the correct HS Code.
This API is intended to be useful to review the descriptive hierarchy of an HS Code, which can be particularly helpful
when HS Codes can have multiple levels of generic descriptions.
Security Policies
This API depends on the following active services:Required (all): AvaTaxGlobal.
Authentication
Authorizationstring
API Key authentication via header
Path parameters
countrystringRequired
The name or code of the destination country.
hsCodestringRequired
The partial or full HS Code for which you would like to view all of the parents.
Headers
X-Avalara-ClientstringOptionalDefaults to Swagger UI; 26.7.0; Custom; 1.0
Identifies the software you are using to call this API. For more information on the client header, see Client Headers .