Corporate17 July 2026

Customs Declaration Barcode Sheet and How to Print It in Vietnam

How the customs declaration barcode works in Vietnam and how businesses print the barcode sheet used to clear goods at the customs gate.

Lawyer Do Khanh Linh — Director, LTV Law
Reviewed by Lawyer Do Khanh Linh — Director, Hanoi Bar Association
Updated 17 July 2026
Customs Declaration Barcode Sheet and How to Print It in Vietnam
Table of contents

The customs barcode is a concept every importer and exporter in Vietnam needs to understand, because it is tied to the last step of customs clearance: moving goods through the customs supervision area at a seaport, airport or inland container depot (ICD). Even when a declaration has been cleared, a shipment can still be held at the supervision gate if the business cannot present a valid barcode.

This guide explains what the customs barcode is, how it differs from a GS1 product barcode, its role in the VNACCS/VCIS system, how to print it from the Vietnam Customs portal and from ECUS declaration software, how to fix common errors, and how to keep the records for post-clearance audits. Because the portal interface may change over time, always check the current steps directly on customs.gov.vn.

What is a customs barcode?

A customs barcode, often called the customs declaration barcode, is a string of characters encoded as a barcode image that uniquely identifies a customs declaration that has been received and numbered by the VNACCS/VCIS electronic customs system. In effect, it is the shipment's electronic identity card. When a customs officer in the supervision area scans the barcode, the system immediately retrieves the status of the declaration, including:

  • whether the declaration has been cleared;
  • which channel it was assigned to (green, yellow or red);
  • the list of containers or goods eligible to pass through the supervision area.

The printed document usually carries one of two full names: the list of containers eligible to pass through the customs supervision area (for full-container shipments) or the list of goods eligible to pass through the customs supervision area (for less-than-container and bulk cargo). The sheet shows one or more barcodes together with the declaration details. Obtaining and printing the customs barcode from the Vietnam Customs portal is completely free of charge.

The customs barcode is a document-control tool. It is not a code printed on the product itself, and no separate registration is needed to obtain it: it is produced as part of the standard electronic customs declaration process.

Customs barcode and GS1 product barcode compared

Many people new to import and export confuse two kinds of barcode that have entirely different purposes and are managed by different bodies. The table below sets out the differences.

CriterionCustoms barcodeProduct barcode (GS1)
PurposeIdentifies a customs declaration and confirms that goods are eligible to pass through the supervision areaIdentifies a product unit for retail sale, inventory management and traceability
Managing bodyVietnam Customs (VNACCS/VCIS system)GS1 Vietnam, under the National Committee for Standards, Metrology and Quality
Code standardInternal encoding based on the declaration, not a retail standardInternational GS1 standard (EAN-13, with country prefix 893 for Vietnam)
CostFree (printed by the business from the customs portal)Registration fee and annual maintenance fee
When it is usedDuring clearance, when goods pass through the gate of a port or airportThroughout the commercial life of the product

In short, the customs barcode serves clearance, while the GS1 barcode serves distribution and sale. If you need barcodes for products going into supermarkets, e-commerce platforms or export markets, see our barcode registration service and our guides to registering a GS1 barcode, Vietnam's 893 barcode prefix, country barcode prefixes and GS1 registration and maintenance fees.

The role of the customs barcode in clearance

In the past, when goods reached the supervision gate, customs officers had to type container details and the declaration number into the system by hand to check them, which was slow and error-prone. Automated supervision at seaports and airports has replaced that manual step with barcode scanning, which:

  • Retrieves the declaration status instantly. VNACCS/VCIS immediately shows whether the declaration has been cleared or the goods released.
  • Matches the list of containers or goods. It confirms that the right shipment, in the right quantity, is eligible to pass through the supervision area.
  • Saves time and reduces errors. It limits manual data entry and avoids mistakes in container or declaration numbers.
  • Connects with port and warehouse systems. At many large ports, customs supervision data is linked to the port operator's management system so that goods can be released or loaded.

The customs barcode is therefore not just a piece of paperwork but the key that allows goods to leave, or enter, the customs supervision area lawfully.

When do you need to print the customs barcode?

