Skip to content
Reference

Party codes and PANs

Finding a party's PAN, and the codes people confuse it with

Last updated

Several fields on a Cargo Summary Notification (CSN) want a party identified by a code, and filers reasonably go looking for a directory to search. There is no such directory — and mostly you do not need one, because the value is already printed on a document you are holding.

SCMTR.io for forwarders, NVOCCs and consol agents: Do this on SCMTR.io →

The reliable route: a GSTIN already contains the PAN

Characters 3 to 12 of any GSTIN are that party's PAN, by construction. A GSTIN is built as state code, PAN, entity number, the letter Z, then a checksum:

07AAAPX0003A1Z5
││└────┬────┘│││
││     │     ││└─ checksum
││     │     │└── Z
││     │     └─── entity number
││     └───────── PAN: AAAPX0003A
└┴─────────────── state code 07 = Delhi

So a carrier invoice, delivery order or arrival notice showing a GSTIN is showing you the PAN exactly, with no lookup and no guessing. It is the most reliable source there is, and it is the one to reach for first.

The same token gives you two more fields for free: the first two digits are the state code in the MIG's own numbering, and that resolves the country subdivision without any name matching. Pasting a party block into the app extracts all of this for you.

Only the PAN goes in a PAN field. A file that gives the state code and the PAN together (27AAAPX0003A, the GSTIN's first twelve characters) under code type PAN is stopped, with one press, Use AAAPX0003A, that takes the state code off. A party with no code is left blank: the word NULL typed where the code goes is read by customs as the code itself, so it is stopped too, with Leave it blank.

Andhra Pradesh is 37. The MIG's state list leaves Andhra Pradesh out altogether, but ICEGATE's own list of common errors says code 37 was added for it, every Andhra Pradesh GSTIN starts with 37, and customs accepts 37 for an Andhra Pradesh consignee. Do not use 28, the state's code before 2014: the MIG does not list it either. Pick Andhra Pradesh in the state list and 37 is filled in for you.

Daman & Diu is 26 now. Daman & Diu merged into Dadra & Nagar Haveli on 26 January 2020, and a Daman business's GSTIN starts with 26. The state list shows 26 as "Dadra & Nagar Haveli and Daman Diu"; the MIG's older 25 for Daman & Diu is still offered, and filings carry both.

Ladakh: 38 is its GST code, but customs' own state list does not have it. Customs' state code list (ICEGATE's Customs Online Directory) runs 01 to 37, without 28, plus 97 for "other territory", and still lists Ladakh's area under 01, Jammu & Kashmir. The form fills 38 from a Ladakh GSTIN or PIN and says so in amber; if customs refuses the state, file 01.

97 is "other territory" — on customs' list, and in the state list as Other Territory.

Confirming a PAN you already have

Two official services will confirm a PAN, and neither will search for one (a checklist drafted from e-mailed bills asks you for a consignee's PAN or GSTIN the same way, since no bill carries it — Bills by e-mail):

  • GST portal → Search Taxpayer by PAN returns the legal name registered under a PAN, plus every GSTIN under it.
  • DGFT → View Any IEC does much the same, since an Indian entity's IEC is its PAN.

Both take a PAN and give back an entity. Neither works backwards — you cannot search by company name to find a PAN. Both sit behind a captcha, so they are a minute of a person's time rather than something any system can do for you. Worth spending when a value looks wrong.

What code do I file when the consignee is a government department?

The same code types as anyone else — the guide's five, IEC, PAN, GSN, GSD, GSG, and PPT for a passport number — and the same rule. On an import the MIG asks for the consignee's IEC, and if there is no IEC, the PAN; the code goes in cnsgnesCd and its type beside it in typOfCd (the notify party's in panOfNotfdParty and typOfNotfdPartyCd). A government buyer changes which value you have to hand, not the fields.

In order of preference:

What the department hasCode (cnsgnesCd)Type (typOfCd)
Its own PAN — a government PAN has G as its fourth letterThe PANPAN
No IEC and no PAN to handDGFT's permanent IEC for its category (below)IEC
A GSTIN, and you are sure it is the department'sThe 15-character GSTINGSG

The PAN first, for the same reason as any other consignee: it names the department itself, and it is what a consignee of any kind usually carries.

The permanent IEC is the answer to "the department has no IEC". Ministries and departments of the central and state governments are exempt from taking an IEC, and DGFT gives each exempt category one permanent IEC to use instead (Handbook of Procedures, para 2.07). They are in PAN format. The numeric permanent IECs still quoted in the trade press are the old baggage and personal-use rows of the same table, which DGFT's handbook now gives in PAN format as well — they are not codes for a government department.

Permanent IECCategory
AMDCG0111EAll ministries and departments of the Central Government, and agencies wholly or partly owned by them
ADSGA0129EAll departments of any State Government, and agencies wholly or partly owned by them
DCUNO0137EDiplomatic personnel, consular officers in India, and officials of the UN and its specialised agencies

DGFT says non-commercial PSUs use these too. A permanent IEC names a category, not the department, so it tells customs nothing about who is receiving the goods — prefer the department's PAN whenever it has one. The household-goods page has the other rows of the same table.

GSG is allowed. The MIG lists it ("GSTIN given for Govt. Entities"). Use it only with a GSTIN that is really the department's. One kind to avoid: a department registered under GST only to deduct GST TDS may hold a GSTIN built on its TAN rather than a PAN (the fourteenth character is D). This app checks that a GSTIN has a PAN inside it and will stop at one like that — file the PAN or the permanent IEC instead.

Two things that sound like government cargo:

  • Item type GC is the MIG's "Govt. Cargo". It is a separate question from the code type — it says which body of customs rules applies to the goods. The MIG gives it no more definition than those two words; OT (other cargo) is what almost every filing uses. Ask the importer whether the goods are government cargo in customs' sense before choosing it.
  • CG is not government. Where the MIG says "In case of CG, GSTIN/PAN code should be mentioned", CG is the cargo type Coastal Goods. It has nothing to do with a government consignee.

On an import the shipper (cnsgnrsCd) is abroad and its code is not required: the MIG makes the consignor code mandatory only for export (EX) and coastal (CG) cargo.

The container agent code is not the shipping line's PAN

This is the most common mix-up, and it is understandable: both are PANs and both sit near the vessel on the form.

The container agent code names whoever is responsible for that particular container for customs debit and credit — the consolidator on a consolidated bill, or the container's owner when it is shipper-owned. In practice it is the master consignment's consolidator, which is often not the line operating the vessel.

There is no register to look it up in, and CBIC says so. The published SCMTR clarifications treat the container-level code purely as an auto debit/credit question and point the filer at their jurisdictional nodal officer rather than at any directory. The value depends on the commercial arrangement over that particular box, which no public register models.

It is never mandatory in any reporting event. Leaving it blank is safe, and far better than guessing a party who would then be recorded as responsible for the container. Since ICES Advisory 38/2026 (21 September 2026) customs says the container agent PAN is validated on the shipping line's manifest only, not on your CSN; keep the value right here regardless.

If you corrected the consolidator PAN after adding containers, check the agent codes: in the guided steps they follow the correction on their own; in the full form they do not, and the app flags each container whose agent code is not the master's consolidator PAN so you can retype it under Equipment.

What the MLO code is instead

The MLO code is the shipping line's customs identity, in PAN form, which customs records per vessel call. That one is reliably available, and the app fills it in for you when you pick a ship.

Two properties worth knowing:

  • It is recorded per call, not per hull. The same vessel can report different lines on different voyages — chartered out, sold, or run by a different agency — and both answers are correct for their call.
  • It identifies the line, which is not the same question as who is responsible for the box. See above.

Why is the master filed under an agent's PAN, not the shipping line's?

Because on some routes the line on the bill does not file for itself. The master's Consolidator PAN is the PAN the line files under on this route, and a line can use a different agent depending on the port and the final destination. These examples come from a working filer's table; no published customs document sets the rule out.

Line on the billPort (POD)Destination (FPOD)Files under
Wan Hai LinesChennaiChennaiWan Hai Lines
Wan Hai LinesChennaiBangaloreOMEGA
Wan Hai LinesCochinCochinOMEGA
Interasia LinesChennaiChennaiInterasia Lines
Interasia LinesCochinCochinAISSA Maritime

So the app does not pick the PAN from the line's name alone. On the master, Shipping line on the bill takes the line printed on the bill. That choice is kept with your draft only, to pick the PAN — the line itself is never sent to customs; the filing carries the PAN and nothing else. The PAN is then filled from our routing table for this filing's port and destination — the destination in "Route for all house bills", or the one every house bill shares. What it does:

  • It says whose PAN it is — for example "Files under OMEGA — Wan Hai Lines on INMAA1 → INWFD6" — and where the row came from. Rows from the filer's table say they have not been checked with customs. "Bangalore" is read as INWFD6, so on a Chennai master to another Bangalore station the table has no row and the PAN is left for you.
  • Where the table holds the agent's PAN, it fills in. Wan Hai Lines, Chennai → Chennai, fills Wan Hai Lines' own PAN (AAACW4257A). OMEGA's and AISSA Maritime's PANs fill on the routes above.
  • Every other route a listed line sails, the line itself. For about fourteen lines a route with no row of its own fills the line's own PAN, so a Wan Hai box to a Mundra ICD or a Chennai CFS fills Wan Hai's PAN. RCL is the exception: two PANs, by port (Kattupalli, Nhava Sheva); anywhere else it asks and offers both.
  • When the route changes, the PAN follows, as long as it still holds the table's earlier answer — and that includes clearing it when the new route's agent has no PAN on file, or the route has no row, rather than leaving the wrong party's PAN standing. A PAN you typed yourself is never replaced; the note offers the table's instead.
  • When the table names the agent but not its PAN, it says so and asks you to type the PAN from the line's arrival notice, rather than offering the line's own.
  • When the table has no row for the route, the PAN is left for you to type. The line's own PAN is offered in one click, but never filled in by itself — on an inland route it is often the wrong party.

Ports are matched by customs station, so a CFS counts as the port it sits under. The table is kept by us; if your route is missing or wrong, tell us through Feedback.

What is the "liner PAN", and how do I change it after the CSN is filed?

Filers often call the master's Consolidator PAN the liner PAN or line PAN: on a master with house bills under it, it is the PAN the shipping line files under on this route (its own, or its agent's), and it is written onto every container as its agent code. Each house bill's Consolidator PAN is a different thing — your own PAN, as the consolidator of that house bill — and a wrong liner PAN does not touch it.

Where it is on the form: in the guided steps, the first step, The shipping line and the ship (pick the line on the bill and the PAN fills in); in the full form, Master consignment → Consignment reference → Consolidator PAN.

On your CSN, correcting it is an ordinary amendment (SCA) of that one field, like any other CSN correction — open the filing, choose to amend it, change the PAN and sign the amendment. In the guided steps the containers' agent codes follow the correction; in the full form, retype each container's agent code under Equipment (the app flags the ones that no longer match). After Sea Entry Inwards, a CSN amendment needs the jurisdictional officer's approval, as every one does.

The drop-and-re-add (D then S) is not yours to do. ICES Advisory 38/2026 (Q2) forbids an in-place update of a line's consolidator PAN on the shipping line's manifest — the line's SAA drops its line item and re-adds it. That is the line's procedure on its own SAM line, filed on the line's login; nothing in your CSN is sent as D and S for it. Ask the line whether its SAM line carries the old PAN and needs amending too.

Can I pick a shipping line's PAN by typing the line's name?

Yes, on the master's Consolidator PAN when a house bill sits under the master. Besides picking the line on the bill (above), the PAN field itself searches by the line's name as well as by PAN:

  • Your own filings come first — every shipping-line PAN your organisation has filed as a master's consolidator, with how many filings used it.
  • Then the line's own PAN. For fourteen lines — Maersk, MSC, ONE, OOCL, Evergreen, COSCO, HMM, Gold Star, Emirates, Wan Hai, Interasia, PIL, Hapag-Lloyd and Unifeeder — the note under the field says Confirmed on a filing customs accepted, or as customs records it. RCL's two PANs split by port — AAJCR4245A at Kattupalli, AAHCR9728E at Nhava Sheva — so they are offered by port and say so. A route the line files through an agent (Wan Hai via OMEGA to Bangalore and at Cochin, Interasia via AISSA Maritime at Cochin) still wins over the line's own PAN.
  • Then a reference list of about thirty more lines. The note under the field says these have not been checked with customs. Confirm with the line if unsure.
  • Where a line uses a different agent at a different port, the agency at your filing's port is listed first — Yang Ming and Regional at Cochin, Swen at Tuticorin.

Pick one and the PAN fills in; in the guided steps the container agent codes follow it. You can still type any PAN yourself. On a master filed on its own the field is your own PAN, so no list of shipping lines is offered there.

There is no national directory behind this — there is no public register of carrier PANs to look one up in, which is the same wall this page describes for party codes. Your own filings are the best source you have, which is why they come first.

The MLO code is the other half of the answer, and it does arrive by itself. Pick the ship on the master bill step and the shipping line's MLO code comes back from customs with the voyage, along with the line's name where we can resolve it. That code is the line's customs identity in PAN form — but it is the code customs returns for that call, not something you should retype into a PAN field on the strength of the two looking alike. See What the MLO code is instead for where each one belongs.

Foreign shipping lines have no PAN

A foreign principal never registers or files in its own name. The entity that registers with ICEGATE and files under SCMTR is always the Indian agency — so the customs identity you meet on a filing belongs to, for example, MSC Agency (India), not to the overseas parent.

For the shipping line code itself, CBIC published a directory of foreign lines covering most major container carriers. It is a dropdown inside logged-in ICEGATE at registration time, not a file you can download. When the line you chartered is not on it, the published answer is to enter the commercial code BLK — created for bulk cargo, and confirmed publicly by CBIC as the fallback for an unlisted line.

Why you cannot find the public code directory

Because it is currently broken, not because you are looking in the wrong place.

ICEGATE's CODES application still lists a Shipping line Code enquiry among about thirty others, and its index page loads normally — but the enquiries behind it return a server error. The older old.icegate.gov.in copy no longer exists at all.

Shipping line codes are in any case allotted case by case by the Customs System Manager against submitted documents. There is no self-service directory to register yourself in, by design.

  • Which reference is minted by whom: Every reference number, who issues it, and when
  • What the container agent code means on the form: CSN field conventions
  • When the party is a person with no IEC at all: Household goods and personal effects
  • The code types (the guide's five and PPT) and the item type, as code lists: Coded values
  • Pasting a party off a bill of lading: Using SCMTR.io

Still stuck on this?

Ask the assistant about this page, or anything else in SCMTR filing — in English, Hinglish or your own language.

Have the file? Check it free — no sign-in

General information only — not legal or customs-compliance advice, and it may not reflect the most current ICEGATE/CBIC requirements. Verify against the official sources, or a licensed customs broker, before filing.