GB ENS

What are the mandatory, conditional and optional S&S GB fields?

8 min read

A forklift loading a pallet of boxed goods into a lorry trailer, seen from inside the trailer

HMRC has confirmed what the mandatory, conditional and optional fields are for GB ENS declarations. Let's look at them in more detail!

HMRC's "New Safety and Security GB dataset" slide, listing the 20 mandatory, 8 conditional and 9 optional fields

S&S GB dataset

Mandatory fields

  1. Local Reference Number (LRN): the Local Reference Number needs to be unique for every submission. This number will be used by HMG to reference the specific entry summary declaration if there are any queries around the submitted declaration before it has been accepted and a movement reference number (MRN) issued. In the XML file: RefNumHEA4
  2. Consignor: exporter/seller details. HMRC needs these consignor details: EORI number (optional), name, street and number, postcode, city and country code. In the XML file: TRACONCO1
  3. Person lodging the summary declaration: the GB EORI number of the person lodging the entry summary declaration must be provided. In the XML file: PERLODSUMDEC
  4. Consignee: importer/buyer details. HMRC needs these consignee details: EORI number (optional), name, street and number, postcode, city and country code. In the XML file: TRACONCE1
  5. Country(ies) of routing codes: chronological order of all countries between departure and final destination, e.g. DE > FR > GB. The 2-letter country code must be used. This information can only be added at header level. In the XML file: CouOfRouCodITI1
  6. Mode of transport at the border: the mode of transport corresponding to the active means of transport in which the goods are expected to enter the customs territory. These are the options:
    • Maritime
    • Rail
    • Road
    • RoRo – accompanied
    • RoRo – unaccompanied

    In the XML file: TraModAtBorHEA76

  7. Identity of means of transport crossing border: where appropriate, this field contains the identity of the means of transport or, if containerised, the equipment identification number.
    • For maritime, the IMO ship identification number to be included.
    • For rail, the wagon number to be included.
    • Not to be used for air: the IATA flight number should be included in the data field 'conveyance reference number'.
    • For accompanied roll-on roll-off, the vehicle registration number to be included.
    • For road (Channel Tunnel), the vehicle registration number to be included.
    • For unaccompanied roll-on roll-off, the IMO ship identification number to be included.

    In the XML file: IdeOfMeaOfTraCroHEA85

  8. First place of arrival code: the customs office of first entry code needs to be sent, e.g. GB000040. List of codes for all ports: https://www.gov.uk/guidance/location-codes-for-ports-of-entry-in-great-britain. If the port is missing from the list above, the closest customs office code needs to be sent (see What are the location codes for GB ENS?). In the XML file: RefNumCUSOFFFENT731
  9. Date and time of arrival at first place of arrival in the customs territory: expected date and time of arrival. Format: YYYYMMDDHHMM. In the XML file: ExpDatOfArrFIRENT733
  10. Place of loading: used to identify the seaport, airport, freight terminal, rail station or other place at which the goods are loaded onto the means of transport being used for their carriage, including the country where it is located.
    • For unaccompanied, this will be the port of departure.
    • For accompanied, this will be the freight terminal, warehouse or other place.

    In the XML file: PlaLoaGOOITE334

  11. Place of unloading: used to identify the seaport, airport, freight terminal, rail station or other place at which the goods are unloaded.
    • For unaccompanied, this will be the port of arrival.
    • For accompanied, this will be the freight terminal, warehouse or other place.

    In the XML file: PlaUnlGOOITE334

  12. Goods description: a plain language description precise enough for customs to be able to identify the goods without reference to other documents or materials. You can find acceptable item description examples here: https://taxation-customs.ec.europa.eu/system/files/2021-03/guidance_acceptable_goods_description_en.pdf. In the XML file: GooDesGDS23
  13. Types of packages: the type of package, specified from a list of package types. You can find the package codes here: https://developer.service.hmrc.gov.uk/guides/safety-and-security-import-declarations-end-to-end-service-guide/documentation/appendix.html#kinds-of-package. In the XML file: KinOfPacGS23
  14. Number of packages: the number of packages, counting packages that are packed in such a way that they cannot be divided without undoing the packaging. In the XML file: NumOfPacGS24
  15. Goods item number: the number of the item in relation to the total number of items contained in the declaration. In the XML file: IteNumGDS7
  16. Gross mass (kg): total gross weight of goods including packaging. In the XML file: TotGroMasHEA307
  17. Seal number: seal number for the package. If there is no seal, send 'No Seal'. In the XML file: SeaIdSEAID530
  18. Transport document number: the reference for the transport document that covers the transport of the goods into the UK. Usually the bill of lading, container list or the commercial invoice. In the XML file: DocRefDC23
  19. Transport charges method of payment code: the payment method for transport charges. The codes are:
    • A: Payment in cash
    • B: Payment by credit card
    • C: Payment by cheque
    • D: Other (for example direct debit to cash account)
    • H: Electronic credit transfer
    • Y: Account holder with carrier
    • Z: Not pre-paid

    In the XML file: TraChaMetOfPayHEA1

  20. Declaration date and time: the date and time when the declaration is submitted. Format: YYYYMMDDHHMM. In the XML file: DecDatTimHEA114

