Guidance

Data Element 2/3: Documents and Other Reference Codes (Union) of the Customs Declaration Service

Find the relevant document codes, document status codes and details to be declared such as licences and certificates (Appendix 5A).

Documents

Data Element 2/3 Documents and Other Reference Codes (Union) (Appendix 5A)

Request an accessible format.
If you use assistive technology (such as a screen reader) and need a version of this document in a more accessible format, please email different.format@hmrc.gov.uk. Please tell us what format you need. It will help us if you say what assistive technology you use.

Details

Known error workarounds may apply to this area of the instructions.

This Appendix provides details of the relevant document codes, document status codes and details to be declared (for example, licences and certificates) in Data Element (DE) 2/3 of the customs declaration.

This includes document codes for all types of authorisations required to declare the goods to the customs procedure concerned (for example, C512 to be declared when the Simplified Declaration Procedure is being used).

This guidance refers to Union codes and details. If you want to declare National codes and details, see Appendix 5A: DE 2/3 Document and Other Reference Codes (National).

Where both Union and National document codes are being declared, enter any Union codes first.

Where a document code permits the use of status codes UA, UE, UP, US, XX or XW, and where the document normally requires a reference number, and where the document is not held (waiver is claimed), a statement supporting the use of those status codes must be provided. The statement must be provided in both the Second Component (Document Identifier) and in the fourth component: (Document Reason) (an..35) of DE 2/3.

See Appendix 5B: DE 2/3 document status codes for status code definitions.

Unless specifically instructed otherwise in column 4 of the individual document code, a document identifier reference number is not required.

Use of status code XX or XW is a legal declaration that the goods are exempted from the documentary controls.

Enough evidence must be held in records to show eligibility for the waiver or exemption which must be produced on demand.

Updates to this page

