An HS (Harmonized System) code classifies goods for customs. The first 6 digits are the same worldwide; the UAE’s GCC tariff extends them to 8 digits, and Dubai Customs has been moving declarations to 12-digit codes (the 8-digit code plus four national digits). M2 Generator validates both 8-digit and 12-digit formats.
How HS codes are structured
Every digit narrows down the product. Using an illustrative code written in the common dotted format:
| Digits | Level | Example | Set by |
|---|---|---|---|
| 2 | Chapter | 85 | World Customs Organization (WCO) |
| 4 | Heading | 8523 | WCO |
| 6 | Subheading | 8523.51 | WCO |
| 8 | National line (GCC tariff) | 8523.51.00 | GCC / UAE |
| 12 | Extended national line | 8523.51.00.0001 | Dubai Customs / UAE |
The example only illustrates the format; it is not classification advice.
8-digit vs 12-digit HS codes in the UAE
- 8-digit codes have long been used in UAE declarations and tariffs.
- 12-digit codes add four digits to the 8-digit code for finer classification. Dubai Customs has been introducing them through a transition period and provides tools, including Al Munasiq, to find the right code.
- A single 8-digit code can correspond to several 12-digit codes, so you cannot convert by padding with zeros.
Check the current rules before you file
The transition has changed more than once. Rules have differed by type of trade flow, and Dubai Customs has issued notices about flexibility periods for 8-digit codes. Third-party articles, including this one, can be out of date. Read the latest notices on dubaicustoms.gov.ae and confirm the code in the HS code search or Al Munasiq before submitting.
Because requirements are in flux, M2 Generator does not force a single format: it accepts and validates both 8-digit and 12-digit codes so you can follow whichever the authorities require for a given shipment.
Good practice for accurate codes
- Do not trust the supplier’s code blindly. Invoices often show a code from the exporting country’s tariff, which can differ from the UAE tariff beyond the first six digits.
- Confirm each code in the Dubai Customs HS code search or Al Munasiq.
- Keep one master list of codes you have already verified for repeat products.
- Check the controlling authority for every new code — regulated goods need a permit.
FAQ
What is the difference between an 8-digit and a 12-digit HS code?
An 8-digit code is the internationally harmonised 6-digit HS code plus two digits of the GCC tariff. A 12-digit code used by Dubai Customs is the 8-digit code plus four further national digits.
Can I convert an 8-digit HS code to a 12-digit code by adding zeros?
No. The extra four digits identify specific tariff lines and cannot be guessed. Dubai Customs publishes correlation material for moving from 8-digit to 12-digit codes; use it or Al Munasiq to find the correct extension.
For information only — not advice. HS codes, tariff classifications, controlling authorities and permit requirements are set by Dubai Customs and other authorities, who may change them at their sole discretion and without notice. Information in the software and on this website is general information only — it is not customs, legal or professional advice. Always verify with the official sources before you submit. Read the full disclaimer.
Skip the manual work
M2 Generator validates your Excel invoice and generates one text file that fills in every line item on the Dubai Trade invoice page — processed locally on your PC. Paid software, 1 license per PC; we reply to every email within 24–48 business hours.
Not sure yet? Book a 15-minute walkthrough first.