- Lainstack
- Free customs tools
- CDS error codes
CDS error codes
All 181 Customs Declaration Service error codes from HMRC's list of 9 June 2026, with HMRC's rule for each. Search by code or by a word from the rejection.
181 codes
| Code | Meaning | Guide |
|---|---|---|
| CDS10001 | Required details are missingObligation error: Mandatory Data Element has not been provided | How to fix |
| CDS10002 | Invalid entry on the declarationObligation error: Data Element is not allowed | How to fix |
| CDS10003 | Too many instances of a data elementObligation error: Number of Occurrences exceeds what is allowed for the Data Element | How to fix |
| CDS10004 | Commodity code errorCommodity code Error: Mandatory data element not provided and/or format error and/or number of occurrences exceeds what is allowed for the data element | How to fix |
| CDS10010 | Invalid formatFormat error: data element has invalid format | How to fix |
| CDS10020 | Invalid valueDomain error: data element contains invalid value | How to fix |
| CDS10021 | You appear to have entered a negative valueData Error: Value must be positive | |
| CDS10045 | Valuation errorCalculated item Customs value is negative. Check declaration valuation data. | How to fix |
| CDS11003 | You have more or fewer items than the number you declaredRelation error: The value declared in Total Number of Items (D.E. 1/9) does not correspond with the number of goods items on the declaration | How to fix |
| CDS11004 | Relation errorRelation error: The combination of Trade Movement Type, Declaration Type followed by requested procedure and /or previous procedure code is invalid. | |
| CDS11005 | Relation errorRelation Error: The Requested Procedure (D.E. 1/10) for each Goods Item must derive the same Declaration Category (e.g. H1) or acceptance date is not valid. No further validation has been carried out. | How to fix |
| CDS11006 | Relation errorRelation Error: Net Mass must be lower than Gross Mass | How to fix |
| CDS11007 | Additional message cannot be acceptedRelation Error: The submitter of the Additional Message differs from the original declaration. | |
| CDS11012 | Element is not allowed to be amended on this declaration type | |
| CDS12003 | Local reference number duplicationUniqueness Error: Reuse of LRN (D.E. 2/5) is not allowed within 48 hours | How to fix |
| CDS12005 | Identification not recognisedAuthorisation Error: Party ID unknown or invalid | How to fix |
| CDS12006 | Licence has expired, not recognised, or does not matchLicense Error: License has expired; or License ID cannot be recognised; or License ID does not belong to the party on the declaration; or License declared has insufficient balance remaining; or License does not apply to the goods or country declared | |
| CDS12007 | Authorisation number not acceptedAuthorisation Error: Authorisation has expired or Authorisation reference number provided is not recognised | How to fix |
| CDS12013 | Authorisation errorAuthorisation Error: provided VAT number is not a valid destination for VAT transfer | |
| CDS12014 | Goods arrival notification requiredSequence Error: A Goods Arrival Notification must follow a pre-lodged declaration. | |
| CDS12015 | Declaration status does not allow requestSequence Error: AdditionalMessage.declarationReference does not refer to an existing declaration or the existing declaration is not in a permissible state to process the request | |
| CDS12016 | Supplementary declaration is too late or predates acceptanceDate Error: The acceptance date must not be in the future and must not be more than 180 days in the past. | |
| CDS12022 | Number of items errorRelation Error: The Good Item Number (D.E. 1/6) is larger than the total number of goods items on the declaration | |
| CDS12024 | Uniqueness errorUniqueness Error: The value declared should be unique | |
| CDS12026 | Field has been amended more than onceUniqueness Error: The same data element cannot be amended more than once in the same request. | |
| CDS12031 | Arrival notification is too lateSequence Error: Goods Arrival Notification must be submitted within 30 days. | |
| CDS12034 | Amendment request is invalidRelation Error: Submission channel of amendment must be the same as the original declaration. | |
| CDS12036 | Request not acceptedSequence Error: A new request cannot be submitted until a response is received to your previous request. | |
| CDS12042 | Relation errorRelation error: elements must be identical within the Goods Item | |
| CDS12044 | MUCR reference is invalidExternal Validation MUCR result: validation errors encountered | |
| CDS12046 | Goods arrival notification has not been submitted within 30 days from the date the declaration was originally received. The declaration must now be resubmitted to CDS as either arrived (where permitted) or pre-lodged and then arrived.Process Error: Goods Arrival Notification was not received within 30 days of the pre-lodged declaration. | |
| CDS12050 | Procedure code is missing or invalidA valid Requested Procedure (D.E. 1/10) has not been provided or acceptance date is not valid. No further validation has been carried out. | How to fix |
| CDS12052 | No valid declaration typeA valid Declaration Type (D.E. 1/2) has not been provided or acceptance date is not valid. No further validation has been carried out | How to fix |
| CDS12056 | The combination of 2 values you entered is not allowed or requires another value entered For example: A document code has an incompatible document status or You have declared a code/codes which require that another code is then entered but is missing, such as an additional procedure code required for another additional procedure code to be used. or You cannot enter the customs procedure using ABDIN for Authorisation by Declaration (ABD)Relation error: the combination of elements is not allowed | |
| CDS12057 | Invoice currency for all items must be the sameRelation Error: The invoice currency must be the same for every goods item on the declaration. | How to fix |
| CDS12058 | Number of packages errorRelation Error: When the packaging quantity is zero, then there must be another goods item with the same marks and numbers having a quantity greater than zero | |
| CDS12062 | DUCR reference is a duplication or is invalidExternal Validation DUCR result: validation errors encountered | How to fix |
| CDS12066 | Either: 1) the way the declaration has been completed requires specific DEs to also be completed with certain values. For example, required DE has not been completed or not completed correctly, or; 2) the way the declaration has been completed is not permitted. For example, the combination of DEs or their content is not allowed.This element or value is not allowed in combination with the declared element(s) or value(s). | |
| CDS12067 | Either a DE is not permitted to be completed on a declaration, has been completed incorrectly, or the combination of declared elements required has not been satisfied. For example: DE 8/1 Quota has been completed on a declaration where NIDOM and NIQUO are present in DE 2/2, or; DE 3/40 has been completed at header on a H8 declaration, but either APCs 'A04' or '1VW' and/or AI Statement 'PVA01' are missing.These elements or values are not allowed in combination with the declared element(s) or value(s). | |
| CDS12068 | A document code identifier is required for a specific doc code entered in DE 2/3.This combination of elements mandates the declaration of a Document Identifier | |
| CDS12069 | Declaration invalidation is already being processed at the Office of Exit. Please wait for further update. | |
| CDS12070 | A required field is missing a value or is invalidRelation error: The value supplied in Data Element 1 mandates the completion of Data Element 2 | |
| CDS12071 | A field has been completed at header and item levelRelation error: Data Element must be supplied at either header or item level and cannot be declared at both levels | |
| CDS12072 | Relation errorRelation error: Either Data Element 1 or Data Element 2 must be supplied, but not both | |
| CDS12073 | Relation errorRelation error: Data Element must be supplied at header or item level | |
| CDS12074 | Data elements are missing and one or the other is requiredRelation error: Because Data Element 1 is not supplied, Data Element 2 is mandatory | |
| CDS12075 | Relation errorRelation error: Data Element 2 must not be supplied with this value in Data Element 1 | |
| CDS12077 | Relation error affecting one or more additional completion requirementsRelation Error: A valid value must be supplied in Data Element 2 as Data Element 1 is present | |
| CDS12078 | Relation Error: As no Deferment Account Number is provided in D.E. 2/6, an immediate Method of Payment must be offered in D.E. 4/8 | How to fix |
| CDS12079 | Relation errorRelation Error: Data Element 2 must not be supplied with Data Element 1 | |
| CDS12080 | Relation errorRelation error: Combination of Addition / Deduction codes (DE 4/9) is not allowed | How to fix |
| CDS12081 | Relation Error: Importer (D.E. 3/16) & Exporter (D.E. 3/2) must not be the same party | How to fix |
| CDS12082 | Relation errorRelation error: The currency declared in DE 4/11 must be the same as the currency declared in DE 4/14 | How to fix |
| CDS12083 | Relation errorRelation Error: For Country of Preferential Origin DE 5/16 where mandated, only provide one country or country group, not both | |
| CDS12084 | Consignee detailsRelation error: Either Consignee Name (DE 3/9) or Consignee Identification Number (DE 3/10) must be supplied, but not both | |
| CDS12086 | Carrier detailsRelation error: Either Carrier Name (DE 3/31) or Carrier Identification Number (DE 3/32) must be supplied, but not both | |
| CDS12087 | Additional fiscal partyRelation error: VAT Declaring Party Identification (DE 3/40), where mandated, must be supplied at either header or item | How to fix |
| CDS12088 | Representative details missingRelation error: Either Agent Name (DE 3/19) or Agent Identification Number (DE 3/20) must be supplied | |
| CDS12089 | Consignee party detailsRelation error: Consignee Party Name (DE3/9) must be supplied at either header or item level | |
| CDS12090 | Carrier EORIRelation error: Carrier Name (DE 3/31) or Carrier Identification Number (DE 3/32) must be supplied for the 17X Additional Procedure Code at either header or item level | |
| CDS12091 | Relation errorRelation error: Consignee (D.E. 3/10) & Exporter (D.E. 3/1) must not be the same Party | |
| CDS12092 | Relation errorRelation error: Seller (DE 3/25) & Exporter (DE 3/1) must not be the same Party | |
| CDS12095 | Relation errorRelation error: Additional Procedure Combination (DE 1/11) can only be used when Country of Dispatch/Export (DE 5/14) Exportation Country is a Third Country | |
| CDS12096 | Authorisation errorRelation error: Provided Authorisation Type (D.E. 3/39) requires specific document in Additional Documents | |
| CDS12097 | Relation errorRelation error: Combination Additional Procedure Code (D.E. 1/11) and Country of Destination in DE 5/8 is not allowed | |
| CDS12098 | Relation errorRelation Error: Combination of Means of Transport (DE 7/4) and Delivery Terms in DE 4/1 is not allowed | How to fix |
| CDS12099 | Goods location code not recognisedRelation error: Combination of elements that make up the Goods Location code (5/23) is invalid | How to fix |
| CDS12100 | Relation errorRelation Error: Combination of Delivery terms (DE 4/1) and Addition/Deduction code (DE 4/9) is not allowed | How to fix |
| CDS12101 | Relation errorRelation error: Declared Tax Type (DE4/3) is not allowed in combination with the Additional Procedure | How to fix |
| CDS12102 | Relation errorRelation error: Deferred Payment Method in DE 4/8 is Required with the duty deferment account number provided in DE 2/6 | How to fix |
| CDS12103 | Relation errorRelation error: Valid delivery destination is required in D.E.5/8 for a CO declaration | |
| CDS12104 | Relation errorRelation error: Valid Import Procedure code (1/10) is required | |
| CDS12105 | Relation errorRelation error: Addition/Deduction code (DE 4/9) not allowed with the declared Additional Procedure Code (DE1/11) | How to fix |
| CDS12106 | Relation errorRelation error: Appropriate Additional Information Code must be provided in DE2/2 with Additional Procedure Code 1CL | |
| CDS12107 | Relation errorRelation error: Conditions not met for the requested simplification. Please see CDS Trade Tariff Vol.3 Appendix 4 | |
| CDS12108 | Obligation errorObligation Error: DUCR is mandatory on an Export Declaration | |
| CDS12109 | Total invoiced amount should be in GBPObligation Error: When providing fixed rate of exchange rate in DE 4/15, a currency code of GBP must be supplied | How to fix |
| CDS12110 | Relation errorRelation error: A Quota Order number (DE8/1) cannot be provided in combination with this Preference Code (DE 4/17) | |
| CDS12111 | Relation errorRelation error: The provided tax amount (DE 4/6 or DE 4/7) must always be declared with currency code GBP | How to fix |
| CDS12112 | Addition/deduction code missingRelation error: Airfreight related additions/deduction code must be provided in DE 4/9 when an airport place of loading is provided in DE 5/21 | How to fix |
| CDS12113 | Authorisation CGU requires a guaranteeRelation error: Authorisation holder CGU requires a guarantee type of 0 or 1 to be provided in D.E.8/2 | How to fix |
| CDS12114 | Relation errorRelation error: Value declared must be less than 100 as DE 4/9 Additions/Deductions code is a percentage | How to fix |
| CDS12115 | Relation errorRelation error: Declared Procedure Code (DE 1/10 and / or 1/11) mandates the use of Additional Document (DE 2/3) 185C | |
| CDS12117 | Relation errorRelation error: Importer (DE 3/16) & Buyer (DE 3/27) must not be the same party | How to fix |
| CDS12118 | Relation errorRelation error: Consignor (DE3/1) information must be supplied for the 17X Additional Procedure Code at either header or item level and cannot be declared at both levels | |
| CDS12119 | Additional document not allowed or is missingRelation error: Declared Additional Document (D.E. 2/3) is not allowed with this Procedure Code (D.E. 1/10 or D.E. 1/11) | How to fix |
| CDS12120 | Authorisation errorRelation Error: The appropriate authorisation has not been declared for this Declaration Type (D.E. 1/2) | |
| CDS12121 | There is an error with the Additional Information codes against a goods item.Relation Error: This combination of Additional Information codes (D.E. 2/2) is not allowed | How to fix |
| CDS12123 | A value declared must be equal to or greater than 0.Data Error: Value must be greater than 0 | |
| CDS12125 | DAN errorDAN Error: Account number is not recognised; or Account is suspended or revoked; or Parties declared on the declaration do not have authority to use account number provided | How to fix |
| CDS12132 | Declaration Unique Consignment Reference (DUCR) format is not validDUCR format not valid | How to fix |
| CDS12133 | MUCR format is not validMUCR format not valid | |
| CDS12134 | MUCR or DUCR format is not validDUCR and MUCR formats not valid | |
| CDS12135 | Relation errorRelation Error: Country of Export (DE 5/14) must be supplied at either header or item level | |
| CDS12136 | Relation errorRelation Error: Provided Additional Procedure Code (DE 1/11) necessitates indirect representation (DE 3/21) for the following declaration types: C F Y J K Z | |
| CDS12137 | Uniqueness errorUniqueness Error: Only a single MUCR can be declared in DE 2/1 at Header level on an imports declaration | |
| CDS12138 | Additional procedure code is not allowedRelation Error: Provided Additional Procedure Code (D.E. 1/11) cannot be used on a Type J/K (EIDR) declaration | |
| CDS12139 | Relation errorRelation Error: Additional Information Code OVR01 must be provided in DE 2/2 when entering a manual tax amount in DE 4/6 or DE 4/7 | |
| CDS12141 | Relation errorRelation Error: Incompatible goods movements declared. AI codes 'NIDOM' and 'NIIMP' must not be entered together on the same declaration. | |
| CDS12143 | DE 2/2 AI statement errorIncompatible goods movements declared. AI codes 'NIREM' and 'NIAID' must not be entered together on the same goods item on a declaration. | |
| CDS12144 | Relation errorRelation Error: EU Quota order number beginning '09' must not be entered in DE 8/1 for any imports into the UK | |
| CDS12145 | Relation errorRelation Error: When declaring the Requested Procedure code 42 in DE 1/10, the Additional Information code NIIMP must be declared in DE 2/3 | |
| CDS12146 | Relation errorThe Requested Procedure code 42 (DE 1/10) and Additional Information code OSR42 (DE 2/2) must be entered together on the same goods item | |
| CDS12147 | Additional Information (AI) code is not allowedRelation Error: UVC01 declared on an original declaration. UVC01 can only be declared on an amendment request for a declaration | |
| CDS12148 | Relation errorRelation Error: Additional Document C506 requires deferred payment method | How to fix |
| CDS12149 | Relation errorRelation Error: Additional Procedure code 000 can not be declared with any other Additional Procedure Code | |
| CDS12150 | An authorisation number is invalidAuthorisation Error: Authorisation reference number does not belong to the party on the declaration | How to fix |
| CDS12151 | Duplication errorRelation Error: When a licence is declared, ID must be unique from all other additional documents (DE 2/3) in the same goods item | |
| CDS12152 | An additional procedure code is missing for an H7/SRDS declaration:Additional Procedure Code (DE 1/11) 1H7 can only be used when submitting an SRDS declaration and is required to be declared on all goods items. | How to fix |
| CDS12153 | Relation ErrorRelation Error: EORIs with this country code are not supported | |
| CDS12154 | The Document Code 999L cannot be used for goods being imported or exported from Northern Ireland. Please use the UK/NI online tariff to identify the document codes, other than 999L, required by the measure conditions on your commodity code.Incompatible goods movements declared. When AI code 'NIIMP', 'NIDOM' or 'NIEXP' is entered at item level in D.E. 2/2, Document Code – 999L cannot be entered in D.E.2/3 | |
| CDS12155 | Uniqueness ErrorUniqueness Error: Only one instance of 999L may be declared in D.E. 2/3 per goods item | |
| CDS12156 | The declaration Acceptance Date is missing or not in the correct format against Previous Document Code 'CLE'Obligation Error: Mandatory Data Element has not been provided or the ID for previous document CLE must match the AcceptanceDate in the format yyyymmdd | |
| CDS12157 | A relevant party on the declaration does not have the status of 'established in the Union', for the purposes of an NI declaration.Invalid EORI - This Party must have a permanent business establishment in Northern Ireland or the European Union | |
| CDS12158 | A relevant party on an NI declaration has been entered with an XI EORI number, however no NI AI statements (NIIMP, NIDOM, NIEXP) are present.Missing Element - A non-GB EORI requires entry of NI Movement AI Codes in DE 2/2 | How to fix |
| CDS12170 | Authorisation Error: Invalid VAT number. Please note, if you are attempting to claim Onward Supply Relief (OSR), you must be identified as trading under the terms of the Northern Ireland Protocol (now Windsor Framework) for VAT. | |
| CDS12171 | Due to the way the declaration has been completed, a further DE must be completed or completed in a certain wayRelation Error: The values supplied in Data Element 1 and Data Element 2 require a valid value to be provided in Data Element 3. | |
| CDS12172 | Due to the way the declaration has been completed, a further DE must be completed or completed in a certain wayRelation Error: The value(s) supplied in Data Element 1 and/or Data Element 2 require a valid value to be provided in Data Element 3 and/or Data Element 4. | |
| CDS12174 | Relation Error: The value declared in Total amount invoiced (D.E. 4/11) does not correspond with the total of all item price amounts (D.E. 4/14) on the declaration | How to fix |
| CDS12500 | The value entered into a specific DE exceeds the amount permittedValidation error: value limit exceeded | |
| CDS13000 | Value fails credibility check as too high or too lowCredibility check: incredible value found | |
| CDS14000 | Value fails credibility check as too high or too lowCredibility check: incredible quota value found | |
| CDS19999 | Declaration has multiple errorsAdditional errors found | |
| CDS20001 | Related movement not foundRelated movement not (yet) found | |
| CDS20002 | Related movement does not match declaration | |
| CDS20003 | Related movement not found | |
| CDS40007 | Duplication errorDuplicate value | |
| CDS40010 | Value given for a data element does not applyData element value does not apply | |
| CDS40011 | Missing data element value | |
| CDS40012 | At least one of the commodity codes you have declared requires additional information that cannot be provided on this dataset. Please use the standard full export declaration dataset (B1) instead. | |
| CDS40013 | A DE contains invalid information related to a Tariff measure/conditionData element contains invalid value | |
| CDS40044 | Document declared is not allowed for the given commodity codeDisallowed Document | |
| CDS40045 | A document is missingMissing document | |
| CDS40047 | Value not allowedProhibition | |
| CDS40049 | Quota used upQuota exhausted | |
| CDS40053 | Quota suspended | |
| CDS40059 | Incomplete measure or commodity code | |
| CDS40066 | Tariff condition not fulfilled | |
| CDS40068 | National additional code for excise is missingAdditional Excise code is missing | |
| CDS40069 | Quota errorQuota Closed | |
| CDS40070 | Additional information code NIIMP must appear on all itemsWhen AI code 'NIIMP' is entered at item level in D.E. 2/2, it must be declared on all goods items in the declaration. | How to fix |
| CDS40071 | Additional information code NIDOM must appear on all itemsWhen AI code 'NIDOM' is entered at item level in D.E. 2/2, it must be declared on all goods items in the declaration | How to fix |
| CDS40072 | Additional information code NIEXP must appear on all itemsWhen AI code 'NIEXP' is entered at item level in D.E. 2/2, it must be declared on all goods items in the declaration | |
| CDS40073 | You declared NIREM additional information code on its ownWhen de-risking AI code 'NIREM' is entered at item level in D.E. 2/2, either 'NIIMP' or 'NIDOM' AI codes must also be entered at item level on the same goods item | |
| CDS40074 | Relation errorWhen subsidy AI code 'NIAID' is entered at item level in DE 2/2, either 'NIIMP' or 'NIDOM' AI codes must also be entered at item level on the same goods item | |
| CDS49999 | Other ErrorsOther errors | |
| CDS50000 | Response from ALVS is not release | |
| CDS50001 | Invalid UCR Format, DUCR or MUCR | |
| CDS50003 | UCR is not at the top of its consolidationUCR is not at the top of its' consolidation | |
| CDS50008 | DUCR or MUCR is not the right formatUCR Type does not match UCR Format | |
| CDS50015 | Declaration is cancelled or terminated upon arrivalDeclaration is cancelled/terminated/invalidated/handled externally/rejected (upon arrival) | |
| CDS50018 | This is an ILE error code and is returned for Inventory linking.Goods Arrival Date/Time is invalid or not included | |
| CDS50027 | Authorisation failedRole/Location-Based Authorisation failed (PDS) | |
| CDS50028 | Goods location code invalidGoods Location is invalid | |
| CDS50031 | Request has been received after a successful RET | |
| CDS70711 | Licence errorLicence Error: Electronic licence does not exist | |
| CDS70719 | Licence errorLicence Error: Electronic licence quoted although Document Status Code indicated paper licence | |
| CDS70724 | Licence reference quoted is not validLicence Error: Licence is not valid | |
| CDS70739 | Licence errorLicence Error: An Import licence cannot be used on an Export declaration | |
| CDS70740 | Licence errorLicence Error: Importer/Exporter is not the owner of the licence | |
| CDS70758 | Licence errorLicence is not valid for declared Country of Destination | |
| CDS70760 | Licence is not valid for this itemLicence Error: Licence is not valid for the declared goods item | |
| CDS70761 | Licence errorLicence has insufficient quantity remaining to meet claim | |
| CDS70791 | Licence errorLicence Error: Licence line number does not exist on the licence | |
| CDS71115 | Licence errorLicence Error: An Export licence cannot be used on an Import declaration | |
| CDS71200 | Document reference is a duplicationUniqueness Error: Document Codes with identical IDs are not permitted on a single goods item | |
| CDS71201 | Licence errorLicence Error: All instances of a licence for a declaration must use a consistent Document Status Code | |
| CDS71203 | Licence errorLicence Error: Document Status Code "EL" or "EP" is not allowed on a Single Use licence | |
| CDS71204 | Licence is already surrendered | |
| CDS71206 | Licence is already exhausted | |
| CDS71216 | Licence is no longer available for useTransaction not permitted; Licence is inactive and is no longer available for use | |
| CDS71236 | Licence errorLicence not valid for declared Country of Origin | |
| CDS71252 | Licence errorLicence not valid for declared Country of Dispatch | |
| CDS71262 | Licence errorLicence Error: Document Status Code "EA" can only be declared on Type Y declaration | |
| CDS73329 | Licence cannot be usedLicence Error: Licence cannot be declared on declaration category/declaration type combination | |
| CDS77000 | Document identifier requiredObligation Error: ID must be provided for declared Document Code | |
| CDS77001 | Quantity must be providedQuantity must be provided for Document Category | |
| CDS77002 | Document status code neededObligation Error: Document Status Code must be provided for declared Document Code | |
| CDS77003 | Licence errorLicence Error: DUCR must be provided for an Import declaration with a Licence | |
| CDS77004 | Reservation could not be made | |
| CDS77005 | Reason not given for use of a 'Y' codeReason for waiver must be declared for Document Category |
Source: HMRC, Customs Declaration Service error codes, list dated 9 June 2026 (page updated 23 June 2026). Checked 12 November 2026. Contains public sector information licensed under the Open Government Licence v3.0.
About CDS error codes
- Where is the error code in a CDS rejection?
- Each error in the rejection notification carries a validation code, such as CDS12005, and a pointer to the element it concerns. Your declaration software may show one or both.
- How do I fix a rejected declaration?
- Correct the data element the error points to, then send the declaration again with a new local reference number (DE 2/5). CDS rejects an LRN reused within 48 hours, which is CDS12003.
- My declaration passed validation. Why was it rejected?
- Schema validation only covers structure. CDS also checks parties, authorisations, the tariff and duty against its own records. The declaration XML validator adds the tariff checks and some of CDS's own limits.
- Are these HMRC's official descriptions?
- The codes, titles and rules are HMRC's, word for word. The notes on the guide pages are ours, written from HMRC's CDS Declaration Completion Instructions, with a link to each section they use.