Published 1 August 2018
Last updated 305 JulyAugust 2024 + show all updates
  1. Document codes Y170, Y171, Y175, Y176 and Y177 have been added to Appendix 5A for use on Northern Ireland declarations.

  2. Document codes 9Y01 and 9Y02 have been removed.

  3. Document codes D005, D008, D017, D020, D021, D022, D023 & D024 have been updated. Document codes 9Y01 and 9Y02 have been added for claiming exemption from the prohibition introduced under the Animal Welfare (Livestock Exports) Act 2024.

  4. The document reason field for codes Y714 and Y717 have been amended to M.

  5. Document code Y748 has been added and Y796 has been amended to correct description and usage of code.

  6. New EU document codes L149, L150, L151, L152, L153, X844, X845, X847, X848, X849, X850, X851, X854, X855, X856, X857, X858, Y718, Y719, Y720, Y721, Y722, Y723, Y724, Y725, Y726, Y727, Y728, Y729, Y730, Y731, Y732, Y733, Y734, Y735, Y736, Y737, Y738, Y739, Y740, Y743, Y744, Y745, Y746 & Y747 have been added to align with an amendment to Regulation (EU) No 765/2006 made under Regulation (EU) No 2024/1865. New EU document code Y879 has been added to align with an amendment to Regulation (EU) No 833/2014 made under Regulation (EU) No 2024/1745. The ‘Description and Usage of Code’ and ‘Details to be entered on the declaration’ have been amended for Document Code Y853.

  7. Codes C101, L148, X843, X852, X853, Y706, Y707, Y708, Y709, Y710, Y711, Y712, Y713, Y714, Y715, Y716, Y741, and Y742 have been added. X841 has been amended.

  8. Document codes U003, U031, U052, U058, U072, U073, U077, U095, U096, U097, U100 and U500 have been deleted as these are no longer acceptable preference document codes.

  9. Document code Y155 has been amended to reflect changes made by the EU to the description and usage.

  10. Document codes C550 and C551 have been added.

  11. Document code C053 has been added to Appendix 5A.

  12. Document code C689 has been amended to reflect the need for a separate C689. Document code C690 has been updated to remove references to EU legislation to reflect the split between UK legislation applicable in GB and EU legislation applicable in Northern Ireland. The use of document status code XW with document code C690 is also terminated. As per Tariff Stop Press Notice 23 May 2024, consignments claiming an exemption from the Forest Law Enforcement, Governance and Trade (FLEGT) controls should use document code Y057 instead of C690. Customs Declaration Service will temporarily continue to permit C690 with status code XW to give declarants time to switch to using Y057. The removal of status code XW means that a document ID becomes mandatory with C690 and a document reason is not required. A further notice will be issued in advance of Customs Declaration Service blocking use of status code XW with C690. Y057 has been updated to remove reference to an EU decision. Y070 has been updated to reflect that it will only be applicable in Northern Ireland and in most instances Y057 will also be required when using Y070.

  13. Document codes Y121 and Y163 have been updated as they now require both the document ID and document reason fields need to be completed.

  14. Document codes D023 and D024 have been added and a reference to legislation has been updated for document code U119.

  15. Document codes N002 and N851 have been amended to reflect that Procedure for Electronic Application for Certificates from the Horticultural Marketing Inspectorate (PEACH) is no longer available for new consignments and should now only be used for Supplementary Declarations relating to consignments which used PEACH at the time of import. Although Declaration Unique Consignment Reference (DUCR) matching is no longer required, a DUCR (Previous Document Type DCR) is still required in Data Element (DE) 2/1 at header level and should contain a code which enables the consignment to be traced in the trader’s records.

  16. Requirements for document code Y121 have been updated to show that the document ID, rather than the document reason, is mandatory when declaring Y121. Validation will be introduced on 10 May 2024 to enforce completion of the document ID when using document code Y121. In the meantime, Customs Declaration Service will accept Y121 with either the document ID or the document reason (or both) completed.

  17. Text of C672 updated. Change does not impact on the completion requirements.

  18. Description and completion requirements for Y951 have been updated. C045, C057, C079, C082, Y053, Y054, Y120, Y121, Y123, Y124, Y125, Y152, Y154, Y155, Y160, Y162, Y163, Y950, Y951, Y955, Y956, Y972, Y926, Y976 & Y986 have been updated with reference to associated document codes for fluorinated gas measures.

  19. Document code U084 has been removed. This document code was intended to be used for claiming an EU quota, which is not available in either Great Britain (England, Scotland and Wales) or Northern Ireland.

  20. Document code Y123 has been updated.

  21. Document code Y125 has been updated.

  22. Amended descriptions and details for document code C519 to clarify that a public customs warehouse type II cannot be used for imports into Great Britain (GB). Y930 & Y931 have been amended. Please note the Commission Delegated Regulation (EU) 2021/630 and Commission Implementing Regulation (EU) 2021/632 are only applicable to Northern Ireland declarations. This legislation was introduced after the UK left the European Union and is not recognised for GB declarations. GB declarations continue to be covered by the previous EU legislation which was retained at the time the UK left the European Union. Extensive updates have also been made across the code list in regard to the ‘Details to be entered’ relating to specific status codes.

  23. The code list has been updated at C045, C701, D021, L100, Y120, Y152, Y154, Y155, Y163, Y784, Y785, Y786, Y787, Y788, Y789, Y790, Y791, Y792, Y793, Y794, Y795, Y796, Y797, Y798, Y799, Y955 and Y972.

  24. Document codes Y121, Y160, Y162 and Y163 have been added. Document code Y986 has been amended. 

  25. Document codes U084, Y111, Y112 & Y896 have been added.

  26. Document codes L147 and Y705 have been added for use in Northern Ireland. For document code L147, the following guidance has been issued by the EU — 'A system of certification will be operational as of 1 March 2024 in a pilot phase to be fully operational as of 1 September 2024. During this period, economic operators can choose to use either the traceability-based certification or other evidence (such as KP (Kimberly Process) certificates for non-mixed origin, evidence from traceability systems or laboratory reports) proving the non-Russian origin. A list of accepted evidence will be provided at a later stage. As of 1 September 2024, the use of the traceability-based certification will be mandatory for imports of diamonds with a size of 0.5 carats or above.'

  27. Document code A031 has been added.

  28. Document codes C092 and Y898 have been added for exports from Northern Ireland.

  29. Y123 has been amended to request completion of Additional Information (Data Element 2/2) code FGAS2 with the importer’s Fluorinated Gas organisation ID when declaring document code Y123. Changes have also been made to Codes C064, C068, E990, Y904, Y906 and Y907 to include the wording 'As retained in UK Law' in column C.

  30. Document codes C602, N934, U077, U112, Y006, Y007, Y200, Y201, Y202, Y203, Y204, Y205, Y206, Y207, Y208, Y209, Y210, Y211, Y212, Y213, Y214, Y215, Y216, Y218, Y219, Y220, Y221 and Y222 have been updated to show that a document reason is no longer being mandated when using one of these document codes and to make it clear that the document ID field must be completed. Customs Declaration Service had been incorrectly mandating both a document ID and a document reason with these document codes. Declarations will still be accepted if the document reason field is completed in addition to the document ID. Document codes Y054 and Y058 have been updated to show that a document ID is no longer being mandated when using one of these document codes. Customs Declaration Service had been incorrectly mandating both a document ID and a document reason with these document codes. Declarations will still be accepted if the document ID field is completed in addition to the document reason. Document codes Y217 and Y925 have been updated to show that Customs Declaration Service is mandating both a document ID and document reason when using these document codes. This is incorrect and will be addressed by a future update, but for now both fields must be completed. Document status codes EP, JE, XF & XU have been removed from document code N934, because they are not appropriate with this document code. Document status code HP has been removed from document codes U110 & U111, because it is not compatible with preference documents.

  31. Document codes C091, L146, X841, X842, Y704, Y870, Y872, Y873, Y874, Y875, Y876, Y877, Y878, Y893, Y894 & Y895 have been added. Document code Y891 has been amended. Note – these are all EU document code changes and do not impact on GB declarations.

  32. Description of document code D008 has been updated to facilitate the wider use of D008. The commodity code footnotes in the Online Trade Tariff should be referred to for details of the specific invoice declaration required for this code.

  33. Amendments have been made to Document Code C505 completion instructions to distinguish between GB and NI Guarantee Waivers following the introduction of XI EORI. Amendments to clarify text have also been made to C626 and C651.

  34. Minor text changes have been made to document codes C073, Y105, Y106, Y109, Y110, Y113 and Y115. Document code C100 has been updated to use document status code JP instead of RE. This is a temporary measure until we can remove the requirement for a document status code when declaring C100. Note has been added to clarify that the associated holder of the REX authorisation should only be declared in DE 3/39 if they hold a UK issued EORI.

  35. Document code Y850 updated.

  36. Document Code Y151 has been added. Amendments made to text within Description and Usage of Document Codes Y854 and Y855 as these codes are now available for use on the UK Tariff as well as the Northern Ireland Tariff.

  37. Changes have been made to the text of Union Document Codes C400, C401, C638, C639, C076, C077, C990, X802, Y089, Y824, Y838, and Y908. Please note code Y824 now has two separate rows to reflect its different applications.

  38. Document codes C651 and C658 have been updated to show the different legislation applicable in Northern Ireland and Great Britain. The completion requirement for document code C658 has been updated to require the Fallback Local Reference Number instead of an Administrative Reference Code (ARC) number during fallback when it is not possible to generate an ARC number.

  39. Document code C658 has been updated to clarify the reference number that should be used during EMCS fallback.

  40. Document code X802 added. This is applicable only to exports from Northern Ireland to Ukraine.

  41. Amendment made to the Description and Usage of document code C001 to include the words 'UK' to Attestation of equivalence, and 'or EU certificate'.

  42. C071 updated to make it clear that the document code can only be used if written consent has been granted for the import of mercury or mixtures of mercury.

  43. Document code Y997 updated in line with an EU amendment to the legislation regarding imports. The legal reference has been amended from Article 2(a) to Article 2 of Regulation 692/2014.

  44. Changes made to Appendix 5A Union Codes C071, Y924, Y925 & Y969 to include the wording “As retained in UK Law” in column C.

  45. The EU have amended the definition of document code Y822 to make reference to Council Regulation (EU) No 833/2014 Article 3h(2a) instead of Article 3h(2). In this case Article 3h(2a) should not be confused with Article 3h(2)(a). Article 3h(2a) states “The prohibitions referred to in paragraphs 1 and 2 shall apply to the luxury goods listed in Annex XVIII insofar as their value exceeds EUR 300 per item, unless otherwise specified in that Annex”.

  46. Document code X808 has been added.

  47. Document codes X805, X806, X807, Y866, Y868 & Y869 added to list of Union Document Codes as part of the latest tranche of sanctions against Belarus. Document code description and completion requirements for document code Y903 has also been updated to reflect differences in UK and EU legislative requirements.

  48. Document code Y891 has been added to Appendix 5A.

  49. Appendix 5A Union Document Codes Y890, Y892, X993 added.

  50. Document code X838 has been added.

  51. Document codes L144, L838, X824, X832, X837, X840, Y852 and Y865 added.

  52. Union Document code N002 has been updated to include reference to new waiver document code.

  53. The use of punctuation and terminology has been standardised for status codes.

  54. Document code Y703 has been added. This document code applies only in Northern Ireland. The EU have prohibited the import of certain Ukrainian cereal crops into Bulgaria, Hungary, Poland, Romania and Slovakia due to the impact on domestic producers. All Northern Ireland imports of Ukrainian cereal crops impacted by this prohibition qualify to use this waiver.

  55. Document Code C600 has been updated to include Freeports.

  56. Document code C715 has been removed as it is not required.

  57. Document status codes JA and JE added to the list of document status codes which are permitted to be used with document code C673. This will facilitate declaration of document code C673 on Supplementary Declarations for catch certificates which were produced with the Simplified Frontier Declaration. Document status code XW removed from the list of status codes permitted with Y100, to reflect system behaviour. Notes on document codes C085, C640, C673, C678, I004, L001, L079, N002, N851, N853 & Y100 updated to distinguish between when a DUCR is required for licence or Automatic Licence Verification System (ALVS) reconciliation and when it is just required for tracing in trader’s records.

  58. Document codes Y803, Y804, Y817, Y819, Y985, Y990, Y991 and Y992 have been deleted and are no longer in use.

  59. Document code Y864 added for use on imports from Israel to Northern Ireland.

  60. Appendix 5A Union Document Codes have been updated with the following changes. Document codes C651 and C658 have been amended to be exports only. Document codes Y117 and Y118 have had text added to clarify they can only be used with Requested Procedure Codes beginning with 51, 71, or 78.

  61. Document codes Y150, Y839 and Y844 added. Document codes C669, C670, C672, Y915 and Y923 updated to reflect the addition of Y150.

  62. Document codes L143, X817, X819, X823, X830, X831, X834, X835, X836, X990, X992 added. These are EU document codes applicable only to Northern Ireland declarations.

  63. C667 has been updated to show document reason as mandatory rather than conditional. C667 is only permitted to be used with status codes XX and XW, which both lead to the Document Reason being mandatory. Completion requirements for Y054, Y058, Y085, Y200 to Y222 and Y925 have been updated to reflect the requirements shown in columns F and G. We are aware that some document codes have both the Document ID and Document Reason shown as being mandatory. We will aim to correct this at some point in the future but, for now, both will have to be completed.

  64. Document codes Y856, Y857, Y858, Y859 and Y863 have been added to 5A Union Document codes.

  65. New columns have been added for Document ID and Document Reason to show if completion is mandatory, conditional or not applicable. A small number of document codes will incorrectly mandate Document ID and Document Reason are always both declared. This will be corrected on a future CDS release but must be complied with in the meantime. Completion requirements for C517, C518 and C519 amended to show the requirement is to declare the warehouse authorisation rather than the warehouse ID. Document status code requirements for A030, C019, C082, C083, C085, C516, C601, C640, C673, C678, N002, N851, N853, N990, U178, Y006, Y007, Y990 and Y992 have been updated.

  66. National document codes Y067, Y071, Y080, Y229, Y250, Y251, Y253, Y254, Y255, Y256, Y257, Y258, Y259 and Y501 have been added to the list of permitted document codes. As these have been set up in the format of Union document codes, they have been included here in addition to the published list of National Document Codes. These are not in the correct format for national additional codes, so will only be used temporarily. It is planned to replace these with codes in the correct format later in 2023. It is planned to have a period of dual running to facilitate the migration from the temporary codes to the final codes.

  67. Reference to Annex XVII added under Description and Usage of Code for Union code Y113.

  68. Licence Types X061 – X068 have been added.

  69. Document codes Y106, Y110 and Y113 have been added.

  70. The list of national authorisation type codes used with document code C676 has been updated.

  71. Appendix 5A Union Document Codes – codes C639, C990 and X001 updated.

  72. Union document codes Y860, Y861 and Y862 have been added.

  73. Clarification on the use of document code C400 in relation to other CITES documents. C400 must always be declared together with one of the document codes C401, C402, C403, C404, C405, C635, C638 or C639. CITES documents must be produced at the frontier for endorsement otherwise they may invalidated. Document status code XX can no longer be used with C401, C402, C403, C404, C405 or C406. Waiver document codes Y900 or Y932 can be used when the consignment does not require a CITES document.

  74. Document codes Y854 and Y855 have been added.

  75. Union Document codes Y997 and Y998 added.

  76. The ‘Details to be entered on the declaration’ for code N002 have been amended.

  77. Codes L139, L142, X839, Y846, Y847, Y848, Y849, Y850, Y851 and Y853 have been added to Data Element 2/3 Documents and Other Reference Codes (Union) (Appendix 5A).

  78. This guidance has been updated to reflect amended instructions at codes C085, C640, C673, C678, I004, L001, L079, N002, N851, N853 and Y100.

  79. Completion instructions for document codes N002 and N851 have been amended to reflect the differences dependent on whether the pre-notification was done using PEACH or IPAFFS. The document status codes for these document codes have also been updated. Document code Y946 has also been amended to show that it can be used on both import and export declarations.

  80. Document codes U116, U117 and U118 have been removed.

  81. The page has been updated with new codes at Y229 and Y999. Codes C603, C604, C606 and C610 have been removed.

  82. The page has been updated at CO52, U112, Y900, Y925 and Y950.

  83. Document codes Y840, Y841, Y842, Y843 and Y845 have been added as part of a response to the Russian invasion of Ukraine.

  84. Document code Y127 added for consignments of certain foodstuffs to declare that they have not originated in or been dispatched from Turkey. Document codes Y831, Y832, Y833, Y835 and Y838 added as part of the response to the Russian invasion of Ukraine.

  85. New union document code U178 for ‘Origin quotas — Product originating in accordance with Annex ORIG-2A’ between the EU, UK and European Atomic Energy Community has been added.

  86. Union document codes Y803, Y804, Y817, Y818 and Y819 have been added to cover EU sanctions in response to the invasion of Ukraine. Union document codes D008 and Y939 have had the definitions updated.

  87. New codes Y801, Y802, Y805, Y806, Y807, Y808, Y809, Y810, Y811, Y812, Y813, Y814, Y815, Y816, Y820, Y821, Y822, Y824 and Y825 have been added to facilitate the operation of sanctions imposed against Russia and Belarus.

  88. The list has been updated at Document Codes A016, C083, U075, U076, U077, U116, U117, U118, U119, X060, X061, X062, X063, X064, X065, X066, X067, X068, X070, X072, Y117, Y118, Y120, Y123, Y124, Y125, Y955, Y956, Y976, Y980, Y983, Y984, Y985, Y986, Y987, Y988, Y990, Y991, Y992, Y993, Y994, Y995 and Y996.

  89. This page has been updated to reflect amended completion instructions at C640, C678, N002, N851 and N853.

  90. This page has been updated to remove C051, C642, Y039, Y064, Y065, Y068 and Y974.

  91. This page has been updated at C014, C015, C017, C018 and C652 with clearer declaration completion instructions. The availability of status codes EA, EE, EL, EL and ES have also been removed at C014.

  92. This page has been updated with corrected instructions at Y930 and Y931.

  93. This page has been updated regarding ‘Details to be entered’ advice for C052, C667, Y006, Y007, Y034, Y038, Y085, Y105, Y109, Y200-223, Y919, Y951, Y970 and Y971.

  94. Updated guidance on document codes permitting the use of status codes UA, UE, UP, US and ‘Details to be entered’ for C667, N934, U112, Y006, Y007, Y034, Y038, Y054, Y058, Y085, Y919 and Y925.

  95. Added codes C089 and Y981 to relevant parts of Appendix 5A data table.

  96. Appendix 5A has been updated to include changes to the following codes: C008, C084, L081, L082, U031, U052, U072, U073, U074, Y116 and Y980.

  97. This page has been updated to reflect code changes, specifically the removal of C087 and Y933.

  98. This page has been updated to reflect the revised Appendix 5A: DE 2/3 Documents and Other Reference Codes (Union), specifically a change regarding Document Code Y935.

  99. First published.

Sign up for emails or print this page