You need to obtain and print the customs barcode when:

  • the declaration has been assigned a channel and has been cleared or the goods released. This is a precondition: for a declaration that has not been cleared, the barcode for passing through supervision is usually not yet available;
  • you need to take imported goods out of a port, warehouse or airport, or bring export goods into the supervision area for loading;
  • the port, warehouse, shipping line agent or supervision unit asks you to present the printed barcode or container list.

At some ports that apply fully automated supervision, electronic data may be enough. In practice, however, many locations still require a paper printout for checking, so it is sensible to have one ready to avoid delays.

How to print the customs barcode from the Vietnam Customs portal

This is the most common method. It needs no software, only a web browser and four basic details from the declaration. The steps are as follows; the interface may change, so check them against customs.gov.vn.

  1. Go to the Vietnam Customs portal at https://www.customs.gov.vn.
  2. Open the public services or utilities section and select the function for printing the barcode list of goods-carrying vehicles (or the list of containers or goods eligible to pass through the supervision area).
  3. Enter the four details from the customs declaration exactly:
    • the tax code of the declaring business;
    • the customs declaration number (12 digits);
    • the customs office code of the branch where the declaration was registered;
    • the declaration registration date, in the correct day, month and year format.
  4. Enter the captcha shown on the screen. If it is hard to read, refresh it to get a new one.
  5. Click the button to retrieve the information, so that the system pulls the declaration data and the list of containers or goods.
  6. Check the information displayed, such as the declaration number, company name and container numbers, to make sure it is the right shipment.
  7. Select the print option, or press Ctrl and P, to print on paper or save as a PDF file.
  8. Check the printout: the barcode must be sharp, not faded and not smudged, with complete information, so that it scans without errors at the gate.

Note: printing the barcode is free. Print at normal quality rather than an ink-saving "draft" mode, so that the barcode is dark enough for the scanner to read.

How to print the customs barcode from ECUS software

Businesses and customs brokers that use the ECUS customs declaration software (for VNACCS) can obtain the barcode directly once the declaration has been assigned a channel, without going to the web portal. The general process is:

  1. Open the cleared declaration in ECUS and go to the tab showing the declaration processing results.
  2. Select the function to retrieve the container list for the declaration (or the list of goods eligible to pass through the supervision area), then save.
  3. Click to retrieve the information, enter the business details and select your digital signature token to send the request and receive the response from the customs system.
  4. Once the response arrives, go to the barcode tab and print the list of containers or goods with the barcode.

ECUS is convenient when you handle many declarations and want to work in a single interface. It does, however, require a stable internet connection and a valid token. If the connection is unreliable, switch to the web portal method described above.

Barcode list and container list compared

In practice, the document printed and its name depend on the type of cargo:

Type of cargoDocument printedFeatures
Full container load (FCL)List of containers eligible to pass through the supervision areaLists each container number with its corresponding barcode
Less-than-container load (LCL) and bulk cargoList of goods eligible to pass through the supervision areaLists the goods according to the declaration, not by container
Declaration covering several containersBarcode list of goods-carrying vehiclesMay contain several barcodes, one line for each vehicle or container

Where a declaration covers several containers, make sure you print all of the barcodes. A missing barcode means that some containers cannot pass through the supervision gate.

Common errors when printing the customs barcode and how to fix them

The most frequent problems encountered when handling clearance at ports, and how to resolve them, are set out below.

ErrorCauseHow to fix it
The barcode cannot be retrieved, or the system says the declaration is not eligibleThe declaration has not been cleared, or has no channel assignment or release decision yetCheck the declaration status; wait for clearance or complete the outstanding obligations (tax, specialised inspection) and try again
The system says no information was foundIncorrect details: wrong declaration number, tax code, customs office code or dateCompare the four fields with the original declaration, use the correct date format, and check the customs office code in particular
The barcode does not display, or a blank page printsThe browser is blocking pop-ups, no PDF reader is installed, or there is a display errorAllow pop-ups, try another browser, update the PDF reader, or save the PDF and print again
The captcha is entered correctly but an error still appearsThe captcha has expired or is case-sensitiveRefresh the captcha, enter it again promptly and pay attention to upper and lower case
The system is slow, overloaded or not respondingThe customs portal has heavy traffic or is under maintenanceTry again after a few minutes and avoid peak hours; if ECUS freezes, switch to the web portal, and the other way round
The printed barcode is faded or smudged and will not scanWeak printer, low ink or "draft" print modeReprint at normal quality, check the ink and use clean white paper
Containers are missing from the printoutThe full container list for a multi-container declaration was not retrievedRetrieve the full list again and check that the number of containers matches the declaration

