UNSPSC codes for products

Standardize product and unit-of-measure classification with UNSPSC codes for EDI, tax, and cross-border reporting flows.

The product_unspsc module lets Odoo assign UNSPSC codes to products and units of measure based on the United Nations Standard Products and Services Code. This classification layer matters when the business relies on e-invoicing, accounting integrations, or compliance requirements in specific countries.

Using standardized codes makes product data easier to exchange with external systems and creates a shared structure for accounting, tax reporting, and catalog management teams.

UNSPSC
EDI
Product Classification
Compliance
Accounting

What UNSPSC codes are used for

Key points

  • • Classify products and services through a globally recognized coding structure.

  • • Support e-invoicing and EDI flows in markets that require standardized product classification.

  • • Give accounting and product teams a common taxonomy instead of ad hoc manual labels.

  • • Make international reporting and partner data exchange easier to align.


Important fields and menus

FieldsTrường dữ liệuDescription
UNSPSC CategoryDanh mục UNSPSCField used to assign a UNSPSC code to a product or unit of measure.
UNSPSC CodeMã UNSPSCCentral catalog of standardized classification codes.
CodeMãThe UNSPSC identifier, commonly an 8-digit hierarchical code.
NameTênDescriptive name of the UNSPSC code.
Applies ToÁp dụng choDefines whether the code is meant for Product or UoM.
ActiveHoạt độngControls whether the code appears for new selections.

Understanding the UNSPSC structure

UNSPSC is a hierarchical classification system with layers that move from a broad segment to a specific commodity. A full code commonly uses 8 digits and becomes more specific at each level.

Key points

  • • Teams should choose the most specific code that still matches the real item instead of stopping at a broad category.

Basic hierarchical structure

PartDigitsMeaning
Segment2The broadest industry grouping
Family2A product family within the segment
Class2A more detailed product class
Commodity2The concrete end-item or code

Assigning a UNSPSC code to a product

Key points

  • • When assigning a product, the selector usually shows only codes with Applies To = Product.

  • • If the business uses EDI, it is worth defining who is allowed to assign or change codes so classification stays consistent.

Steps

  • 1. Go to Inventory → Products → Products and open the item that needs classification.

  • 2. Find the UNSPSC Category field in the general product information.

  • 3. Search by numeric code or by descriptive name.

  • 4. Select the correct code and save the product.

  • 5. Review the display value to confirm the expected code is attached.


Assigning a UNSPSC code to a unit of measure

Steps

  • 1. Go to Inventory → Configuration → Units of Measure.

  • 2. Open the unit that needs classification, such as kg, meter, or liter.

  • 3. Fill the UNSPSC Category field with the appropriate code for that UoM.

  • 4. Save and verify that the selected code really has Applies To = UoM.

Applies To values

Applies ToTarget objectWhen to use it
ProductProduct recordWhen classifying sold or purchased goods and services
UoMUnit of measureWhen standardizing units such as kg, m, or liter

Managing the UNSPSC catalog

Steps

  • 1. Go to Accounting → Configuration → UNSPSC Codes to review the available catalog.

  • 2. Use the list view to inspect codes, names, and Applies To scope.

  • 3. Open a record when you need to confirm details or change its Active status.

  • 4. Disable a code only when you are sure it should no longer be selectable for new data.

Typical fields on a UNSPSC code

FieldMeaningOperational note
CodeThe standard UNSPSC identifierIt should usually remain aligned with the source standard
NameHuman-readable descriptionHelps users search and choose correctly
Applies ToProduct or UoM scopeControls where the code can be used
ActiveUsage statusDisable to prevent new selection while keeping history intact

Search, filters, and daily operations

Key points

  • • Users can search the UNSPSC Category field with both code fragments and descriptive names.

  • • In the UNSPSC code list, filters by Applies To or Active help narrow review work quickly.

  • • Grouping by Applies To separates Product-oriented and UoM-oriented codes cleanly.

  • • Archiving or disabling is safer than deleting once the system already contains transactional history.


Implementation notes

Key points

  • • Markets that depend on EDI or country-specific e-invoicing often require more precise UNSPSC mapping than internal-only workflows do.

  • • It helps to define a clear owner for classification so different teams do not apply inconsistent logic.

  • • If users cannot find a suitable code, they should check the search terms, the Applies To scope, and whether the relevant code was disabled.

  • • Classification is best done early in the product lifecycle rather than after the data has already flowed into invoices and reports.