Sourcing·6 min read

Commodity Code: Classification, Tariff Number and Intrastat

Max Silanoglu
Max Silanoglu8/11/2026
Checking the commodity code in the material master

The Intrastat declaration is due, and a mandatory field asks for the commodity code. The ERP system already has a customs tariff number on file. Are these the same number? Many buyers and back-office staff ask themselves this the first time they fill out a foreign trade declaration. The answer decides whether the declaration is correct or gets kicked back for correction by the national statistics office later.

In brief: In German business usage, "Warennummer" (commodity code) usually means the statistical commodity code. That's an 8-digit code from the foreign trade statistics nomenclature, used for the Intrastat declaration. The customs tariff number (also HS code) is longer and used for the customs declaration and duty calculation. The first 8 digits of both codes are identical; the customs tariff number extends this with further digits for customs purposes.

What is a commodity code?

A commodity code is a numeric code that uniquely classifies a good for statistical or customs purposes. In German administrative usage, the term usually refers to the statistical commodity code. That's an 8-digit code from the foreign trade statistics nomenclature maintained by Germany's federal statistics office.

This exact ambiguity causes confusion in practice. Even chambers of commerce use "commodity code" and "customs tariff number" interchangeably on their own guidance sheets. Yet both terms formally refer to different codes with different purposes. Keeping the two terms cleanly separated avoids follow-up questions from customs and faulty Intrastat declarations.

Reviewing the customs classification form up close

What's the difference between a commodity code and a customs tariff number?

The statistical commodity code has 8 digits and comes from the foreign trade statistics nomenclature. It's needed for the Intrastat declaration of cross-border goods movements within the EU. The customs tariff number is longer, usually 10 to 11 digits, and is based on the Electronic Customs Tariff. It governs the classification of goods imported from non-EU countries and determines the applicable duty rate.

Both systems share the first 8 digits, since they're built on the same EU Combined Nomenclature (CN). The codes only diverge from the 9th digit onward. The customs tariff number adds further subheadings for customs purposes, while the statistical commodity code ends at 8 digits. Say you've already determined the customs tariff number for a customs declaration as part of importing from China. You can then reuse the first 8 digits directly for the Intrastat declaration.

This system isn't a German quirk. The Combined Nomenclature applies EU-wide, so an 8-digit code determined in Germany designates the same product group in France or Poland. For companies with multiple European locations, that considerably simplifies alignment between country entities. No single country maintains its own separate classification logic.

What is the statistical commodity code used for?

The statistical commodity code is a mandatory field in the Intrastat declaration. Companies above a reporting threshold submit it monthly to Germany's federal statistics office. It captures goods movements between EU member states for foreign trade statistics, independent of the customs declaration, which only applies to imports from non-EU countries.

Feature

Statistical commodity code

Customs tariff number

Digit count

8 digits

10-11 digits

Purpose

Intrastat declaration, foreign trade statistics

Customs declaration, duty calculation

Responsible body

Federal statistics office

Customs (EZT-Online)

Reporting trigger

Intra-EU goods movement

Import from non-EU countries

A company only becomes subject to reporting once its annual goods receipts or dispatches exceed a threshold that the statistics office sets each year. Below that threshold, the Intrastat declaration doesn't apply at all, even for companies that trade regularly within the EU. If the threshold is crossed partway through the year, the reporting obligation starts with that month, not retroactively from January.

How do you find the right commodity code?

The correct statistical commodity code can be determined via the foreign trade nomenclature search tool provided by the federal statistics office. Alternatively, the customs authority's EZT-Online portal helps. The first 8 digits of the customs tariff number found there already match the statistical commodity code. Both research paths lead to the same 8-digit result, given an accurate product description.

In our sourcing projects, we always verify the commodity code against the technical product description, not the supplier's invoice wording. Invoice descriptions from the Far East are often vague ("metal parts," "machine accessories"). Copied literally, they regularly lead to the wrong commodity code. Only the actual intended use and the material composition of the product provide a solid basis for correct classification.

How do you enter the commodity code in an ERP system?

In SAP and comparable ERP systems, the statistical commodity code is usually stored in the material master record, often in the foreign trade data field. A common mistake is entering the full customs tariff number instead of the 8-digit statistical commodity code. That distorts the system's automatic Intrastat declaration.

Four points matter for system maintenance:

  • The statistical commodity code is entered as a plain 8-digit string, without periods or spaces

  • When the nomenclature classification changes (usually annually on January 1), the material master needs updating

  • A commodity code should never be entered from memory, it should always be checked against the current official source

  • For newly created material master records, a four-eyes principle is worthwhile: a second person checks the assigned commodity code against the product description before the first document is posted with it

What happens with an incorrectly assigned commodity code?

An incorrect statistical commodity code initially leads to a faulty Intrastat declaration, which the statistics office flags for correction if it's noticeable. An incorrect customs tariff number on a customs declaration carries more concrete consequences. The most common mistakes and what they trigger:

Mistake

Typical consequence

Customs tariff number entered instead of the statistical commodity code

Faulty Intrastat declaration, follow-up query from the statistics office

Commodity code copied from a vague supplier invoice description

Wrong classification, later correction effort

Commodity code not updated after the yearly nomenclature change

Declaration rejected with an invalid code

Wrong customs tariff number on the customs declaration

Back payments, an incorrectly determined customs value, delays in customs clearance

Preparing the declaration process early with an EORI number and the correct commodity codes considerably reduces this risk.

Frequently Asked Questions

Is the customs tariff number the same as the statistical commodity code?

Not quite. The first 8 digits of both codes are identical, since they're based on the same EU nomenclature. The customs tariff number adds further digits for duty calculation, while the statistical commodity code ends at 8 digits and serves foreign trade statistics exclusively.

Who has to submit an Intrastat declaration with a commodity code?

Companies whose intra-EU goods dispatches or receipts exceed a threshold set annually by the statistics office are subject to reporting. Companies below that threshold are exempt from the Intrastat declaration, even if they trade regularly within the EU.

Does the commodity code change regularly?

Yes, the nomenclature is typically updated on January 1 each year. Material master data in ERP systems should therefore be checked annually against the current official version, so no outdated commodity codes get reported.

Which SAP field does the statistical commodity code belong in?

That depends on the SAP module in use. The field is usually located in the material master's foreign trade data section, often labeled "Statistical Commodity Code" or similar. What matters is that only the 8-digit statistical commodity code goes there, not the longer customs tariff number. Otherwise, automated Intrastat declarations pick up the wrong values.

Conclusion: keep commodity code and customs tariff number cleanly separated

The commodity code and customs tariff number share their first 8 digits. They serve different purposes though: one for foreign trade statistics, the other for duty calculation. Consistently maintaining that separation in the material master and the declaration process avoids both faulty Intrastat declarations and unnecessary follow-up questions from customs.

Line Up supports you in correctly classifying your products for customs declarations and foreign trade statistics. That covers everything from the first classification to ongoing maintenance of your material master data. 👉 Schedule a no-obligation consultation.

Newsletter Registration

Sign up now for our free Line Up newsletter and stay up to date.