If none of these steps works, contact the customs branch where the declaration was opened, or the Vietnam Customs support unit, and ask them to check the declaration status in the system.

Points to note by mode of transport

The way the barcode is presented differs slightly depending on how the goods are transported.

Seaports

Seaports usually require the list of containers eligible to pass through the supervision area. For FCL shipments, make sure there is a barcode for every container. Many large ports have linked automated supervision, but you should still bring a printout for checking when goods are released from or delivered to the yard.

Airports

Air cargo is usually less-than-container cargo, so you print the list of goods eligible to pass through the supervision area. Because air shipments are fast and often urgent, prepare the barcode early so that you can complete formalities at the air cargo terminal in time.

Inland container depots and bonded warehouses

The process is similar to seaports, but the supervision location is at the ICD or bonded warehouse. Identify the correct storage and supervision location so that you present the barcode in the right place.

Automated supervision and paper printouts

Vietnam Customs is expanding automated supervision, under which data on declarations eligible to pass through the supervision area is transmitted electronically to the systems of port, warehouse and yard operators. In theory, once these systems are fully connected, scanning can be done against electronic data without a printout.

In practice, many ports, warehouses and agents still require a paper printout as evidence and for checking at the gate. The safe approach is to always print the barcode in advance and keep a digital copy in PDF so that you can reprint it when needed.

Keeping records for post-clearance audits

The barcode sheet or container list is not a single-use document. It forms part of the customs file that the business must keep for post-clearance inspection. Keep the following in mind:

  • Keep both the printed and the PDF versions of the container or goods list with the declaration file.
  • Store them together with the declaration, contract, invoice, bill of lading, tax payment documents and other related papers, for the retention period for customs records required by law.
  • Organise the files by declaration number or date so that they are easy to retrieve when customs requests them.

Complete records allow the business to respond promptly and transparently to a post-clearance inspection and avoid the risk of penalties for missing documents.

Frequently asked questions

Is there a fee for printing the customs barcode?

No. Obtaining and printing the customs barcode from the Vietnam Customs portal is completely free; the only cost is paper and ink.

Can I print the barcode before the declaration is cleared?

Usually not. The barcode for passing through the supervision area is only available once the declaration has been cleared or the goods released. If you cannot retrieve it, check the declaration status and complete any outstanding obligations.

What information do I need to print the barcode?

Four basic details: the tax code, the customs declaration number, the customs office code and the declaration registration date, plus the captcha when printing from the web portal.

What is the difference between printing from the web portal and from ECUS?

The web portal needs no software, only the four details and the captcha. ECUS works inside the declaration software and requires a digital signature token, which suits businesses handling many declarations. Both produce the same type of document.

Is the customs barcode the same as a GS1 product barcode?

No. The customs barcode identifies a declaration for clearance, is managed by Vietnam Customs and is free. A GS1 barcode identifies a product for sale, is issued by GS1 Vietnam and involves fees. They are two entirely separate systems.

What should I do if the printed barcode is faded and will not scan?

Reprint it at normal quality rather than draft mode, check the ink and use clean white paper. If that does not work, save the document as a PDF and print it on another printer.

Do I have to bring a paper printout?

It depends on the port or warehouse. Many locations use automated supervision but still ask for a printout for checking, so the safest course is always to print one and keep a backup PDF.

What if the customs portal interface changes?

The basic steps of entering the four details and the captcha, retrieving the information and printing usually stay the same. If the menu moves, look for the function for printing the barcode list or container list and check the latest guidance on customs.gov.vn.

How LTV Law helps

A valid customs barcode is the last link in clearance, and knowing how to obtain it, fix errors and keep the records helps avoid container and yard storage charges. LTV Law supports importers and exporters with customs and trade procedures through our international trade advisory service.

If you need GS1 product barcodes to bring goods to market or to export, see our barcode registration service or contact our team.

This article is for general information only and does not constitute legal advice.

customs barcodeimport exportVietnam

Need help protecting your rights in Vietnam?

LTV Law acts as your licensed local representative — from filing to enforcement.

ZALOCALL