Tariff Code Classification
WebhookCallbackRequest
The webhook callback payload that will be sent to the client's webhook endpoint when a classification is completed. Only clients who have specifically opted to receive webhook callbacks need to implement this endpoint. This is an optional feature for "Item Classification Without Storage" customers.
Authentication: The webhook callback supports two authentication methods:
- Basic Authentication: Requires an API key configured in the Avalara system
- OAuth: Requires an OAuth token endpoint to be configured in the Avalara system
Conditional Fields:
- The
hsCodefield is included for HS classification activities such ashs6,hsFull, and export HS flows - The
eccnCodeandcountryOfExportfields are included for ECCN classification activities when available - The
countryOfOriginfield is included for COO classification activities when available - The
possibleHsCodesfield is only included when thebrokerparameter is set to "true" and there are alternative HS codes available
Retry Behavior: If the webhook call fails due to server connectivity issues, the system will automatically retry the call.
This model is used in the following APIs:
The id of the HS classification request that was completed.
The ID of the company that owns this item.
The unique item code (typically your SKU) that was classified.
The country code for which the classification was performed.
The export country code for ECCN classification results, when available.
The country of origin for COO classification results, when available.
The status of the classification request.
The HS classification result for HS classification activities.
The export-control classification result for ECCN classification activities.
Explanation of the classification decision when available.
Alternative HS codes that could apply to this item, when available. This is provided as a stringified JSON array.
Trade compliance data for the classified item, when compliance enrichment was
enabled. Each entry follows the same shape as the compliance payload returned
on the classification response.