Managed and Premium Tariff Code Classification

Version v2
Classifications
CreateHSClassificationRequest
GetHSClassification
HSCodeValidationRequest
HSCodeVerificationRequest
WebhookCallback

ClassificationResult

Parameters
idOptional
string
activityOptional
string
Enum: hsFull, hs6, export, coo
countryOfDestinationOptional
string
countryOfExportOptional
string
enrichmentsOptional
array
classificationModifiersOptional
ClassificationModifiers
statusOptional
string
Enum: pending, classified, rejected, cannotBeClassified
hsCodeOptional
string
confidenceOptional
string
Enum: high, medium, low, test
verifyResultOptional
string
Enum: accepted, rejected
providedHsCodeOptional
string
messageOptional
string
complianceOptional
array

Per-COD compliance payload returned by the Quoting service. Populated only when compliance is in classifications and an HS code is available for the COD (auto path: Indix prediction; managed path: caller-supplied providedHsCodes). Mutually exclusive with complianceError. Item shape mirrors com.avalara.xb.classification.views.Compliance (Quoting response).

complianceErrorOptional

Set when the unify compliance gate skipped the Quoting call because the item is missing a field Quoting requires (today: countryOfExport). Wire shape is identical to Quoting's own ValueRequiredError payload ({ details: [{ code, number, message, description, helpLink, severity }] }). Mutually exclusive with compliance; the classification itself is unaffected.

errorOptional
Error