# Classify( ) parameters

Source: https://developer.avalara.com/products/self-serve-tariff-code/integration-guides/classyvue-integration-guide/fje2963599331856/

Guide: ClassyVue integration guide

# Classify( ) parameters

Reference information for the parameters accepted by `ccce.classify()`, including the product description, destination country, classification mode, and callback functions.

The following parameters are supported by `ccce.classify()`:

Name

Type

Required?

Default

Details

`product`

string

Required

—

Product name or description. Plain English works best; the classifier disambiguates interactively.

`destination`

string

Required\*

—

ISO-2 code for the country whose schedule can be used. For export mode, this is the country of export ('US' or 'DE'). Optional when hs6: true.

`origin`

string

Optional\*

—

ISO-2 country of origin. Optional in hs6 mode.

`lang`

string

Optional

EN

UI and results language. Supported values: EN, FR, ES, PT, DE.

`useKeyboard`

bool

Optional

true

Shows on-screen keyboard hints. Full accessibility is built in regardless of this setting.

`hs6`

bool

Optional

false

Restricts classification to the universal 6-digit HS code. destination and origin become optional when this is true.

`schedule`

string

Optional

—

Force a specific HS schedule year (for example, '2022'). Honored only when no destination is supplied.

`importMode`

bool

Optional

true

Set to false to switch ClassyVue to the export schedule of the destination country. Currently supported for US (Schedule B) and DE (Combined Nomenclature). It has no effect for other countries.

`myCallback`

function

Optional

—

Called with the result payload on successful classification. Not needed if already wired via data-on-complete.

`myAbortFunction`

function

Optional

—

Called if the user selects X. Not needed if already wired via data-on-abort.

`avaCustomerId`/`avaTaxId`

string

Optional

—

Reserved for internal Avalara use. Not required to embed or use the widget.

**Parent topic:** [Trigger a classification](/classyvue-integration-guide/fmv9501025054163/ "Triggering a classification starts the interactive disambiguation flow in the ClassyVue widget. Learn how to call ccce.classify() with the product description and classification parameters to retrieve a tariff code.")