From 140dca1ef421e1ec0e81762c0f414e44adcd0ef9 Mon Sep 17 00:00:00 2001 From: Emma Hagerup Date: Mon, 15 Mar 2021 08:47:11 +0100 Subject: [PATCH 1/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0461d630..9bb89523 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # dms-public -Public redistribution of examples/code/schemas +Branch for keeping track on XML-schemas From c6affd7038ac9ee0514efc943cc5f4777c80887d Mon Sep 17 00:00:00 2001 From: Emma Hagerup Date: Mon, 15 Mar 2021 08:48:48 +0100 Subject: [PATCH 2/7] Create toldsystemet_H7_v1.1.xsd --- H7/toldsystemet_H7_v1.1.xsd | 390 ++++++++++++++++++++++++++++++++++++ 1 file changed, 390 insertions(+) create mode 100644 H7/toldsystemet_H7_v1.1.xsd diff --git a/H7/toldsystemet_H7_v1.1.xsd b/H7/toldsystemet_H7_v1.1.xsd new file mode 100644 index 00000000..05b10b06 --- /dev/null +++ b/H7/toldsystemet_H7_v1.1.xsd @@ -0,0 +1,390 @@ + + + + + + + + + + + + + LRN + + + + + MRN + + + + + + + + + Required element in ERMIS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Required field in ERMIS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Required field in ERMIS + StatementTypeCode is not compliant with EUCDM + + + + + + + + + + + + + + UN/LOCODE + + + + + Additional identifier + + + + + Type of location + + + + + + + + Qualifier of identification + + + + + + Required field in ERMIS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + EUCDM an..8, WCO an..3 + Required field in ERMIS + + + + + + + + + + + + + + + + + + + + + + + + Required field in ERMIS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Required in ERMIS if RoleCode=IOSS + + + + + + + + + ERMIS requires "1/10 Requested procedure"=40 in CurrentCode, "1/10 Previous procedure"=00 in PreviousCode and "1/11 Additional procedure"=C07/C08 in CurrentCode + + + + + + + + + + + + + + + Required field in ERMIS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Required field in ERMIS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From be1b32dec23f2e45a5561b03f27c2587dbfda7e0 Mon Sep 17 00:00:00 2001 From: Emma Hagerup Date: Mon, 15 Mar 2021 13:11:07 +0100 Subject: [PATCH 3/7] Update toldsystemet_H7_v1.1.xsd --- H7/toldsystemet_H7_v1.1.xsd | 72 +++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/H7/toldsystemet_H7_v1.1.xsd b/H7/toldsystemet_H7_v1.1.xsd index 05b10b06..aa8de980 100644 --- a/H7/toldsystemet_H7_v1.1.xsd +++ b/H7/toldsystemet_H7_v1.1.xsd @@ -39,16 +39,53 @@ + + + Can be used if declarant uses a third party for importing. + Not mandatory. + + + + + EORI. + Mandatory. + + + + Form of representation: direct representation or indirect representation. + + - Code 2: Direct representation + - Code 3: Indirect representation. In order to use code 3, the agent has to have a Danish EORI. + Mandatory. + + + + + Not necessary as the information will be collected from the EORI (Agent\ID). + + + + + Not necessary as the information will be collected from the EORI (Agent\ID). + + + + Not necessary as the information will be collected from the EORI (Agent\ID). + + + + Not necessary as the information will be collected from the EORI (Agent\ID). + @@ -59,14 +96,49 @@ + + + Name and address of the person or company importing the good(s). + Importer and declarant can be the same. + + If private - DK9999 is used in C08. + Not mandatory. + + + + + EORI. + Mandatory. + + + + + Only used for C08 + + + + + Only used for C08 + + + + + Only used for C08 + + + + + Only used for C08 + + From e01b00b65f574f5a8eed2dbc694bd25e763a2cae Mon Sep 17 00:00:00 2001 From: Emma Sofie Sandvad Hagerup Date: Fri, 19 Mar 2021 14:45:58 +0100 Subject: [PATCH 4/7] Added comment and I2 --- H7/toldsystemet_H7_v1.1.xsd | 70 ++++- I2/toldsystemet_I2_v1.xsd | 505 ++++++++++++++++++++++++++++++++++++ 2 files changed, 573 insertions(+), 2 deletions(-) create mode 100644 I2/toldsystemet_I2_v1.xsd diff --git a/H7/toldsystemet_H7_v1.1.xsd b/H7/toldsystemet_H7_v1.1.xsd index aa8de980..89e529ce 100644 --- a/H7/toldsystemet_H7_v1.1.xsd +++ b/H7/toldsystemet_H7_v1.1.xsd @@ -6,21 +6,87 @@ + + + DMS specific field +
+ - "9" For initial submission + - "13" For correction +
+
+
- LRN + + EUCDM 5.2+ + 2/5 +
+ LRN - The local reference number (LRN) shall be used. It is nationally defined and allocated + by the declarant in agreement with the competent authorities to identify each single + declaration. Must be unique. +
+
- MRN + + DMS specific field +
+ MRN - used for corrections, invalidation, or amendment. Ignored on submit. + The MRN is automatically generated following the EUCDM legislation as a unique combination + of 18 characters. + The combination of the 18 characters is, in the time of writing, as follows: + 1. The last two digits of the year of formal acceptance of the declaration (e.g. 20 for + 2020) + a. Consist of 2 digits + 2. Country where the declaration/proof of the customs status of union goods/notification is + lodged (e.g. DK for Denmark) + a. Consist of 2 letters + 3. Unique identifier based on year and country (e.g. 49DE04K21LO1) + a. Consist of 12 alphanumeric characters + 4. Procedure identifier of the declaration (e.g. R for H1, H2, H3, H4, H6, H7 or I1) + a. Consist of 1 alphanumeric character + 5. Control digit (e.g. 5) + a. Consist of 1 alphanumeric character + 6. Based on the ISO 6346 algorithm +
+
+ + + DMS specific field +
+ Follows the 1/1 from H1: + - "IMA" For a standard customs declaration (under Article 162 of the Code). + - "IMD" For lodging a standard customs declaration (such as referred to under code A) in + accordance with Article 171 of the Code. +
+
+
+ + + DMS specific field +
+ Total number of items in the declaration. +
+
+
+ + + EUCDM 5.2+ + 5/23 +
+ See supplied DeclarationOfficeID.xlsx for valid entries. +
+
+
diff --git a/I2/toldsystemet_I2_v1.xsd b/I2/toldsystemet_I2_v1.xsd new file mode 100644 index 00000000..b5530fe7 --- /dev/null +++ b/I2/toldsystemet_I2_v1.xsd @@ -0,0 +1,505 @@ + + + + + + + + + + + + + LRN + + + + + MRN + + + + + + + + + + + + + + + + 1/8 EUDCM 5.2+ (not in EUDCM 6.0) + +
+ Mandatory on header level. +
+
+
+ + + + + + + + +
+
+
+ + + + Required element in ERMIS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3/20 EUDCM 5.2+ (not in EUDCM 6.0) + +
+ A representative. + Mandatory on header level. +
+
+
+ + + + + + + + 3/20 EUCDM 5.2+ + +
+ EORI +
+
+
+ + + + + 3/21 EUCDM 5.2+ + +
+ Form of representation + - Code 2 is direct representation. + - Code 3, indirect represenation. In order to use code 3 the agent has to have a danish EORI. +
+
+
+
+
+
+ + + + + + 3/39 EUCDM 5.2+ + +
+ Holder of the authorisation. + This information shall not be required in case a customs declaration has been lodged prior to the presentation of the goods pursuant to Article 171 of the Code. +
+
+
+ + + + + + ERMIS requires this field + + + + + + + + 3/39 EUCDM 5.2+ + +
+ EORI + + + Using the relevant Union code, enter the type of the authorisation + + + + + 3/39 EUCDM 5.2+ + +
+ Relevant Union code for the type of the authorisation +
+
+
+ + + + + + + + + 3/41 EUCDM 5.2+ + +
+ Person presenting the goods to customs in case of entry in the declarant's records or pre-lodged customs declaration +
+
+
+ + + + + + + + 3/41 EUCDM 5.2+ + +
+ EORI +
+
+
+ +
+
+
+ + + + + + + + + + + + 5/23 EUCDM 5.2+ + +
+ The location of goods +
+
+
+ + + Either fill in "Name, ID, TypeCode and Address/TypeCode" or Address + + + + + + ID - Identification of location. + Input depends on ID-element (ID qualifier code) + + + + + ID qualifier code + + + + + Type of location + + + + + + + + Qualifier of identification + + + + + + Required field in ERMIS + + + + + + + + + +
+ + + + + 7/10 EUCDM 5.2+ + +
+ Container identification +
+
+
+ + + + + + Required field in ERMIS + + + + + Container ID number + + + + + +
+
+
+
+ + + + + + + + 1/6 EUCDM 5.2+ + +
+ Goods item number +
+
+
+ + + + + + + + 6/5 EUCDM 5.2+ + +
+ Gross mass in kilograms. + The gross mass is the weight of goods including packaging, but excluding the carrier's equipment for the declaration. +
+
+
+ + + + + + + + +
+ + + + + 7/10 EUCDM 5.2+ + +
+ Container identification +
+
+
+ + + + + + + + + + Container ID number + + + + +
+
+
+
+ + + + + + Required field in ERMIS + + + + + + + + 6/10 EUCDM 5.2+ + +
+ Number of packages +
+
+
+ + + + + 6/9 EUCDM 5.2+ + +
+ Type of packages. + This information shall only be provided if the discharge of the goods under temporary storage concerns only parts of the declaration for temporary storage lodged previously in relation with the goods concerned. +
+
+
+ + + + + +
+
+
+ + + + + + 2/1 EUDCM 5.2+ + + + + + + + + Required field in ERMIS + + + + + + + + + + + +
+
+
+ + + + + 2/1 - EUDCM 5.2+ + + + + + + + + + Required field in ERMIS + + + + + + + + + + + + +
+
+
+ + + From 289307cf9ef90b3c94a12d40d06ebeec83e707a3 Mon Sep 17 00:00:00 2001 From: Emma Sofie Sandvad Hagerup Date: Fri, 19 Mar 2021 15:17:16 +0100 Subject: [PATCH 5/7] Update toldsystemet_I2_v1.xsd --- I2/toldsystemet_I2_v1.xsd | 136 +++++++++++++++++++++++--------------- 1 file changed, 82 insertions(+), 54 deletions(-) diff --git a/I2/toldsystemet_I2_v1.xsd b/I2/toldsystemet_I2_v1.xsd index b5530fe7..1225d326 100644 --- a/I2/toldsystemet_I2_v1.xsd +++ b/I2/toldsystemet_I2_v1.xsd @@ -6,6 +6,15 @@ + + + DMS specific field +
+ - "9" For initial submission + - "13" For correction +
+
+
@@ -19,9 +28,46 @@ + + + DMS specific field +
+ Follows the 1/1 from H1: + - "IMA" For a standard customs declaration (under Article 162 of the Code). + - "IMD" For lodging a standard customs declaration (such as referred to under code A) in + accordance with Article 171 of the Code. +
+
+
+ + + DMS specific field +
+ Total number of items in the declaration. +
+
+
+ + + EUCDM 5.2+ + 5/23 +
+ See supplied DeclarationOfficeID.xlsx for valid entries. +
+
+
+ + + EUCDM 5.2+ + 6/5 +
+ Weight of packages. +
+
+
@@ -30,9 +76,8 @@ - - 1/8 EUDCM 5.2+ (not in EUDCM 6.0) - + EUDCM 5.2+ (not in EUDCM 6.0) + 1/8
Mandatory on header level.
@@ -85,9 +130,8 @@ - - 3/20 EUDCM 5.2+ (not in EUDCM 6.0) - + EUDCM 5.2+ + 3/20
A representative. Mandatory on header level. @@ -111,9 +155,8 @@ - - 3/20 EUCDM 5.2+ - + EUCDM 5.2+ + 3/20
EORI
@@ -122,9 +165,8 @@ - - 3/21 EUCDM 5.2+ - + EUCDM 5.2+ + 3/21
Form of representation - Code 2 is direct representation. @@ -139,9 +181,8 @@ - - 3/39 EUCDM 5.2+ - + EUCDM 5.2+ + 3/39
Holder of the authorisation. This information shall not be required in case a customs declaration has been lodged prior to the presentation of the goods pursuant to Article 171 of the Code. @@ -160,9 +201,8 @@ - - 3/39 EUCDM 5.2+ - + EUCDM 5.2+ + 3/39
EORI @@ -171,9 +211,8 @@ - - 3/39 EUCDM 5.2+ - + EUCDM 5.2+ + 3/39
Relevant Union code for the type of the authorisation
@@ -186,9 +225,8 @@ - - 3/41 EUCDM 5.2+ - + EUCDM 5.2+ + 3/41
Person presenting the goods to customs in case of entry in the declarant's records or pre-lodged customs declaration
@@ -200,9 +238,8 @@ - - 3/41 EUCDM 5.2+ - + EUCDM 5.2+ + 3/41
EORI
@@ -233,9 +270,8 @@ - - 5/23 EUCDM 5.2+ - + EUCDM 5.2+ + 5/23
The location of goods
@@ -288,9 +324,8 @@ - - 7/10 EUCDM 5.2+ - + EUCDM 5.2+ + 7/10
Container identification
@@ -322,9 +357,8 @@ - - 1/6 EUCDM 5.2+ - + EUCDM 5.2+ + 1/6
Goods item number
@@ -336,9 +370,8 @@ - - 6/5 EUCDM 5.2+ - + EUCDM 5.2+ + 6/5
Gross mass in kilograms. The gross mass is the weight of goods including packaging, but excluding the carrier's equipment for the declaration. @@ -357,9 +390,8 @@ - - 7/10 EUCDM 5.2+ - + EUCDM 5.2+ + 7/10
Container identification
@@ -396,9 +428,8 @@ - - 6/10 EUCDM 5.2+ - + EUCDM 5.2+ + 6/10
Number of packages
@@ -407,9 +438,8 @@ - - 6/9 EUCDM 5.2+ - + EUCDM 5.2+ + 6/9
Type of packages. This information shall only be provided if the discharge of the goods under temporary storage concerns only parts of the declaration for temporary storage lodged previously in relation with the goods concerned. @@ -433,9 +463,8 @@ - - 2/1 EUDCM 5.2+ - + EUDCM 5.2+ + 2/1 @@ -474,9 +503,8 @@ - - 2/1 - EUDCM 5.2+ - + EUDCM 5.2+ + 2/1 From b30c805ec3de7a0ac4242572e7d385d9d0cfa7cb Mon Sep 17 00:00:00 2001 From: Emma Hagerup Date: Tue, 23 Mar 2021 13:39:35 +0100 Subject: [PATCH 6/7] New H7-version --- H7/toldsystemet_H7_v1.2.xsd | 861 ++++++++++++++++++++++++++++++++++++ 1 file changed, 861 insertions(+) create mode 100644 H7/toldsystemet_H7_v1.2.xsd diff --git a/H7/toldsystemet_H7_v1.2.xsd b/H7/toldsystemet_H7_v1.2.xsd new file mode 100644 index 00000000..57fdc4bd --- /dev/null +++ b/H7/toldsystemet_H7_v1.2.xsd @@ -0,0 +1,861 @@ + + + + + + + +
+ H7 declaration. +
+
+
+ + + + + DMS specific field +
+ - "9" For initial submission + - "13" For correction +
+
+
+
+ + + + EUCDM 5.2 + 2/5 +
+ LRN - The local reference number (LRN) shall be used. It is nationally defined and allocated + by the declarant in agreement with the competent authorities to identify each single + declaration. Must be unique. +
+
+
+
+ + + + DMS specific field +
+ Used for corrections, invalidation, or amendment. Not used for submission. + The MRN is automatically generated following the EUCDM legislation as a unique combination + of 18 characters. + The combination of the 18 characters is, in the time of writing, as follows: + 1. The last two digits of the year of formal acceptance of the declaration (e.g. 20 for + 2020) + a. Consist of 2 digits + 2. Country where the declaration/proof of the customs status of union goods/notification is + lodged (e.g. DK for Denmark) + a. Consist of 2 letters + 3. Unique identifier based on year and country (e.g. 49DE04K21LO1) + a. Consist of 12 alphanumeric characters + 4. Procedure identifier of the declaration (e.g. R for H1, H2, H3, H4, H6, H7 or I1) + a. Consist of 1 alphanumeric character + 5. Control digit (e.g. 5) + a. Consist of 1 alphanumeric character + 6. Based on the ISO 6346 algorithm +
+
+
+
+ + + + DMS specific field +
+ Follows the 1/1 from H1: + - "IMA" For a standard customs declaration (under Article 162 of the Code). + - "IMD" For lodging a standard customs declaration (such as referred to under code A) in + accordance with Article 171 of the Code. +
+
+
+
+ + + + DMS specific field +
+ Total number of items in the declaration. +
+
+
+
+ + + + EUCDM 5.2 + 5/23 +
+ See supplied DeclarationOfficeID.xlsx for valid entries. +
+
+
+
+ + + + EUCDM 5.2 + 6/5 +
+ Weight of packages. +
+
+
+
+ + + + DMS specific field +
+ Name and Identifier of submitting company. +
+
+
+ + + + + + DMS specific field +
+ Submitting name, provided by TOLDST. +
+
+
+
+ + + + DMS specific field +
+ Submitting ID, provided by TOLDST. +
+
+
+
+
+
+
+ + + +
+ Details on importing third party. + Also known as Representative in EUCDM. +
+
+
+ + + + + + EUCDM 5.2 + 3/19 +
+ Representative name. Only provide info, if Declaration/Agent/ID isn't filled. + EORI. +
+
+
+
+ + + + EUCDM 5.2 + 3/20 +
+ Representative identification No. - Normally EORI. +
+
+
+
+ + + + EUCDM 5.2 + 3/21 +
+ Representative status code: + - "2" is direct representation. + - "3" indirect represenation. + In order to use code 3 the agent has to have a danish EORI. +
+
+
+
+ + + + + + + + + + +
+
+
+ + + +
+ Name and address of the person or company importing the good. Importer and declarant can be + the same. +
+
+
+ + + + + + EUCDM 5.2 + 3/17 +
+ Name and address of the person or company importing the good(s). + Importer and declarant can be the same. + + If private - DK9999 is used in C08. +
+
+
+
+ + + + EUCDM 5.2 + 3/18 +
+ Declarant identification No. - EORI +
+
+
+
+ + + + EUCDM 5.2 + 3/17 +
+ Declarant Address. Only needed for C08 or if EORI is DK09999981. Country code is ISO 3166 ALPHA-2. +
+
+
+ + + + + + + + +
+
+
+
+ + + +
+ The party exporting the good into the union. +
+
+
+ + + + + + EUCDM 5.2 + 3/1 +
+ Person or Company name. +
+
+
+
+ + + Required field in ERMIS + + + + + EUCDM 5.2 + 3/1 +
+ Exporter Address. Country code is ISO 3166 ALPHA-2 +
+
+
+ + + + + + + + +
+
+
+
+ + + +
+ H7 declaration goods. + All subfields have to be filled, if one is filled. +
+
+
+ + + + + + EUCDM 5.2 + 2/3 +
+ All subfields have to be filled, if one is filled. + + https://svn.taxud.gefeg.com/svn/Documentation/Archive/EUCDM%205.2/EN/index.htm +
+
+
+ + + + + + + In H7 documentation this is the type code, but here it's split into two fields, category code and type code. + + + + + + +
+ + + + EUCDM 5.2 + 2/2 +
+ Used for any additional information. + If filled, both codes (StatementCode and StatementTypeCode) have to be filled. + + https://svn.taxud.gefeg.com/svn/Documentation/Archive/EUCDM%205.2/EN/index.htm +
+
+
+ + + + + + + Statement code will always start with '1' for import. + One character. + + + + + + + Four characters. + + + + +
+ + + + Mandatory for an IMA. + + + + + + + + EUCDM 5.2 + 5/23 +
+ Location of good. Country code is ISO 3166 ALPHA-2 + + https://svn.taxud.gefeg.com/svn/Documentation/Archive/EUCDM%205.2/EN/index.htm +
+
+
+ + + + + UN/LOCODE + + + + + Additional identifier + + + + + Type of location + + + + + + + + Qualifier of identification + + + + + + + + + + + + +
+
+
+
+ + + + EUCDM 5.2 + 4/19 +
+ Transportation cost. +
+
+
+ + + + + +
+ + + + + + + + + + + + +
+ H7 Item. +
+
+
+ + + + + + EUCDM 5.2 + 4/18 +
+ The value of the imported Item. Written as CurrencyCode + Value. Any Currency code is allowed. +
+
+
+
+ + + + EUCDM 5.2 + 1/6 +
+ Goods item number. The sequence identifier. Has to be sequential. + Start at 1. +
+
+
+
+ + + + + EUCDM 5.2 + 2/3 +
+ Used for any additional documents. + If one subfield is filled, all subfields have to be filled. +
+
+
+ + + + + + + + In H7 documentation this is the type code, but here it's split into two fields, category code and type code. + + + + + + +
+ + + + EUCDM 5.2 + 2/2 +
+ Used for any additional information. + If filled, both codes (StatementCode and StatementTypeCode) have to be filled. +
+
+
+ + + + + + + Statement code will always start with '1' for import. + One character. + + + + + + + Four characters + + + + +
+ + + + + + + EUCDM 5.2 + 6/8 +
Short description of the goods item.
+
+
+
+ + + + + + + EUCDM 5.2 + 6/14 +
+ Type of goods. + 6 characters. + There will be a reference list for it. + Validated towards Taric. +
+
+
+
+ + + + DMS Specific field +
+ Set to TSP for all H7 declarations. + Scheduled for future removal. !!!!!!! +
+
+
+
+
+
+
+ + + + + + + EUCDM 5.2 + 6/5 +
+ Can be filled on either item or header level. + System has a ruleset for maximum weight. + On header level it is the total gross weight. +
+
+
+
+ + + + EUCDM 5.2 + 6/5 +
+ Only needed if CurrentCode C08. +
+
+
+
+
+
+
+
+
+
+ + + + + + + EUCDM 5.2 + 4/19 +
+ Transportation cost, specific on each item. +
+
+
+
+
+
+
+ + + + EUCDM 5.2 + 3/40 +
+ Required by DMS if + RoleCode=IOSS. Can either be filed out with IOSS number or VAT + number. + For ID see https://svn.taxud.gefeg.com/svn/Documentation/Archive/EUCDM%205.2/EN/index.htm + +
+
+
+ + + + + + + +
+ + + + DMS specific field +
+ DMS requires: + 40 in CurrentCode, + 00 in PreviousCode +
+
+
+ + + + + + + +
+ + + + EUCDM 5.2 + 6/10 +
+ Number of packages. The SequenceNumeric is for the quantity on that item. +
+
+
+ + + + + + DMS specific field +
+ DMS currently requires this. Fill the sequential number of the package. +
+
+
+
+ + + + Number of packages + + +
+
+
+ + + + EUCDM 5.2 + 2/1 +
+ If one subfield is filled, all subfields have to be filled. +
+
+
+ + + + + + In H7 documentation this is the type code, but here it's split into two fields, category code and type code. + + + + + + + +
+ + + + EUCDM 5.2 + 2/4 +
+ Unique number that follows the good all the way. Used by transporters. +
+
+
+ + + + + +
+
+
+
+ + + + + + + EUCDM 5.2 + 3/15 +
+ Importer name. +
+
+
+
+ + + + EUCDM 5.2 + 3/16 +
+ EORI. +
+
+
+
+ + + + + + + + Must always be DK + + + + + + + + +
+
+
+ + + + EUCDM 5.2 + 2/1 +
+ If one subfield is filled, all subfields have to be filled. +
+
+
+ + + + + + In H7 documentation this is the type code, but here it's split into two fields, category code and type code. + + + + + + + +
+ + + + EUCDM 5.2 + 2/4 +
+ Unique number that follows the good all the way. Used by transporters. +
+
+
+ + + + + +
+
+
+
+
+
+
\ No newline at end of file From cc28a183333181d63513050064a2914b1f09ba0d Mon Sep 17 00:00:00 2001 From: nc-brj Date: Tue, 23 Mar 2021 14:52:37 +0100 Subject: [PATCH 7/7] Created changelog, and fixed minor issues --- .../ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd | 45 + .../UNECE_AgencyIdentificationCode_D12B.xsd | 45 + H7/UNECE/UnqualifiedDataType_6_DMS.xsd | 135 + .../WCO_DEC_EDS_AUTHORISATION.xsd | 1361 +++++++++ H7/toldsystemet_DS/toldsystemet_DS_v1.xsd | 2701 +++++++++++++++++ H7/toldsystemet_H7_v1.1.1.xsd | 979 ++++++ H7/toldsystemet_H7_v1.1.xsd | 528 ---- H7/toldsystemet_H7_v1.2.xsd | 861 ------ .../ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd | 45 + .../UNECE_AgencyIdentificationCode_D12B.xsd | 45 + I2/UNECE/UnqualifiedDataType_6_DMS.xsd | 135 + .../WCO_DEC_EDS_AUTHORISATION.xsd | 1361 +++++++++ I2/toldsystemet_DS/toldsystemet_DS_v1.xsd | 2665 ++++++++++++++++ README.md | 16 +- 14 files changed, 9532 insertions(+), 1390 deletions(-) create mode 100644 H7/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd create mode 100644 H7/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd create mode 100644 H7/UNECE/UnqualifiedDataType_6_DMS.xsd create mode 100644 H7/toldsystemet_DS/WCO_DEC_EDS_AUTHORISATION.xsd create mode 100644 H7/toldsystemet_DS/toldsystemet_DS_v1.xsd create mode 100644 H7/toldsystemet_H7_v1.1.1.xsd delete mode 100644 H7/toldsystemet_H7_v1.1.xsd delete mode 100644 H7/toldsystemet_H7_v1.2.xsd create mode 100644 I2/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd create mode 100644 I2/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd create mode 100644 I2/UNECE/UnqualifiedDataType_6_DMS.xsd create mode 100644 I2/toldsystemet_DS/WCO_DEC_EDS_AUTHORISATION.xsd create mode 100644 I2/toldsystemet_DS/toldsystemet_DS_v1.xsd diff --git a/H7/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd b/H7/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd new file mode 100644 index 00000000..acd36731 --- /dev/null +++ b/H7/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd @@ -0,0 +1,45 @@ + + + + + + + + + + diff --git a/H7/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd b/H7/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd new file mode 100644 index 00000000..b853fafe --- /dev/null +++ b/H7/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd @@ -0,0 +1,45 @@ + + + + + + + + + + diff --git a/H7/UNECE/UnqualifiedDataType_6_DMS.xsd b/H7/UNECE/UnqualifiedDataType_6_DMS.xsd new file mode 100644 index 00000000..aab71074 --- /dev/null +++ b/H7/UNECE/UnqualifiedDataType_6_DMS.xsd @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/H7/toldsystemet_DS/WCO_DEC_EDS_AUTHORISATION.xsd b/H7/toldsystemet_DS/WCO_DEC_EDS_AUTHORISATION.xsd new file mode 100644 index 00000000..baef40c0 --- /dev/null +++ b/H7/toldsystemet_DS/WCO_DEC_EDS_AUTHORISATION.xsd @@ -0,0 +1,1361 @@ + + + + + + + + + + + + + an..4 + Authorisation code type for application + + + + + + + an..4 + Authorisation code type for decision + + + + + + + an..256 + Authorisation signature for application + + + + + + + an.256 + Authorisation signature for decision + + + + + + + Unique reference attributed by the competent customs authority to the decision. + + + + + + + Name and address of the customs authority which takes the decision + + + + + + + Document(s) attached to the application or the decision + + + + + + + Applicant of the authorisation + + + + + + + Decision holder representative + + + + + + + an..17 + + + Application holder ID + + + + + + + an..17 + + + Decision holder ID + + + + + + + Contact details of person responsible for the application + + + + + + + n8(yyyymmdd) + + + Date on which the applicant has signed or otherwise authenticated the application + + + + + + + n8(yyyymmdd) + + + The date on which the authorisation or decision relating to binding information + or on the repayment or remission of import or export duty was taken. + + + + + + + an..512 + General remarks regarding particulars of any requirements to which + the goods remain subject pending implementation of the decision + + + + + + + + + + + + + + + + Repayment/Remission representative + + + + + + + an..17 + + + Representative Identification + + + + + + + Locations of goods + + + + + + + Trader commodity codes + + + + + + + Customs commodity code + + + + + + + an..2560 + + + Description of goods + + + + + + + Trader goods quantities + + + + + + + Customs goods quantity + + + + + + + an..512 + Additional information + + + + + + + an..35 + + + Title of recovery + + + + + + + an8 + + + Customs office where the customs debt was notified + + + + + + + an8 + + + Customs office responsible for the place where the goods are located + + + + + + + an..512 + + + Comments of the customs office responsible for the place where the goods are located + + + + + + + Customs procedure (request for prior completion of formalities) + + + + + + + Customs value + + + + + + + Amount of import or export duty to be repaid or remitted of + + + + + + + Type of import or export duty + + + + + + + a1 + + + Legal basis + + + + + + + an..512 + + + Use or destination of goods + + + + + + + n..3 + + + Time-limit for completion of formalities + + + + + + + an..512 + + + Statement of the decision-taking customs authority + + + + + + + an..512 + + + Description of the grounds for repayment or remission A + + + + + + + an..512 + + + Description of the grounds for repayment or remission D + + + + + + + an..512 + + + Bank and account details + + + + + + + + + + + + + + + + + + an2 + Customs procedure code + + + + + + + boolean + Customs procedure checkbox + + + + + + + an2 + Customs procedure code + + + + + + + + + + + + an..4 + Goods quantities measurement + + + + + + + n..16,6 + Goods quantities + + + + + + + + + + + + an..8 + First subdivision combined nomenclature code + + + + + + + an2 + Second subdivision subheading + + + + + + + an4 + Third subdivision taric additional codes + + + + + + + an..4 + Fourth subdivision national additional code + + + + + + + + + + + + a2 + Goods Location country code + + + + + + + a1 + Goods location code type + + + + + + + a1 + Goods location identification qualifier + + + + + + + an..35 + Goods location identification + + + + + + + n..3 + Location additional identifier + + + + + + + an..70 + Goods location name + + + + + + + an..70 + Location street and number + + + + + + + an..9 + Location postcode + + + + + + + an..35 + Location city + + + + + + + + + + + + an..70 + Contact details person name + + + + + + + an..50 + Contact details person telephone + + + + + + + an..50 + Contact details person fax + + + + + + + an..50 + Contact details person email + + + + + + + + + + + + an..70 + Attached document type + + + + + + + an..35 + Attached document identifier + + + + + + + n8 + Attached document type + + + + + + + + + + + + an..70 + Holder name + + + + + + + an..70 + Holder street and number + + + + + + + a2 + Holder country code + + + + + + + an..9 + Holder postcode + + + + + + + an..35 + Holder city + + + + + + + + + + + + an8 + Customs office encoded location identity + + + + + + + an..70 + Decision customs authority name + + + + + + + an..70 + Decision customs authority street and number + + + + + + + a2 + Decision customs authority country code + + + + + + + an..9 + Decision customs authority post code + + + + + + + an..35 + Decision customs authority city + + + + + + + + + + + + a3 + Currency type + + + + + + + n..16,6 + Amount type + + + + + + + + + + n..16,6 + + + + + + + + + + + + + + a3 + + + + + + + + + + + + + + + a1 + + + + + + + + + + + + + + n..3 + + + + + + + + + + + + an..512 + + + + + + + + + + + + + + an..512 + + + + + + + + + + + + + + an..512 + + + + + + + + + + + + + + an..512 + + + + + + + + + + + + + + + + a1+n2 + Union code type + + + + + + + n1+an2 + National code type + + + + + + + + + + a1+n2 + + + + + + + + + + + + + + n1+an2 + + + + + + + + + + + + + + boolean + + + + + + + + + + + + an2 + + + + + + + + + + + + + + an..35 + + + + + + + + + + + + + + an8 + + + + + + + + + + + + + + an8 + + + + + + + + + + + + + + an..512 + + + + + + + + + + + + + + n..16,6 + + + + + + + + + + + + + + an..4 + + + + + + + + + + + + + + an..2560 + + + + + + + + + + + + + + an..4 + + + + + + + + + + + + + + an4 + + + + + + + + + + + + + + an..8 + + + + + + + + + + + + + + an2 + + + + + + + + + + + + + + a1 + + + + + + + + + + + + + + a1 + + + + + + + + + + + + + + an..35 + + + + + + + + + + + + + + n..3 + + + + + + + + + + + + an..70 + + + + + + + + + + + + + + an..35 + + + + + + + + + + + + + + an..50 + + + + + + + + + + + + + + an..50 + + + + + + + + + + + + + + an..70 + + + + + + + + + + + + + + an..70 + + + + + + + + + + + + + + an..512 + + + + + + + + + + + + + + an..512 + + + + + + + + + + + + + + an..17 + + + + + + + + + + + + + + an..70 + + + + + + + + + + + + + + an..70 + + + + + + + + + + + + + + + + an..2 + Decision reference number country code + + + + + + + an..29 + Decision reference number + + + + + + + an..4 + Decision reference number code + + + + + + + + + + an..29 + + + + + + + + + + + + + + an..4 + + + + + + + + + + + + + + an..256 + + + + + + + + + + + + + + an..70 + + + + + + + + + + + + + + an..4 + + + + + + + + + + + diff --git a/H7/toldsystemet_DS/toldsystemet_DS_v1.xsd b/H7/toldsystemet_DS/toldsystemet_DS_v1.xsd new file mode 100644 index 00000000..842af0ef --- /dev/null +++ b/H7/toldsystemet_DS/toldsystemet_DS_v1.xsd @@ -0,0 +1,2701 @@ + + + + + + + + D031 + an..3 + + + + + + + + + + + + + 276 + an..35 + + + + + + + + + + + + + + + + + + D005 + an..70 + 2/6 + an..35 + + + + + + + + + + + + + + 360 + an..3 + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + D028 + an..35 + + + + + + + + + + + + + D006 + an..3 + + + + + + + + + + + + + 144 + n..8 + + + + + + + + + + + + + 141 + an..2 + + + + + + + + + + + + + 023 + an..35 + + + + + + + + + + + + + + + + + + 226 + an..17 + + + + + + + + + + + + + 225 + an..512 + + + + + + + + + + + + + 369 + an..4 + + + + + + + + + + + + + 241 + an..35 + + + + + + + + + + + + + + 242 + a2 + + + + + + + + + + + + + 244 + an..9 + + + + + + + + + + + + + 243 + an..35 + + + + + + + + + + + + + 239 + an..70 + + + + + + + + + + + + + + 245 + an..9 + + + + + + + + + + + + + + 410 + an..3 + 16 15 046 000 + an..1 + + + + + + + + + + + + + + R143 + an..17 + + + + + + + + + + + + + R005 + an..3 + + + + + + + + + + + + + 102 + an..3 + 3/21 + n..1 + + 2 -> Representative (direct representation within the meaning of Article 18(1) of the Code) + 3 -> Representative (indirect representation within the meaning of Article 18(1) of the Code) + + + + + + + + + + + + + + + + + + R004 + an..17 + + + + + + + + + + + + + R003 + an..70 + + + + + + + + + + + + + + 099 + an..3 + + + + + + + + + + + + + T002 + an..35 + + + + + + + + + + + + + T034 + an..17 + + + + + + + + + + + + + T020 + n1 + + + + + + + + + + + + + T001 + an..35 + + + + + + + + + + + + + T008 + an..4 + + + + + + + + + + + + + 104 + an..256 + 1/8 + an..35 + + + + + + + + + + + + + + R007 + an..70 + + + + + + + + + + + + + R145 + an..4 + + + + + + + + + + + + + R144 + an..17 + + + + + + + + + + + + + T006 + an..35 + + + + + + + + + + + + + T018 + an..17 + + + + + + + + + + + + + T022 + n1 + + + + + + + + + + + + + T005 + an..35 + + + + + + + + + + + + + T014 + a2 + + + + + + + + + + + + + T010 + an..4 + + + + + + + + + + + + + R010 + an..17 + + + + + + + + + + + + + R009 + an..70 + + + + + + + + + + + + + R012 + an..17 + + + + + + + + + + + + + R011 + an..70 + + + + + + + + + + + + + 371 + an..3 + + + + + + + + + + + + + 181 + n..16,3 + + + + + + + + + + + + + 448 + an..35 + + + + + + + + + + + + + 145 + an..18 + 6/14 + an..8 + + + + + + + + + + + + + + + an..3 + + + + + + + + + + + + + 346 + an..35 + + + + + + + + + + + + + 137 + an..512 + + + + + + + + + + + + + 240 + an..50 + + + + + + + + + + + + + 253 + an..3 + + + + + + + + + + + + + R015 + an..17 + + + + + + + + + + + + + R014 + an..70 + + + + + + + + + + + + + 096 + an..3 + + + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + R021 + an..17 + + + + + + + + + + + + + R020 + an..70 + + + + + + + + + + + + + 246 + an..70 + + + + + + + + + + + + + 135 + a3 + + + + + + + + + + + + + 118 + n..12,5 + + + + + + + + + + + 117 + n..16,3 + + + + + + + + + + + + + 122 + an..3 + + + + + + + + + + + + + 506 + n..4 + + + + + + + + + + + + + R123 + an..17 + + + + + + + + + + + + + R124 + an..70 + + + + + + + + + + + + + + 023 + an..35 + + + + + + + + + + + + + + + + + + 065 + an..17 + + + + + + + + + + + + + D026 + an..35 + + + + + + + + + + + + + 017 + n..2 + + + + + + + + + + + + + + + + 228 + n..5 + + + + + + + + + + + + + D014 + an..70 + + + + + + + + + + + + + 109 + n..16,3 + + + + + + + + + + + + + D011 + an..35 + + + + + + + + + + + + + + + + + + D012 + an..5 + + + + + + + + + + + + + 013 + n..5 + + + + + + + + + + + + + 504 + an..3 + + + + + + + + + + + + + 131 + n..16,6 + + + + + + + + + + + + + 146 + n..8 + + + + + + + + + + + + + D013 + an..3 + + + + + + + + + + + + + T004 + an..35 + + + + + + + + + + + + + T029 + an..17 + + + + + + + + + + + + + T021 + n1 + + + + + + + + + + + + + T003 + an..35 + + + + + + + + + + + + + T009 + an..4 + + + + + + + + + + + + + 465 + a2 + + + + + + + + + + + + + 477 + an..9 + + + + + + + + + + + + + R119 + an..17 + + + + + + + + + + + + + R005 + an..3 + 3/40 + + Role Code; Party; Description + FR1; Importer; Person or persons designated or recognised as liable for the payment of value added + tax by the Member State of importation in accordance with Article 201 of Directive 2006/112/EC + FR2; Customer; Person liable for the payment of Value Added Tax on the intra-Union acquisition of + goods in accordance with Article 200 of Directive 2006/112/EC + FR3; Tax Representative; Tax representative liable for the payment of value added tax in the Member + State of importation appointed by the importer + FR4; Holder of the deferred payment authorisation; The taxable person or the person liable for + payment or another person that has received deferment of payment in accordance with Article 211 of + Directive 2006/112/EC + FR5; Vendor (IOSS); Taxable person making use of the special scheme for distance sales of goods + imported from third countries and territories set out in Title XII Chapter 6 Section 4 of Directive + 2006/112/EC and holder of the VAT identification number referred to in Article 369q therein. + FR7; Taxable person or of the person liable for payment of VAT; VAT identification number of the + taxable person or of the person liable for payment of VAT where the payment of VAT is postponed in + accordance with Article 211 second subparagraph of Directive 2006/112/EC. + + + + + + + + + + + + + + + + + + + + 116 + n..16,3 + + + + + + + + + + + + + 111 + n..16,3 + + + + + + + + + + + + + 164 + an..3 + + + + + + + + + + + + + 401 + an..17 + + + + + + + + + + + + + 129 + n..16,6 + + + + + + + + + + + + + 115 + an..17,3 + + + + + + + + 113 + an..3 + + + + + + + + + + + + + G005 + an..17 + + + + + + + + + + + + + 062 + a2 + + + + + + + + + + + + + R032 + an..17 + + + + + + + + + + + + + R031 + an..70 + + + + + + + + + + + + + + 098 + an..3 + 4/8 + an..1 + + + + + + + + + + + + + + L017 + an..17 + + + + + + + + + + + + + L016 + an..256 + + + + + + + + + + + + + L110 + an..3 + 16 15 045 000 + an..1 + + + + + + + + + + + + + + + 126 + n..16,6 + + + + + + + + + + + + + 128 + n..16,6 + + + + + + + + + + + + + 130 + n..16,6 + + + + + + + + + + + + + 024 + an..35 + + + + + + + + + + + + + + + + + + 103 + n..2 + + + + + + + + + + + + + 108 + n..16,3 + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + 114 + n..16,3 + + + + + + + + + + + + + 103 + n..2 + + + + + + + + + + + + + 166 + an..7 + + + + + + + + + + + + + + 161 + an..7 + + + + + + + + + + + + + G014 + an..17 + + + + + + + + + + + + + R038 + an..17 + + + + + + + + + + + + + R037 + an..70 + + + + + + + + + + + + + + D016 + an..70 + + + + + + + + + + + + + D015 + an..35 + + + + + + + + + + + + + + + + + + 112 + n..16,3 + + + + + + + + + + + + + 064 + a2 + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + L010 + an..17 + + + + + + + + + + + + + L009 + an..256 + + + + + + + + + + + + + R043 + an..17 + + + + + + + + + + + + + R042 + an..70 + + + + + + + + + + + + + 499 + an..4 + + + + + + + + + + + + + 492 + n..16,3 + + + + + + + + + + + + + D014 + an..70 + + + + + + + + + + + + + 100 + an..35 + + + + + + + + + + + + + 101 + an..3 + + + + + + + + + + + + + 063 + an..4 + + + + + + + + + + + + + 066 + an..9 + + + + + + + + + + + + + 501 + an..3 + + + + + + + + + + + + + 402 + n..15 + + + + + + + + + + + + + 367 + n..15 + + + + + + + + + + + + + 142 + an..512 + + + + + + + + + + + + + 344 + an..256 + + + + + + + + + + + + + 144 + n..8 + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + 141 + an..2 + + + + + + + + + + + + + 395 + n..16,6 + + + + + + + + + + + + + 368 + n..15 + + + + + + + + + + + + + R121 + an..17 + + + + + + + + + + + + + R120 + an..70 + + + + + + + + + + + + + 107 + a1 + + + + + + + + + + + + + 378 + n..16,3 + + + + + + + + + + + + + 120 + n..16,3 + + + + + + + + + + + + + 375 + an..3 + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + 381 + an..4 + + + + + + + + + + + + + G015 + an..17 + + + + + + + + + + + + + D031 + an..3 + + + + + + + + + + + + + D018 + an..70 + 2/1 + an..35 + + + + + + + + + + + + + + 171 + n..5 + + + + + + + + + + + D019 + an..3 + + + + + + + + + + + + + R128 + an..17 + + + + + + + + + + + + + R127 + an..70 + + + + + + + + + + + + + 165 + an..35 + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + R051 + an..17 + + + + + + + + + + + + + R050 + an..70 + + + + + + + + + + + + + R059 + an..17 + + + + + + + + + + + + + R058 + an..70 + + + + + + + + + + + + + R005 + an..3 + + + + + + + + + + + + + G012 + an..17 + + + + + + + + + + + + + R055 + an..17 + + + + + + + + + + + + + R054 + an..70 + + + + + + + + + + + + + 090 + a3 + + + + + + + + + + + + + 106 + an..3 + + + + + + + + + + + + + 089 + an..70 + + + + + + + + + + + + + L002 + an..17 + + + + + + + + + + + + + L001 + an..256 + + + + + + + + + + + + + 159 + an..17 + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + 016 + an..35 + + + + + + + + + + + + + 009 + an..35 + + + + + + + + + + + + + 188 + an..4 + + + + + + + + + + + + + L019 + an..35 + + + + + + + + + + + + + L112 + an..3 + + + + + + + + + + + + + 503 + n..16,3 + + + + + + + + + + + + + 502 + n..16,6 + + + + + + + + + + diff --git a/H7/toldsystemet_H7_v1.1.1.xsd b/H7/toldsystemet_H7_v1.1.1.xsd new file mode 100644 index 00000000..f7de1c4c --- /dev/null +++ b/H7/toldsystemet_H7_v1.1.1.xsd @@ -0,0 +1,979 @@ + + + + + + + +
+ H7 declaration. +
+
+
+ + + + + DMS specific field +
+ - "9" For initial submission + - "13" For correction +
+
+
+
+ + + + EUCDM 5.2 + 2/5 +
+ LRN - The local reference number (LRN) shall be used. It is nationally defined and allocated + by the declarant in agreement with the competent authorities to identify each single + declaration. Must be unique. +
+
+
+
+ + + + DMS specific field +
+ Used for corrections, invalidation, or amendment. Not used for submission. + The MRN is automatically generated following the EUCDM legislation as a unique combination + of 18 characters. + The combination of the 18 characters is, in the time of writing, as follows: + 1. The last two digits of the year of formal acceptance of the declaration (e.g. 20 for + 2020) + a. Consist of 2 digits + 2. Country where the declaration/proof of the customs status of union goods/notification is + lodged (e.g. DK for Denmark) + a. Consist of 2 letters + 3. Unique identifier based on year and country (e.g. 49DE04K21LO1) + a. Consist of 12 alphanumeric characters + 4. Procedure identifier of the declaration (e.g. R for H1, H2, H3, H4, H6, H7 or I1) + a. Consist of 1 alphanumeric character + 5. Control digit (e.g. 5) + a. Consist of 1 alphanumeric character + 6. Based on the ISO 6346 algorithm +
+
+
+
+ + + + DMS specific field +
+ Follows the 1/1 from H1: + - "IMA" For a standard customs declaration (under Article 162 of the Code). + - "IMD" For lodging a standard customs declaration (such as referred to under code A) in + accordance with Article 171 of the Code. +
+
+
+
+ + + + DMS specific field +
+ Total number of items in the declaration. +
+
+
+
+ + + + EUCDM 5.2 + 5/23 +
+ See supplied DeclarationOfficeID.xlsx for valid entries. +
+
+
+
+ + + + EUCDM 5.2 + 6/5 +
+ Weight of packages. +
+
+
+
+ + + + DMS specific field +
+ Name and Identifier of submitting company. +
+
+
+ + + + + + DMS specific field +
+ The CVR/SE-number/EORI given by the client certificate used for the submission of declarations. + Example: 30808460 +
+
+
+
+
+
+
+ + + +
+ Details on importing third party. + Also known as Representative in EUCDM. +
+
+
+ + + + + + EUCDM 5.2 + 3/19 +
+ Representative name. Only provide info, if Declaration/Agent/ID isn't filled. + EORI. +
+
+
+
+ + + + EUCDM 5.2 + 3/20 +
+ Representative identification No. - Normally EORI. +
+
+
+
+ + + + EUCDM 5.2 + 3/21 +
+ Representative status code: + - "2" is direct representation. + - "3" indirect represenation. + In order to use code 3 the agent has to have a danish EORI. +
+
+
+
+ + + + + + + + + + +
+
+
+ + + +
+ Name and address of the person or company importing the good. Importer and declarant can be + the same. +
+
+
+ + + + + + EUCDM 5.2 + 3/17 +
+ Name and address of the person or company importing the good(s). + Importer and declarant can be the same. + + If private - DK9999 is used in C08. +
+
+
+
+ + + + EUCDM 5.2 + 3/18 +
+ Declarant identification No. - EORI +
+
+
+
+ + + + EUCDM 5.2 + 3/17 +
+ Declarant Address. Only needed for C08 or if EORI is DK09999981. Country code is + ISO 3166 ALPHA-2. +
+
+
+ + + + + + + + +
+
+
+
+ + + +
+ The party exporting the good into the union. +
+
+
+ + + + + + EUCDM 5.2 + 3/1 +
+ Person or Company name. +
+
+
+
+ + + + DMS specific field +
+ Currently required. Will be removed in the future. Use the Name again. +
+
+
+
+ + + + EUCDM 5.2 + 3/1 +
+ Exporter Address. Country code is ISO 3166 ALPHA-2 +
+
+
+ + + + + + + + +
+
+
+
+ + + +
+ H7 declaration goods. + All subfields have to be filled, if one is filled. +
+
+
+ + + + + + EUCDM 5.2 + 2/3 +
+ All subfields have to be filled, if one is filled. + + https://svn.taxud.gefeg.com/svn/Documentation/Archive/EUCDM%205.2/EN/index.htm +
+
+
+ + + + + + + In H7 documentation this is the type code, but here it's split into two + fields, category code and type code. + + + + + + + +
+ + + + EUCDM 5.2 + 2/2 +
+ Used for any additional information. + If filled, both codes (StatementCode and StatementTypeCode) have to be filled. + + https://svn.taxud.gefeg.com/svn/Documentation/Archive/EUCDM%205.2/EN/index.htm +
+
+
+ + + + + + + Statement code will always start with '1' for import. + One character. + + + + + + + + Four characters. + + + + + +
+ + + + Mandatory for an IMA. + + + + + + + + EUCDM 5.2 + 5/23 +
+ Location of good. Country code is ISO 3166 ALPHA-2 + + https://svn.taxud.gefeg.com/svn/Documentation/Archive/EUCDM%205.2/EN/index.htm +
+
+
+ + + + + UN/LOCODE + + + + + Additional identifier + + + + + Type of location + + + + + + + + Qualifier of + identification + + + + + + + + + + + + +
+
+
+
+ + + + EUCDM 5.2 + 4/19 +
+ Transportation cost. +
+
+
+ + + + + +
+ + + + + + + + + + + + +
+ H7 Item. +
+
+
+ + + + + + EUCDM 5.2 + 4/18 +
+ The value of the imported Item. Written as CurrencyCode + Value. Any + Currency code is allowed. +
+
+
+
+ + + + EUCDM 5.2 + 1/6 +
+ Goods item number. The sequence identifier. Has to be sequential. + Start at 1. +
+
+
+
+ + + + EUCDM 5.2 + 2/3 +
+ Used for any additional documents. + If one subfield is filled, all subfields have to be filled. +
+
+
+ + + + + + + + In H7 documentation this is the type code, but here it's + split into two fields, category code and type code. + + + + + + + +
+ + + + EUCDM 5.2 + 2/2 +
+ Used for any additional information. + If filled, both codes (StatementCode and StatementTypeCode) have to + be filled. +
+
+
+ + + + + + + Statement code will always start with '1' for import. + One character. + + + + + + + + Four characters + + + + + +
+ + + + + + + EUCDM 5.2 + 6/8 +
Short description of the goods item.
+
+
+
+ + + + + + + EUCDM 5.2 + 6/14 +
+ Type of goods. + 6 characters. + There will be a reference list for it. + Validated towards Taric. +
+
+
+
+ + + + DMS Specific field +
+ Set to TSP for all H7 declarations. + Scheduled for future removal. !!!!!!! +
+
+
+
+
+
+
+ + + + + + + EUCDM 5.2 + 6/5 +
+ Can be filled on either item or header + level. + System has a ruleset for maximum weight. + On header level it is the total gross + weight. +
+
+
+
+ + + + EUCDM 5.2 + 6/5 +
+ Only needed if CurrentCode C08. +
+
+
+
+
+
+
+
+
+
+ + + + EUCDM 5.2 + 3/1 +
+ Item level exporter information. +
+
+
+ + + + + + + EUCDM 5.2 + 3/2 +
+ Exporter identification No. + Use EORI where available. + Country code is ISO 3166 ALPHA-2 +
+
+
+
+ + + + + + + + + + +
+
+
+ + + + + + + EUCDM 5.2 + 4/19 +
+ Transportation cost, specific on each item. +
+
+
+
+
+
+
+ + + + EUCDM 5.2 + 3/40 +
+ Required by DMS if + RoleCode=IOSS. Can either be filed out with IOSS number or VAT + number. + For ID see + https://svn.taxud.gefeg.com/svn/Documentation/Archive/EUCDM%205.2/EN/index.htm + +
+
+
+ + + + + + + +
+ + + + DMS specific field +
+ DMS requires: + 40 in CurrentCode, + 00 in PreviousCode +
+
+
+ + + + + + + +
+ + + + EUCDM 5.2 + 6/10 +
+ Number of packages. The SequenceNumeric is for the quantity on that + item. +
+
+
+ + + + + + DMS specific field +
+ DMS currently requires this. Fill the sequential number + of the package. +
+
+
+
+ + + + Number of packages + + + +
+
+
+ + + + EUCDM 5.2 + 2/1 +
+ If one subfield is filled, all subfields have to be filled. +
+
+
+ + + + + + In H7 documentation this is the type code, but here it's + split into two fields, category code and type code. + + + + + + + + +
+ + + + EUCDM 5.2 + 2/4 +
+ Unique number that follows the good all the way. Used by + transporters. +
+
+
+ + + + + +
+
+
+
+ + + + + + + EUCDM 5.2 + 3/15 +
+ Importer name. +
+
+
+
+ + + + EUCDM 5.2 + 3/16 +
+ EORI. +
+
+
+
+ + + + + + + + Must always be DK + + + + + + + + +
+
+
+ + + + EUCDM 5.2 + 2/1 +
+ If one subfield is filled, all subfields have to be filled. +
+
+
+ + + + + + In H7 documentation this is the type code, but here it's split into two + fields, category code and type code. + + + + + + + + +
+ + + + EUCDM 5.2 + 2/4 +
+ Unique number that follows the good all the way. Used by transporters. +
+
+
+ + + + + +
+
+
+
+
+
+
\ No newline at end of file diff --git a/H7/toldsystemet_H7_v1.1.xsd b/H7/toldsystemet_H7_v1.1.xsd deleted file mode 100644 index 89e529ce..00000000 --- a/H7/toldsystemet_H7_v1.1.xsd +++ /dev/null @@ -1,528 +0,0 @@ - - - - - - - - - - - DMS specific field -
- - "9" For initial submission - - "13" For correction -
-
-
- - - - - - EUCDM 5.2+ - 2/5 -
- LRN - The local reference number (LRN) shall be used. It is nationally defined and allocated - by the declarant in agreement with the competent authorities to identify each single - declaration. Must be unique. -
-
-
-
- - - - DMS specific field -
- MRN - used for corrections, invalidation, or amendment. Ignored on submit. - The MRN is automatically generated following the EUCDM legislation as a unique combination - of 18 characters. - The combination of the 18 characters is, in the time of writing, as follows: - 1. The last two digits of the year of formal acceptance of the declaration (e.g. 20 for - 2020) - a. Consist of 2 digits - 2. Country where the declaration/proof of the customs status of union goods/notification is - lodged (e.g. DK for Denmark) - a. Consist of 2 letters - 3. Unique identifier based on year and country (e.g. 49DE04K21LO1) - a. Consist of 12 alphanumeric characters - 4. Procedure identifier of the declaration (e.g. R for H1, H2, H3, H4, H6, H7 or I1) - a. Consist of 1 alphanumeric character - 5. Control digit (e.g. 5) - a. Consist of 1 alphanumeric character - 6. Based on the ISO 6346 algorithm -
-
-
-
- - - - DMS specific field -
- Follows the 1/1 from H1: - - "IMA" For a standard customs declaration (under Article 162 of the Code). - - "IMD" For lodging a standard customs declaration (such as referred to under code A) in - accordance with Article 171 of the Code. -
-
-
- - - - DMS specific field -
- Total number of items in the declaration. -
-
-
- - - - EUCDM 5.2+ - 5/23 -
- See supplied DeclarationOfficeID.xlsx for valid entries. -
-
-
- - - - Required element in ERMIS - - - - - - - - - - - - - - - - - Can be used if declarant uses a third party for importing. - Not mandatory. - - - - - - EORI. - Mandatory. - - - - - Form of representation: direct representation or indirect representation. - - - Code 2: Direct representation - - Code 3: Indirect representation. In order to use code 3, the agent has to have a Danish EORI. - Mandatory. - - - - - - - - - - Not necessary as the information will be collected from the EORI (Agent\ID). - - - - - - Not necessary as the information will be collected from the EORI (Agent\ID). - - - - - Not necessary as the information will be collected from the EORI (Agent\ID). - - - - - Not necessary as the information will be collected from the EORI (Agent\ID). - - - - - - - - - - - - - - Name and address of the person or company importing the good(s). - Importer and declarant can be the same. - - If private - DK9999 is used in C08. - Not mandatory. - - - - - - EORI. - Mandatory. - - - - - - - - - Only used for C08 - - - - - - Only used for C08 - - - - - - Only used for C08 - - - - - - Only used for C08 - - - - - - - - - - - - - - - Required field in ERMIS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Required field in ERMIS - StatementTypeCode is not compliant with EUCDM - - - - - - - - - - - - - - UN/LOCODE - - - - - Additional identifier - - - - - Type of location - - - - - - - - Qualifier of identification - - - - - - Required field in ERMIS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - EUCDM an..8, WCO an..3 - Required field in ERMIS - - - - - - - - - - - - - - - - - - - - - - - - Required field in ERMIS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Required in ERMIS if RoleCode=IOSS - - - - - - - - - ERMIS requires "1/10 Requested procedure"=40 in CurrentCode, "1/10 Previous procedure"=00 in PreviousCode and "1/11 Additional procedure"=C07/C08 in CurrentCode - - - - - - - - - - - - - - - Required field in ERMIS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Required field in ERMIS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
diff --git a/H7/toldsystemet_H7_v1.2.xsd b/H7/toldsystemet_H7_v1.2.xsd deleted file mode 100644 index 57fdc4bd..00000000 --- a/H7/toldsystemet_H7_v1.2.xsd +++ /dev/null @@ -1,861 +0,0 @@ - - - - - - - -
- H7 declaration. -
-
-
- - - - - DMS specific field -
- - "9" For initial submission - - "13" For correction -
-
-
-
- - - - EUCDM 5.2 - 2/5 -
- LRN - The local reference number (LRN) shall be used. It is nationally defined and allocated - by the declarant in agreement with the competent authorities to identify each single - declaration. Must be unique. -
-
-
-
- - - - DMS specific field -
- Used for corrections, invalidation, or amendment. Not used for submission. - The MRN is automatically generated following the EUCDM legislation as a unique combination - of 18 characters. - The combination of the 18 characters is, in the time of writing, as follows: - 1. The last two digits of the year of formal acceptance of the declaration (e.g. 20 for - 2020) - a. Consist of 2 digits - 2. Country where the declaration/proof of the customs status of union goods/notification is - lodged (e.g. DK for Denmark) - a. Consist of 2 letters - 3. Unique identifier based on year and country (e.g. 49DE04K21LO1) - a. Consist of 12 alphanumeric characters - 4. Procedure identifier of the declaration (e.g. R for H1, H2, H3, H4, H6, H7 or I1) - a. Consist of 1 alphanumeric character - 5. Control digit (e.g. 5) - a. Consist of 1 alphanumeric character - 6. Based on the ISO 6346 algorithm -
-
-
-
- - - - DMS specific field -
- Follows the 1/1 from H1: - - "IMA" For a standard customs declaration (under Article 162 of the Code). - - "IMD" For lodging a standard customs declaration (such as referred to under code A) in - accordance with Article 171 of the Code. -
-
-
-
- - - - DMS specific field -
- Total number of items in the declaration. -
-
-
-
- - - - EUCDM 5.2 - 5/23 -
- See supplied DeclarationOfficeID.xlsx for valid entries. -
-
-
-
- - - - EUCDM 5.2 - 6/5 -
- Weight of packages. -
-
-
-
- - - - DMS specific field -
- Name and Identifier of submitting company. -
-
-
- - - - - - DMS specific field -
- Submitting name, provided by TOLDST. -
-
-
-
- - - - DMS specific field -
- Submitting ID, provided by TOLDST. -
-
-
-
-
-
-
- - - -
- Details on importing third party. - Also known as Representative in EUCDM. -
-
-
- - - - - - EUCDM 5.2 - 3/19 -
- Representative name. Only provide info, if Declaration/Agent/ID isn't filled. - EORI. -
-
-
-
- - - - EUCDM 5.2 - 3/20 -
- Representative identification No. - Normally EORI. -
-
-
-
- - - - EUCDM 5.2 - 3/21 -
- Representative status code: - - "2" is direct representation. - - "3" indirect represenation. - In order to use code 3 the agent has to have a danish EORI. -
-
-
-
- - - - - - - - - - -
-
-
- - - -
- Name and address of the person or company importing the good. Importer and declarant can be - the same. -
-
-
- - - - - - EUCDM 5.2 - 3/17 -
- Name and address of the person or company importing the good(s). - Importer and declarant can be the same. - - If private - DK9999 is used in C08. -
-
-
-
- - - - EUCDM 5.2 - 3/18 -
- Declarant identification No. - EORI -
-
-
-
- - - - EUCDM 5.2 - 3/17 -
- Declarant Address. Only needed for C08 or if EORI is DK09999981. Country code is ISO 3166 ALPHA-2. -
-
-
- - - - - - - - -
-
-
-
- - - -
- The party exporting the good into the union. -
-
-
- - - - - - EUCDM 5.2 - 3/1 -
- Person or Company name. -
-
-
-
- - - Required field in ERMIS - - - - - EUCDM 5.2 - 3/1 -
- Exporter Address. Country code is ISO 3166 ALPHA-2 -
-
-
- - - - - - - - -
-
-
-
- - - -
- H7 declaration goods. - All subfields have to be filled, if one is filled. -
-
-
- - - - - - EUCDM 5.2 - 2/3 -
- All subfields have to be filled, if one is filled. - - https://svn.taxud.gefeg.com/svn/Documentation/Archive/EUCDM%205.2/EN/index.htm -
-
-
- - - - - - - In H7 documentation this is the type code, but here it's split into two fields, category code and type code. - - - - - - -
- - - - EUCDM 5.2 - 2/2 -
- Used for any additional information. - If filled, both codes (StatementCode and StatementTypeCode) have to be filled. - - https://svn.taxud.gefeg.com/svn/Documentation/Archive/EUCDM%205.2/EN/index.htm -
-
-
- - - - - - - Statement code will always start with '1' for import. - One character. - - - - - - - Four characters. - - - - -
- - - - Mandatory for an IMA. - - - - - - - - EUCDM 5.2 - 5/23 -
- Location of good. Country code is ISO 3166 ALPHA-2 - - https://svn.taxud.gefeg.com/svn/Documentation/Archive/EUCDM%205.2/EN/index.htm -
-
-
- - - - - UN/LOCODE - - - - - Additional identifier - - - - - Type of location - - - - - - - - Qualifier of identification - - - - - - - - - - - - -
-
-
-
- - - - EUCDM 5.2 - 4/19 -
- Transportation cost. -
-
-
- - - - - -
- - - - - - - - - - - - -
- H7 Item. -
-
-
- - - - - - EUCDM 5.2 - 4/18 -
- The value of the imported Item. Written as CurrencyCode + Value. Any Currency code is allowed. -
-
-
-
- - - - EUCDM 5.2 - 1/6 -
- Goods item number. The sequence identifier. Has to be sequential. - Start at 1. -
-
-
-
- - - - - EUCDM 5.2 - 2/3 -
- Used for any additional documents. - If one subfield is filled, all subfields have to be filled. -
-
-
- - - - - - - - In H7 documentation this is the type code, but here it's split into two fields, category code and type code. - - - - - - -
- - - - EUCDM 5.2 - 2/2 -
- Used for any additional information. - If filled, both codes (StatementCode and StatementTypeCode) have to be filled. -
-
-
- - - - - - - Statement code will always start with '1' for import. - One character. - - - - - - - Four characters - - - - -
- - - - - - - EUCDM 5.2 - 6/8 -
Short description of the goods item.
-
-
-
- - - - - - - EUCDM 5.2 - 6/14 -
- Type of goods. - 6 characters. - There will be a reference list for it. - Validated towards Taric. -
-
-
-
- - - - DMS Specific field -
- Set to TSP for all H7 declarations. - Scheduled for future removal. !!!!!!! -
-
-
-
-
-
-
- - - - - - - EUCDM 5.2 - 6/5 -
- Can be filled on either item or header level. - System has a ruleset for maximum weight. - On header level it is the total gross weight. -
-
-
-
- - - - EUCDM 5.2 - 6/5 -
- Only needed if CurrentCode C08. -
-
-
-
-
-
-
-
-
-
- - - - - - - EUCDM 5.2 - 4/19 -
- Transportation cost, specific on each item. -
-
-
-
-
-
-
- - - - EUCDM 5.2 - 3/40 -
- Required by DMS if - RoleCode=IOSS. Can either be filed out with IOSS number or VAT - number. - For ID see https://svn.taxud.gefeg.com/svn/Documentation/Archive/EUCDM%205.2/EN/index.htm - -
-
-
- - - - - - - -
- - - - DMS specific field -
- DMS requires: - 40 in CurrentCode, - 00 in PreviousCode -
-
-
- - - - - - - -
- - - - EUCDM 5.2 - 6/10 -
- Number of packages. The SequenceNumeric is for the quantity on that item. -
-
-
- - - - - - DMS specific field -
- DMS currently requires this. Fill the sequential number of the package. -
-
-
-
- - - - Number of packages - - -
-
-
- - - - EUCDM 5.2 - 2/1 -
- If one subfield is filled, all subfields have to be filled. -
-
-
- - - - - - In H7 documentation this is the type code, but here it's split into two fields, category code and type code. - - - - - - - -
- - - - EUCDM 5.2 - 2/4 -
- Unique number that follows the good all the way. Used by transporters. -
-
-
- - - - - -
-
-
-
- - - - - - - EUCDM 5.2 - 3/15 -
- Importer name. -
-
-
-
- - - - EUCDM 5.2 - 3/16 -
- EORI. -
-
-
-
- - - - - - - - Must always be DK - - - - - - - - -
-
-
- - - - EUCDM 5.2 - 2/1 -
- If one subfield is filled, all subfields have to be filled. -
-
-
- - - - - - In H7 documentation this is the type code, but here it's split into two fields, category code and type code. - - - - - - - -
- - - - EUCDM 5.2 - 2/4 -
- Unique number that follows the good all the way. Used by transporters. -
-
-
- - - - - -
-
-
-
-
-
-
\ No newline at end of file diff --git a/I2/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd b/I2/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd new file mode 100644 index 00000000..acd36731 --- /dev/null +++ b/I2/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd @@ -0,0 +1,45 @@ + + + + + + + + + + diff --git a/I2/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd b/I2/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd new file mode 100644 index 00000000..b853fafe --- /dev/null +++ b/I2/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd @@ -0,0 +1,45 @@ + + + + + + + + + + diff --git a/I2/UNECE/UnqualifiedDataType_6_DMS.xsd b/I2/UNECE/UnqualifiedDataType_6_DMS.xsd new file mode 100644 index 00000000..aab71074 --- /dev/null +++ b/I2/UNECE/UnqualifiedDataType_6_DMS.xsd @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/I2/toldsystemet_DS/WCO_DEC_EDS_AUTHORISATION.xsd b/I2/toldsystemet_DS/WCO_DEC_EDS_AUTHORISATION.xsd new file mode 100644 index 00000000..baef40c0 --- /dev/null +++ b/I2/toldsystemet_DS/WCO_DEC_EDS_AUTHORISATION.xsd @@ -0,0 +1,1361 @@ + + + + + + + + + + + + + an..4 + Authorisation code type for application + + + + + + + an..4 + Authorisation code type for decision + + + + + + + an..256 + Authorisation signature for application + + + + + + + an.256 + Authorisation signature for decision + + + + + + + Unique reference attributed by the competent customs authority to the decision. + + + + + + + Name and address of the customs authority which takes the decision + + + + + + + Document(s) attached to the application or the decision + + + + + + + Applicant of the authorisation + + + + + + + Decision holder representative + + + + + + + an..17 + + + Application holder ID + + + + + + + an..17 + + + Decision holder ID + + + + + + + Contact details of person responsible for the application + + + + + + + n8(yyyymmdd) + + + Date on which the applicant has signed or otherwise authenticated the application + + + + + + + n8(yyyymmdd) + + + The date on which the authorisation or decision relating to binding information + or on the repayment or remission of import or export duty was taken. + + + + + + + an..512 + General remarks regarding particulars of any requirements to which + the goods remain subject pending implementation of the decision + + + + + + + + + + + + + + + + Repayment/Remission representative + + + + + + + an..17 + + + Representative Identification + + + + + + + Locations of goods + + + + + + + Trader commodity codes + + + + + + + Customs commodity code + + + + + + + an..2560 + + + Description of goods + + + + + + + Trader goods quantities + + + + + + + Customs goods quantity + + + + + + + an..512 + Additional information + + + + + + + an..35 + + + Title of recovery + + + + + + + an8 + + + Customs office where the customs debt was notified + + + + + + + an8 + + + Customs office responsible for the place where the goods are located + + + + + + + an..512 + + + Comments of the customs office responsible for the place where the goods are located + + + + + + + Customs procedure (request for prior completion of formalities) + + + + + + + Customs value + + + + + + + Amount of import or export duty to be repaid or remitted of + + + + + + + Type of import or export duty + + + + + + + a1 + + + Legal basis + + + + + + + an..512 + + + Use or destination of goods + + + + + + + n..3 + + + Time-limit for completion of formalities + + + + + + + an..512 + + + Statement of the decision-taking customs authority + + + + + + + an..512 + + + Description of the grounds for repayment or remission A + + + + + + + an..512 + + + Description of the grounds for repayment or remission D + + + + + + + an..512 + + + Bank and account details + + + + + + + + + + + + + + + + + + an2 + Customs procedure code + + + + + + + boolean + Customs procedure checkbox + + + + + + + an2 + Customs procedure code + + + + + + + + + + + + an..4 + Goods quantities measurement + + + + + + + n..16,6 + Goods quantities + + + + + + + + + + + + an..8 + First subdivision combined nomenclature code + + + + + + + an2 + Second subdivision subheading + + + + + + + an4 + Third subdivision taric additional codes + + + + + + + an..4 + Fourth subdivision national additional code + + + + + + + + + + + + a2 + Goods Location country code + + + + + + + a1 + Goods location code type + + + + + + + a1 + Goods location identification qualifier + + + + + + + an..35 + Goods location identification + + + + + + + n..3 + Location additional identifier + + + + + + + an..70 + Goods location name + + + + + + + an..70 + Location street and number + + + + + + + an..9 + Location postcode + + + + + + + an..35 + Location city + + + + + + + + + + + + an..70 + Contact details person name + + + + + + + an..50 + Contact details person telephone + + + + + + + an..50 + Contact details person fax + + + + + + + an..50 + Contact details person email + + + + + + + + + + + + an..70 + Attached document type + + + + + + + an..35 + Attached document identifier + + + + + + + n8 + Attached document type + + + + + + + + + + + + an..70 + Holder name + + + + + + + an..70 + Holder street and number + + + + + + + a2 + Holder country code + + + + + + + an..9 + Holder postcode + + + + + + + an..35 + Holder city + + + + + + + + + + + + an8 + Customs office encoded location identity + + + + + + + an..70 + Decision customs authority name + + + + + + + an..70 + Decision customs authority street and number + + + + + + + a2 + Decision customs authority country code + + + + + + + an..9 + Decision customs authority post code + + + + + + + an..35 + Decision customs authority city + + + + + + + + + + + + a3 + Currency type + + + + + + + n..16,6 + Amount type + + + + + + + + + + n..16,6 + + + + + + + + + + + + + + a3 + + + + + + + + + + + + + + + a1 + + + + + + + + + + + + + + n..3 + + + + + + + + + + + + an..512 + + + + + + + + + + + + + + an..512 + + + + + + + + + + + + + + an..512 + + + + + + + + + + + + + + an..512 + + + + + + + + + + + + + + + + a1+n2 + Union code type + + + + + + + n1+an2 + National code type + + + + + + + + + + a1+n2 + + + + + + + + + + + + + + n1+an2 + + + + + + + + + + + + + + boolean + + + + + + + + + + + + an2 + + + + + + + + + + + + + + an..35 + + + + + + + + + + + + + + an8 + + + + + + + + + + + + + + an8 + + + + + + + + + + + + + + an..512 + + + + + + + + + + + + + + n..16,6 + + + + + + + + + + + + + + an..4 + + + + + + + + + + + + + + an..2560 + + + + + + + + + + + + + + an..4 + + + + + + + + + + + + + + an4 + + + + + + + + + + + + + + an..8 + + + + + + + + + + + + + + an2 + + + + + + + + + + + + + + a1 + + + + + + + + + + + + + + a1 + + + + + + + + + + + + + + an..35 + + + + + + + + + + + + + + n..3 + + + + + + + + + + + + an..70 + + + + + + + + + + + + + + an..35 + + + + + + + + + + + + + + an..50 + + + + + + + + + + + + + + an..50 + + + + + + + + + + + + + + an..70 + + + + + + + + + + + + + + an..70 + + + + + + + + + + + + + + an..512 + + + + + + + + + + + + + + an..512 + + + + + + + + + + + + + + an..17 + + + + + + + + + + + + + + an..70 + + + + + + + + + + + + + + an..70 + + + + + + + + + + + + + + + + an..2 + Decision reference number country code + + + + + + + an..29 + Decision reference number + + + + + + + an..4 + Decision reference number code + + + + + + + + + + an..29 + + + + + + + + + + + + + + an..4 + + + + + + + + + + + + + + an..256 + + + + + + + + + + + + + + an..70 + + + + + + + + + + + + + + an..4 + + + + + + + + + + + diff --git a/I2/toldsystemet_DS/toldsystemet_DS_v1.xsd b/I2/toldsystemet_DS/toldsystemet_DS_v1.xsd new file mode 100644 index 00000000..6efee635 --- /dev/null +++ b/I2/toldsystemet_DS/toldsystemet_DS_v1.xsd @@ -0,0 +1,2665 @@ + + + + + + + + D031 + an..3 + + + + + + + + + + + + + 276 + an..35 + + + + + + + + + + + + + + + + + + D005 + an..70 + 2/6 + an..35 + + + + + + + + + + + + + + 360 + an..3 + + + + + + + + + + + + + D028 + an..35 + + + + + + + + + + + + + D006 + an..3 + + + + + + + + + + + + + 144 + n..8 + + + + + + + + + + + + + 141 + an..2 + + + + + + + + + + + + + 023 + an..35 + + + + + + + + + + + + + + + + + + 226 + an..17 + + + + + + + + + + + + + 225 + an..512 + + + + + + + + + + + + + 369 + an..4 + + + + + + + + + + + + + 241 + an..35 + + + + + + + + + + + + + + 242 + a2 + + + + + + + + + + + + + 244 + an..9 + + + + + + + + + + + + + 243 + an..35 + + + + + + + + + + + + + 239 + an..70 + + + + + + + + + + + + + + 245 + an..9 + + + + + + + + + + + + + + 410 + an..3 + 16 15 046 000 + an..1 + + + + + + + + + + + + + + R143 + an..17 + + + + + + + + + + + + + R005 + an..3 + + + + + + + + + + + + + 102 + an..3 + 3/21 + n..1 + + 2 -> Representative (direct representation within the meaning of Article 18(1) of the Code) + 3 -> Representative (indirect representation within the meaning of Article 18(1) of the Code) + + + + + + + + + + + + + + + + + + R004 + an..17 + + + + + + + + + + + + + R003 + an..70 + + + + + + + + + + + + + + 099 + an..3 + + + + + + + + + + + + + T002 + an..35 + + + + + + + + + + + + + T034 + an..17 + + + + + + + + + + + + + T020 + n1 + + + + + + + + + + + + + T001 + an..35 + + + + + + + + + + + + + T008 + an..4 + + + + + + + + + + + + + 104 + an..256 + 1/8 + an..35 + + + + + + + + + + + + + + R007 + an..70 + + + + + + + + + + + + + R145 + an..4 + + + + + + + + + + + + + R144 + an..17 + + + + + + + + + + + + + T006 + an..35 + + + + + + + + + + + + + T018 + an..17 + + + + + + + + + + + + + T022 + n1 + + + + + + + + + + + + + T005 + an..35 + + + + + + + + + + + + + T014 + a2 + + + + + + + + + + + + + T010 + an..4 + + + + + + + + + + + + + R010 + an..17 + + + + + + + + + + + + + R009 + an..70 + + + + + + + + + + + + + R012 + an..17 + + + + + + + + + + + + + R011 + an..70 + + + + + + + + + + + + + 371 + an..3 + + + + + + + + + + + + + 181 + n..16,3 + + + + + + + + + + + + + 448 + an..35 + + + + + + + + + + + + + 145 + an..18 + 6/14 + an..8 + + + + + + + + + + + + + + + an..3 + + + + + + + + + + + + + 346 + an..35 + + + + + + + + + + + + + 137 + an..512 + + + + + + + + + + + + + 240 + an..50 + + + + + + + + + + + + + 253 + an..3 + + + + + + + + + + + + + R015 + an..17 + + + + + + + + + + + + + R014 + an..70 + + + + + + + + + + + + + 096 + an..3 + + + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + R021 + an..17 + + + + + + + + + + + + + R020 + an..70 + + + + + + + + + + + + + 246 + an..70 + + + + + + + + + + + + + 135 + a3 + + + + + + + + + + + + + 118 + n..12,5 + + + + + + + + + + + 117 + n..16,3 + + + + + + + + + + + + + 122 + an..3 + + + + + + + + + + + + + 506 + n..4 + + + + + + + + + + + + + R123 + an..17 + + + + + + + + + + + + + R124 + an..70 + + + + + + + + + + + + + + 023 + an..35 + + + + + + + + + + + + + + + + + + 065 + an..17 + + + + + + + + + + + + + D026 + an..35 + + + + + + + + + + + + + 017 + n..2 + + + + + + + + + + + + + + + + 228 + n..5 + + + + + + + + + + + + + D014 + an..70 + + + + + + + + + + + + + 109 + n..16,3 + + + + + + + + + + + + + D011 + an..35 + + + + + + + + + + + + + + + + + + D012 + an..5 + + + + + + + + + + + + + 013 + n..5 + + + + + + + + + + + + + 504 + an..3 + + + + + + + + + + + + + 131 + n..16,6 + + + + + + + + + + + + + 146 + n..8 + + + + + + + + + + + + + D013 + an..3 + + + + + + + + + + + + + T004 + an..35 + + + + + + + + + + + + + T029 + an..17 + + + + + + + + + + + + + T021 + n1 + + + + + + + + + + + + + T003 + an..35 + + + + + + + + + + + + + T009 + an..4 + + + + + + + + + + + + + 465 + a2 + + + + + + + + + + + + + 477 + an..9 + + + + + + + + + + + + + R119 + an..17 + + + + + + + + + + + + + R005 + an..3 + 3/40 + + Role Code; Party; Description + FR1; Importer; Person or persons designated or recognised as liable for the payment of value added + tax by the Member State of importation in accordance with Article 201 of Directive 2006/112/EC + FR2; Customer; Person liable for the payment of Value Added Tax on the intra-Union acquisition of + goods in accordance with Article 200 of Directive 2006/112/EC + FR3; Tax Representative; Tax representative liable for the payment of value added tax in the Member + State of importation appointed by the importer + FR4; Holder of the deferred payment authorisation; The taxable person or the person liable for + payment or another person that has received deferment of payment in accordance with Article 211 of + Directive 2006/112/EC + FR5; Vendor (IOSS); Taxable person making use of the special scheme for distance sales of goods + imported from third countries and territories set out in Title XII Chapter 6 Section 4 of Directive + 2006/112/EC and holder of the VAT identification number referred to in Article 369q therein. + FR7; Taxable person or of the person liable for payment of VAT; VAT identification number of the + taxable person or of the person liable for payment of VAT where the payment of VAT is postponed in + accordance with Article 211 second subparagraph of Directive 2006/112/EC. + + + + + + + + + + + + + + + + + + + + 116 + n..16,3 + + + + + + + + + + + + + 111 + n..16,3 + + + + + + + + + + + + + 164 + an..3 + + + + + + + + + + + + + 401 + an..17 + + + + + + + + + + + + + 129 + n..16,6 + + + + + + + + + + + + + 115 + an..17,3 + + + + + + + + 113 + an..3 + + + + + + + + + + + + + G005 + an..17 + + + + + + + + + + + + + 062 + a2 + + + + + + + + + + + + + R032 + an..17 + + + + + + + + + + + + + R031 + an..70 + + + + + + + + + + + + + + 098 + an..3 + 4/8 + an..1 + + + + + + + + + + + + + + L017 + an..17 + + + + + + + + + + + + + L016 + an..256 + + + + + + + + + + + + + L110 + an..3 + 16 15 045 000 + an..1 + + + + + + + + + + + + + + + 126 + n..16,6 + + + + + + + + + + + + + 128 + n..16,6 + + + + + + + + + + + + + 130 + n..16,6 + + + + + + + + + + + + + 024 + an..35 + + + + + + + + + + + + + + + + + + 103 + n..2 + + + + + + + + + + + + + 108 + n..16,3 + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + 114 + n..16,3 + + + + + + + + + + + + + 103 + n..2 + + + + + + + + + + + + + 166 + an..7 + + + + + + + + + + + + + + 161 + an..7 + + + + + + + + + + + + + G014 + an..17 + + + + + + + + + + + + + R038 + an..17 + + + + + + + + + + + + + R037 + an..70 + + + + + + + + + + + + + + D016 + an..70 + + + + + + + + + + + + + D015 + an..35 + + + + + + + + + + + + + + + + + + 112 + n..16,3 + + + + + + + + + + + + + 064 + a2 + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + L010 + an..17 + + + + + + + + + + + + + L009 + an..256 + + + + + + + + + + + + + R043 + an..17 + + + + + + + + + + + + + R042 + an..70 + + + + + + + + + + + + + 499 + an..4 + + + + + + + + + + + + + 492 + n..16,3 + + + + + + + + + + + + + D014 + an..70 + + + + + + + + + + + + + 100 + an..35 + + + + + + + + + + + + + 101 + an..3 + + + + + + + + + + + + + 063 + an..4 + + + + + + + + + + + + + 066 + an..9 + + + + + + + + + + + + + 501 + an..3 + + + + + + + + + + + + + 402 + n..15 + + + + + + + + + + + + + 367 + n..15 + + + + + + + + + + + + + 142 + an..512 + + + + + + + + + + + + + 344 + an..256 + + + + + + + + + + + + + 144 + n..8 + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + 141 + an..2 + + + + + + + + + + + + + 395 + n..16,6 + + + + + + + + + + + + + 368 + n..15 + + + + + + + + + + + + + R121 + an..17 + + + + + + + + + + + + + R120 + an..70 + + + + + + + + + + + + + 107 + a1 + + + + + + + + + + + + + 378 + n..16,3 + + + + + + + + + + + + + 120 + n..16,3 + + + + + + + + + + + + + 375 + an..3 + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + 381 + an..4 + + + + + + + + + + + + + G015 + an..17 + + + + + + + + + + + + + D031 + an..3 + + + + + + + + + + + + + D018 + an..70 + 2/1 + an..35 + + + + + + + + + + + + + + 171 + n..5 + + + + + + + + + + + D019 + an..3 + + + + + + + + + + + + + R128 + an..17 + + + + + + + + + + + + + R127 + an..70 + + + + + + + + + + + + + 165 + an..35 + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + R051 + an..17 + + + + + + + + + + + + + R050 + an..70 + + + + + + + + + + + + + R059 + an..17 + + + + + + + + + + + + + R058 + an..70 + + + + + + + + + + + + + R005 + an..3 + + + + + + + + + + + + + G012 + an..17 + + + + + + + + + + + + + R055 + an..17 + + + + + + + + + + + + + R054 + an..70 + + + + + + + + + + + + + 090 + a3 + + + + + + + + + + + + + 106 + an..3 + + + + + + + + + + + + + 089 + an..70 + + + + + + + + + + + + + L002 + an..17 + + + + + + + + + + + + + L001 + an..256 + + + + + + + + + + + + + 159 + an..17 + + + + + + + + + + + + + 006 + n..5 + + + + + + + + + + + 016 + an..35 + + + + + + + + + + + + + 009 + an..35 + + + + + + + + + + + + + 188 + an..4 + + + + + + + + + + + + + L019 + an..35 + + + + + + + + + + + + + L112 + an..3 + + + + + + + + + + + + + 503 + n..16,3 + + + + + + + + + + + + + 502 + n..16,6 + + + + + + + + + + diff --git a/README.md b/README.md index 9bb89523..5d3185a4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ # dms-public -Branch for keeping track on XML-schemas +Changelog from version 1.0.0 to 1.1.1: +* Declaration/Submitter/ID - Removed ID for submitter. +* Declaration/Agent/Address - Temporarily added mandatory address on representative (Agent - 3/19). +* Declaration/GoodsShipment/AdditionalDocument/SequenceNumeric - is added, and is mandatory. +* Declaration/GoodsShipment/AdditionalInformation/SequenceNumeric - is added, and is mandatory. +* Declaration/GoodsShipment/Consignment/GoodsLocation - is now mandatory. +* Declaration/GoodsShipment/CustomsValuation/FreightChargeAmount - If CustomsValuation is filled, then is now mandatory. +* Declaration/GoodsShipment/GovernmentAgencyGoodsItem/AdditionalDocument - Temporarily added AdditionalDocument is mandatory. +* Declaration/GoodsShipment/GovernmentAgencyGoodsItem/AdditionalDocument/SequenceNumeric - is added, and is mandatory. +* Declaration/GoodsShipment/GovernmentAgencyGoodsItem/AdditionalDocument/* - All subfields under AdditionalDocument are mandatory. +* Declaration/GoodsShipment/GovernmentAgencyGoodsItem/AdditionalInformation/SequenceNumeric - is added, and is mandatory. +* Declaration/GoodsShipment/GovernmentAgencyGoodsItem/AdditionalInformation/* - StatementCode and StatementTypeCode are mandatory, if AdditionalInformation is used. +* Declaration/GoodsShipment/GovernmentAgencyGoodsItem/GovernmentProcedure - Can now occur 3 times. +* Declaration/GoodsShipment/GovernmentAgencyGoodsItem/GovernmentProcedure/SequenceNumeric - SequenceNumeric is added, and is mandatory. +* Declaration/GoodsShipment/Importer/Address/CountryCode - Temporarily added CountryCode is mandatory. \ No newline at end of file