Conditional fields

  1. Unique consignment reference number: this field must be provided by fast parcel operators and express operators. It is optional for other modes of transport. In the XML file: ComRefNumHEA
  2. Carrier (in other words, the haulier): the person responsible for submitting the ENS. This field must be completed if the carrier is different from the person lodging the ENS. The carrier must be identified by an EORI number, and the carrier name and address are conditional:
    • the name and address are optional if the EORI is a GB EORI;
    • the name and address are mandatory if the EORI is an EU EORI.

    In the XML file: TRACARENT601

  3. Notify party: the party that needs to be notified of the arrival of the goods. This field must be provided where this information is available. In the XML file: NOTPAR670
  4. Conveyance reference number: this field should be provided for all modes except accompanied roll-on roll-off, unaccompanied roll-on roll-off and road movements. You should provide information to identify the journey of the means of transport, for example voyage, flight or trip number, if applicable. In the XML file: ConRefNumHEA
  5. Number of pieces: this field must be provided if pieces are unpackaged. If 'type of package' indicates bulk, number of pieces is not required. In the XML file: NumOfPieGS25
  6. Container number: this field must be provided when containers or trailers are being moved. In particular, it must be provided for maritime containers, road (Channel Tunnel), accompanied RoRo and unaccompanied RoRo. For a trailer, it should be the trailer number registered with the national authority in the country of registration. In the XML file: ConNumNR21
  7. Shipping marks and numbers of packages: this field must be completed for all packaged goods and should include information and descriptions that will enable the identification of individual packages. In the XML file: MarNumOfPacGSL21
  8. UN dangerous goods code: a unique, 4-digit serial number assigned by the UN. It must be provided where relevant. In the XML file: UNDanGooCodGDI1

Optional fields

  1. Commodity code: the commodity / HS code of the item. Only the first 4 digits are required. In the XML file: ComNomCMD1
  2. Total number of packages: the total number of packages for goods declared within the declaration. In the XML file: TotNumOfPacHEA306
  3. Number of items: the total number of items declared in the entry summary declaration. In the XML file: TotNumOfIteHEA305
  4. Other specific circumstances indicator: the only code that applies is E (authorised economic operator). It can only be used if the person lodging the declaration and all consignees hold a valid AEOF or AEOS certificate. In the XML file: SpeCirIndHEA1
  5. Special mentions: enter codes for special mentions ('Additional information/special indication code') to be sent across the common domain. The codes can be found on the 'Additional Information' tab of HMRC's data elements spreadsheet. In the XML file: AddInfCodMT23
  6. Signature and authentication: we have not found anything related to this optional field. It does not seem to have a field in the XML, and it isn't listed in HMRC's current data elements spreadsheet (version 4.1, July 2026).
  7. Declaration place: text describing where the declaration was completed (office address etc). In the XML file: DecPlaHEA394
  8. Nationality of active means of transport crossing the border: the nationality of the means of transport crossing the border, given as a 2-letter country code. Should only be added for RoRo or road movements. In the XML file: NatIDEMEATRAGI973
  9. Office of subsequent entry: the reference number is required if some of the goods are destined to be transported to subsequent offices of entry. In the XML file: RefNumSUBENR909. This field isn't listed in HMRC's current data elements spreadsheet (version 4.1, July 2026).

Sources

The newest data elements spreadsheet (Appendix 1, which contains all the field rules and codes) can be downloaded from HMRC's guidance Making an entry summary declaration, under "Data elements for entry summary declarations".

The API guide can be accessed here: https://developer.service.hmrc.gov.uk/guides/safety-and-security-import-declarations-end-to-end-service-guide/

Questions

How many mandatory fields does a GB ENS have?

The S&S GB dataset has 20 mandatory fields and 8 conditional fields (mandatory only if certain conditions are met), plus a set of optional fields.

What do I enter in the seal number field if there is no seal?

If there is no seal, send 'No Seal'.

Is the consignor's or consignee's EORI number mandatory?

No. HMRC needs the name, street and number, postcode, city and country code; the EORI number is optional.