diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..9f11b755 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea/ diff --git a/H7/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd b/H7/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd index acd36731..05db8f59 100644 --- a/H7/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd +++ b/H7/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd @@ -1,7 +1,7 @@ - + diff --git a/H7/toldsystemet_DS/WCO_DEC_EDS_AUTHORISATION.xsd b/H7/toldsystemet_DS/WCO_DEC_EDS_AUTHORISATION.xsd index baef40c0..647ad6d3 100644 --- a/H7/toldsystemet_DS/WCO_DEC_EDS_AUTHORISATION.xsd +++ b/H7/toldsystemet_DS/WCO_DEC_EDS_AUTHORISATION.xsd @@ -4,7 +4,7 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:6" targetNamespace="urn:wco:datamodel:WCO:WCO_DEC_EDS_AUTHORISATION:1" elementFormDefault="qualified" - version="1.0"> + version="1.1.2"> diff --git a/H7/toldsystemet_DS/toldsystemet_DS_v1.xsd b/H7/toldsystemet_DS/toldsystemet_DS_v1.xsd index 284eb8f4..4df308bb 100644 --- a/H7/toldsystemet_DS/toldsystemet_DS_v1.xsd +++ b/H7/toldsystemet_DS/toldsystemet_DS_v1.xsd @@ -1,7 +1,7 @@ + targetNamespace="urn:wco:datamodel:WCO:Declaration_DS:DMS:2" elementFormDefault="qualified" version="1.1.2"> + + elementFormDefault="qualified" version="1.1.2"> @@ -10,6 +10,11 @@
H7 declaration. + + Guide for annotation: + - "...": Describes relevant rules/actions for submitting a declaration. + - "...": Describes relevant rules/actions for amendment of an already submitted declaration. + - "...": Describes relevant rules/actions for correction of an already submitted declaration.
@@ -19,9 +24,17 @@ DMS specific field
- - "9" For initial submission - - "13" For correction + Code for type of action.
+ + "9" For initial submission + + + "13" for amendment + + + "13" for correction +
@@ -30,8 +43,17 @@ DMS Specific field
- For Submit H7, always fill in "H7". + The type of declaration you want to submit.
+ + For submission of an H7-declaration, fill in "H7". + + + For amendment of an H7-declaration, fill in "H7". + + + For correction of an H7-declaration, fill in "H7". +
@@ -45,6 +67,15 @@ by the declarant in agreement with the competent authorities to identify each single declaration. Must be unique. + + See details above. + + + Can be corrected for an amendment. + + + Can be corrected for a correction. + @@ -71,6 +102,15 @@ a. Consist of 1 alphanumeric character 6. Based on the ISO 6346 algorithm + + Not used in submission of a declaration. + + + Can not be corrected for an amendment. + + + Can not be corrected for a correction. + @@ -81,9 +121,19 @@
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. + - "IMD" For lodging a standard customs declaration (such as referred to under code A) in accordance with Article 171 of the Code. + + For codes, see: https://svn.taxud.gefeg.com/svn/Documentation/EUCDM/EN/EUCDM/Annex-B/e31.htm#1FMain/FData%20groups/TGroup-1/EB-1-2
+ + See details above. + + + Fill in "COR" for an amendment. + + + Fill in "COR" for a correction. + @@ -94,6 +144,15 @@
Total number of items in the declaration.
+ + See details above. + + + Can be corrected for an amendment. + + + Can be corrected for a correction. + @@ -105,6 +164,15 @@
See supplied DeclarationOfficeID.xlsx for valid entries.
+ + See details above. + + + Can be corrected for an amendment. + + + Can be corrected for a correction. + @@ -116,6 +184,15 @@
Weight of packages.
+ + See details above. + + + Can be corrected for an amendment. + + + Can be corrected for a correction. + @@ -124,8 +201,17 @@ DMS specific field
- Name and Identifier of submitting company. + Name and identifier of submitting company.
+ + See details above and under the subfields below. + + + All subfields can be corrected for an amendment. + + + All subfields can be corrected for a correction. +
@@ -133,7 +219,6 @@ - DMS specific field
The CVR/SE-number/EORI given by the client certificate used for the submission of declarations. Example: 30808460 @@ -141,6 +226,16 @@ + + + +
+ Temporarily added - Use the CVR number again. + Example: 30808460 +
+
+
+
@@ -151,6 +246,15 @@ Details on importing third party. Also known as Representative in EUCDM.
+ + See details above or under the subfields below. + + + All subfields can be corrected for an amendment. + + + All subfields can be corrected for a correction. +
@@ -186,7 +290,7 @@
Representative status code: - "2" is direct representation. - - "3" indirect represenation. + - "3" indirect representation. In order to use code 3 the agent has to have a danish EORI.
@@ -212,6 +316,15 @@ Name and address of the person or company importing the good. Importer and declarant can be the same. + + See details above or under the subfields below. + + + All subfields can be corrected for an amendment. + + + All subfields can be corrected for a correction. + @@ -270,6 +383,15 @@
The party exporting the good into the union.
+ + See details above or under the subfields below. + + + All subfields can be corrected for an amendment. + + + All subfields can be corrected for a correction. + @@ -322,7 +444,6 @@
H7 declaration goods. - All subfields have to be filled, if one is filled.
@@ -335,17 +456,27 @@ 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 + + For information on which codes to fill in the subfields, see here: + https://www.skat.dk/skat.aspx?oId=109749 + https://www.skat.dk/skat.aspx?oId=109751 + https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred1001.htm
+ + See details above. + + + All subfields can be corrected for an amendment. + + + All subfields can be corrected for a correction. + - - + + In H7 documentation this is the type code, but here it's split into two @@ -353,8 +484,7 @@ - + @@ -367,17 +497,22 @@
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
+ + See details above or under the subfields below. + + + All subfields can be corrected for an amendment. + + + All subfields can be corrected for a correction. + - - + + Statement code will always start with '1' for import. @@ -385,11 +520,8 @@ - - + + Four characters. @@ -413,28 +545,32 @@ 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 + Location of good. Country code is ISO 3166 ALPHA-2.
+ + See details above or in the subfields below. + + + NONE of the subfields can be corrected for an amendment. + + + All the subfields an be corrected for a correction. +
- + UN/LOCODE - + Additional identifier - + Type of location @@ -442,23 +578,17 @@ - + - Qualifier of - identification + + Qualifier of identification - - - - + + + + @@ -476,25 +606,59 @@
Transportation cost.
+ + See details above. + + + Can be corrected for an amendment. + + + Can be corrected for a correction. + - +
- + + + EUCDM 5.2 + 3/40 +
+ Additional fiscal references +
+ + See details above. + + + All subfields can be corrected for an amendment. + + + All subfields can be corrected for a correction. + +
+
- + + + + + + 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. + + - -
@@ -508,8 +672,7 @@ - + EUCDM 5.2 @@ -518,11 +681,19 @@ The value of the imported Item. Written as CurrencyCode + Value. Any Currency code is allowed. + + See details above. + + + Can be corrected for an amendment. + + + Can be corrected for a correction. + - + EUCDM 5.2 @@ -531,6 +702,15 @@ Goods item number. The sequence identifier. Has to be sequential. Start at 1. + + See details above. + + + Can be corrected for an amendment. + + + Can be corrected for a correction. + @@ -541,18 +721,29 @@ 2/3
Used for any additional documents. - If one subfield is filled, all subfields have to be filled. + All subfields have to be filled, if one is filled. + + For information on which codes to fill in the subfields, see here: + https://www.skat.dk/skat.aspx?oId=109749 + https://www.skat.dk/skat.aspx?oId=109751 + https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred1001.htm
+ + See details above. + + + All subfields can be corrected for an amendment. + + + All subfields can be corrected for a correction. + - + - + In H7 documentation this is the type code, but here it's @@ -560,10 +751,8 @@ - - + +
@@ -577,16 +766,21 @@ If filled, both codes (StatementCode and StatementTypeCode) have to be filled. + + See details above or under the subfields below. + + + All subfields can be corrected for an amendment. + + + All subfields can be corrected for a correction. + - - + + Statement code will always start with '1' for import. @@ -594,12 +788,8 @@ - - + + Four characters @@ -612,8 +802,7 @@ - + EUCDM 5.2 @@ -626,11 +815,8 @@ - - + EUCDM 5.2 @@ -641,19 +827,35 @@ There will be a reference list for it. Validated towards Taric. + + See details above. + + + Can be corrected for an amendment. + + + Can be corrected for a correction. + - + DMS Specific field
Set to TSP for all H7 declarations. - Scheduled for future removal. !!!!!!! + Scheduled for future removal.
+ + Fill in "TSP" for submission. + + + Fill in "TSP" for an amendment. + + + Fill in "TSP" for a correction. +
@@ -663,9 +865,7 @@ - + EUCDM 5.2 @@ -677,12 +877,19 @@ On header level it is the total gross weight. + + See details above. + + + Can be corrected for an amendment. + + + Can be corrected for a correction. + - + EUCDM 5.2 @@ -690,6 +897,15 @@
Only needed if CurrentCode C08.
+ + See details above. + + + Can be corrected for an amendment. + + + Can be corrected for a correction. +
@@ -707,6 +923,15 @@
Item level exporter information.
+ + See details above or under the subfields below. + + + All subfields can be corrected for an amendment. + + + All subfields can be corrected for a correction. +
@@ -741,9 +966,7 @@ - + EUCDM 5.2 @@ -751,6 +974,15 @@
Transportation cost, specific on each item.
+ + See details above. + + + Can be corrected for an amendment. + + + Can be corrected for a correction. +
@@ -763,26 +995,24 @@ 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 - + Required by DMS if RoleCode = IOSS. Can either be filed out with IOSS number or VAT number.
+ + See details above. + + + All subfields can be corrected for an amendment. + + + All subfields can be corrected for a correction. +
- - - - - - + + +
@@ -791,22 +1021,29 @@ DMS specific field
- DMS requires: - 40 in CurrentCode, - 00 in PreviousCode + - CurrentCode should always be either "40" or "C07" or "C08" or "F48" or "F49". + * F48 - Import under 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. + * F49 - Import under the special arrangements for declaration and payment of import VAT set out in Title XII Chapter 7 of Directive 2006/112/EC. C07 Must be present when this code is used. + * C07 - Consignments of negligible value. + * C08 - Consignments sent from one private individual to another. + - PreviousCode should always be "00".
+ + See details above. + + + All subfields can be corrected for an amendment. + + + All subfields can be corrected for a correction. +
- - - + + +
@@ -819,12 +1056,20 @@ Number of packages. The SequenceNumeric is for the quantity on that item. + + See details above or under the subfields below. + + + All subfields can be corrected for an amendment. + + + All subfields can be corrected for a correction. + - + DMS specific field @@ -835,8 +1080,7 @@ - + Number of packages @@ -853,15 +1097,29 @@ 2/1
If one subfield is filled, all subfields have to be filled. + + - CategoryCode should be filled with: + - "X": Summary declaration + - "Y": Initial declaration + - "Z": Preceding declaration + - TypeCode should be filled according to type of document, see https://www.skat.dk/skat.aspx?oId=1658884 under "Dok art"-column.
+ + See details above or under the subfields below. + + + All subfields can be corrected for an amendment. + + + All subfields can be corrected for a correction. +
- + In H7 documentation this is the type code, but here it's @@ -869,12 +1127,9 @@ - - - + + +
@@ -887,12 +1142,20 @@ Unique number that follows the good all the way. Used by transporters. + + See details above. + + + Can be corrected for an amendment. + + + Can be corrected for a correction. + - +
@@ -910,6 +1173,15 @@
Importer name.
+ + See details above. + + + If ../Importer/ID is "09999981" this field can not be corrected for an amendment. + + + Can be corrected for a correction. +
@@ -921,25 +1193,93 @@
EORI.
+ + See details above. + + + If ID is 09999981 the remaining Importer/* fields can not be corrected for an amendment. + + + Can be corrected for a correction. +
- - + + + +
+ City name. +
+ + See details above. + + + If ../Importer/ID is "09999981" this field can not be corrected for an amendment. + + + Can be corrected for a correction. + +
+
+
+ + + +
+ Must always be DK. +
+ + Fill in "DK". + + + If ../Importer/ID is "09999981" this field can not be corrected for an amendment. + + + Can be corrected for a correction. + +
+
+
+ + + +
+ Address Line +
+ + See details above. + + + If ../Importer/ID is "09999981" this field can not be corrected for an amendment. + + + Can be corrected for a correction. + +
+
+
+ - Must always be DK +
+ Post code +
+ + See details above. + + + If ../Importer/ID is "09999981" this field can not be corrected for an amendment. + + + Can be corrected for a correction. +
- -
@@ -953,15 +1293,29 @@ 2/1
If one subfield is filled, all subfields have to be filled. + + - CategoryCode should be filled with: + - "X": Summary declaration + - "Y": Initial declaration + - "Z": Preceding declaration + - TypeCode should be filled according to type of document, see https://www.skat.dk/skat.aspx?oId=1658884 under "Dok art"-column.
+ + See details above. + + + All subfields can be corrected for an amendment + + + All subfields can be corrected for a correction. + - + In H7 documentation this is the type code, but here it's split into two @@ -971,8 +1325,7 @@ - +
@@ -984,12 +1337,20 @@
Unique number that follows the good all the way. Used by transporters.
+ + See details above. + + + Can be corrected for an amendment. + + + Can be corrected for a correction. + - +
diff --git a/I2/toldsystemet_I2_v1.1.1.xsd b/I2/toldsystemet_I2_v1.1.1.xsd new file mode 100644 index 00000000..a45b94d2 --- /dev/null +++ b/I2/toldsystemet_I2_v1.1.1.xsd @@ -0,0 +1,517 @@ + + + + + + + + + + + DMS specific field +
+ - "9" For initial submission + - "13" For correction + + The value should be "9" for an I2 declaration. This will change for Ermis 4.3 +
+
+
+ + Muligt felt til forskel på GPR og Manuel GPR fra TP + + + + LRN + + + + + MRN + + + + + + 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. !!!!!!!!!!!!!!!!!!! TEST FOR THIS!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +
+
+
+ + + + EUCDM 5.2+ + 5/23 +
+ See supplied DeclarationOfficeID.xlsx for valid entries. +
+
+
+ + + + EUCDM 5.2+ + 6/5 +
+ Weight of packages. +
+
+
+ + + + + + + + + EUDCM 5.2+ (not in EUDCM 6.0) + 1/8 +
+ Mandatory on header level. +
+
+
+ + + + + + + + +
+
+
+ + + + Required element in ERMIS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + EUDCM 5.2 + 3/20 +
+ A representative. + EIDR field. +
+
+
+ + + + + + EUCDM 5.2 + 3/20 +
+ EORI. + EIDR field. +
+
+
+ + + + EUCDM 5.2 + 3/21 +
+ 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. + EIDR field. +
+
+
+
+
+
+ + + + + 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. + EIDR field. +
+
+
+ + + + + + ERMIS requires this field + + + + + + + EUCDM 5.2 + 3/39 +
+ EORI. + EIDR field. + + + + + + + EUCDM 5.2 + 3/39 +
+ Using the relevant Union code, enter the type of the authorisation. + EIDR field. +
+
+
+ + + + + + + + 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 +
+
+
+ + + + + + EUCDM 5.2 + 3/41 +
+ EORI. + EIDR field. +
+
+
+
+
+
+ + + + + + + + + + + EUCDM 5.2 + 5/23 +
+ 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 + + + + + + + + + +
+ + + + EUCDM 5.2+ + 7/10 +
+ Container identification +
+
+
+ + + + + + Required field in ERMIS + + + + + Container ID number + + + + + +
+
+
+
+ + + + + + + EUCDM 5.2+ + 1/6 +
+ Goods item number +
+
+
+ + + + + + + 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. +
+
+
+ + + + + + + + +
+ + + + EUCDM 5.2+ + 7/10 +
+ Container identification +
+
+
+ + + + + + + + + + Container ID number + + + + +
+
+
+
+ + + + + + Required field in ERMIS + + + + + + + EUCDM 5.2+ + 6/10 +
+ Number of packages +
+
+
+ + + + 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. +
+
+
+ + + + + +
+
+
+ + + + + EUDCM 5.2+ + 2/1 + + + + + + + Required field in ERMIS + + + + + + + + + + + +
+
+
+ + + + EUDCM 5.2+ + 2/1 + + + + + + + + Required field in ERMIS + + + + + + + + + + + + +
+
+
+ + + diff --git a/I2/toldsystemet_I2_v1.xsd b/I2/toldsystemet_I2_v1.xsd index 1225d326..56e04d16 100644 --- a/I2/toldsystemet_I2_v1.xsd +++ b/I2/toldsystemet_I2_v1.xsd @@ -16,6 +16,7 @@ + Muligt felt til forskel på GPR og Manuel GPR fra TP