From 865ca9f7d8f8edd87a970fda48f745106b53df7d Mon Sep 17 00:00:00 2001 From: nc-emha <80004012+nc-emha@users.noreply.github.com> Date: Wed, 26 May 2021 13:20:09 +0200 Subject: [PATCH] Updates for 4.1.6 (#39) * Small updates for 4.1.6 * Wrong element-hierarchy in I2 fixed * Updated to 1.1.6 * Spelling error Co-authored-by: Emma Hagerup --- Changelog for 1.1.5 to 1.1.6.txt | 27 ++ .../ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd | 24 +- .../UNECE_AgencyIdentificationCode_D12B.xsd | 4 +- H7/UNECE/UnqualifiedDataType_6_DMS.xsd | 208 +++++---- H7/toldsystemet_DS/toldsystemet_DS_v1.xsd | 2 +- ..._v1.1.5.xsd => toldsystemet_H7_v1.1.6.xsd} | 349 +++++++++----- .../ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd | 4 +- .../UNECE_AgencyIdentificationCode_D12B.xsd | 4 +- I2/UNECE/UnqualifiedDataType_6_DMS.xsd | 4 +- I2/toldsystemet_DS/toldsystemet_DS_v1.xsd | 2 +- ..._v1.1.5.xsd => toldsystemet_I2_v1.1.6.xsd} | 429 ++++++++++-------- .../ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd | 24 +- .../UNECE_AgencyIdentificationCode_D12B.xsd | 4 +- .../UNECE/UnqualifiedDataType_6_DMS.xsd | 4 +- .../WCO_DEC_EDS_AUTHORISATION.xsd | 2 +- .../toldsystemet_DS/toldsystemet_DS_v1.xsd | 2 +- ..._H7_invalidation_and_repayment_v1.1.6.xsd} | 51 ++- .../ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd | 4 +- .../UNECE_AgencyIdentificationCode_D12B.xsd | 4 +- .../UNECE/UnqualifiedDataType_6_DMS.xsd | 4 +- .../toldsystemet_DS/toldsystemet_DS_v1.xsd | 2 +- ...> toldsystemet_H7_invalidation_v1.1.6.xsd} | 256 +++++------ 22 files changed, 846 insertions(+), 568 deletions(-) create mode 100644 Changelog for 1.1.5 to 1.1.6.txt rename H7/{toldsystemet_H7_v1.1.5.xsd => toldsystemet_H7_v1.1.6.xsd} (86%) rename I2/{toldsystemet_I2_v1.1.5.xsd => toldsystemet_I2_v1.1.6.xsd} (68%) rename Invalidation and Repayment/{toldsystemet_H7_invalidation_and_repayment_v1.1.5.xsd => toldsystemet_H7_invalidation_and_repayment_v1.1.6.xsd} (88%) rename Invalidation/{toldsystemet_H7_invalidation_v1.1.5.xsd => toldsystemet_H7_invalidation_v1.1.6.xsd} (97%) diff --git a/Changelog for 1.1.5 to 1.1.6.txt b/Changelog for 1.1.5 to 1.1.6.txt new file mode 100644 index 00000000..cf36445f --- /dev/null +++ b/Changelog for 1.1.5 to 1.1.6.txt @@ -0,0 +1,27 @@ +Changelog for 1.1.5 to 1.1.6 + +H7: + +* ... fields have been updated +* Declaration/GoodsShipment/CustomsValuation/FreightChargeAmount annotation has been updated +* Declaration/GoodsShipment/DomesticDutyTaxParty annotation has been updated +* Declaration/GoodsShipment/Consignment/GoodsLocation/* annotation has been updated +* Declaration/GoodsShipment/CustomsValuation/FreightChargeAmount annotation has been updated +* Declaration/GoodsShipment/GovernmentAgencyGoodsItem/Commodity/GoodsMeasure is now mandatory +* Declaration/GoodsShipment/GovernmentAgencyGoodsItem/CustomsValuation/FreightChargeAmount annotation has been updated +* Declaration/GoodsShipment/GovernmentAgencyGoodsItem/DomesticDutyTaxParty annotation has been updated +* Declaration/GoodsShipment/GovernmentAgencyGoodsItem/PreviousDocument/* annotation has been updated +* Declaration/GoodsShipment/PreviousDocument/* annotation has been updated +* Declaration/TotalGrossMassMeasure is now mandatory +* Declaration/TotalGrossMassMeasure annotation has been updated + +I2: + +* Declaration/GoodsShipment/PreviousDocument/* annotation has been updated +* Declaration/GoodsShipment/GovernmentAgencyGoodsItem/PreviousDocument/* annotation has been updated + +Invalidation and repayment: + +* Declaration/RepaymentRemissionAuthorisation/ApplicationCodeType field was added +* Declaration/RepaymentRemissionAuthorisation/AttachedDocument field was added + diff --git a/H7/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd b/H7/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd index 4e909639..59d74279 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/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd b/H7/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd index 1b94b8a7..a461a6ec 100644 --- a/H7/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd +++ b/H7/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd @@ -1,7 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/H7/toldsystemet_DS/toldsystemet_DS_v1.xsd b/H7/toldsystemet_DS/toldsystemet_DS_v1.xsd index 63117a01..e74042a8 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.6"> + elementFormDefault="qualified" version="1.1.6"> @@ -159,7 +159,7 @@ See details above. - Can be corrected for an amendment. + Can not be corrected for an amendment. Can be corrected for a correction. @@ -181,7 +181,7 @@ See details above. - Can be corrected for an amendment. + Can not be corrected for an amendment. Can be corrected for a correction. @@ -190,7 +190,7 @@ - + EUCDM 5.2 @@ -199,10 +199,11 @@ Weight of packages. - See details above. + Fill in the sum of the values in .../GovernmentAgencyGoodsItem/GrossMassMeasure of the + individual goods items. - Can be corrected for an amendment. + Can not corrected for an amendment. Can be corrected for a correction. @@ -222,7 +223,7 @@ See details above and under the subfields below. - All subfields can be corrected for an amendment. + No subfields can be corrected for an amendment. All subfields can be corrected for a correction. @@ -316,7 +317,7 @@ See details above or under the subfields below. - All subfields can be corrected for an amendment. + No subfields can be corrected for an amendment. All subfields can be corrected for a correction. @@ -371,7 +372,7 @@ - If .../Declarant/ID is not 'DK09999981' .../Declarant/Name should not be filled. - All subfields can be corrected for an amendment. + No subfields can be corrected for an amendment. All subfields can be corrected for a correction. @@ -464,7 +465,7 @@ If D.E 3/1 - .../GovernmentAgencyGoodsItem/Consignor is not filled, this must be filled. - All subfields can be corrected for an amendment. + No subfields can be corrected for an amendment. All subfields can be corrected for a correction. @@ -530,6 +531,7 @@ + @@ -557,7 +559,7 @@ See details above. - All subfields can be corrected for an amendment. + No subfields can be corrected for an amendment. All subfields can be corrected for a correction. @@ -567,7 +569,13 @@ + minOccurs="1"> + + + Fill in the sequential number of document. + + + @@ -596,7 +604,7 @@ See details above or under the subfields below. - All subfields can be corrected for an amendment. + No subfields can be corrected for an amendment. All subfields can be corrected for a correction. @@ -645,26 +653,42 @@ 5/23
The location of goods. + Mandatory for an IMA. Mandatory for an I2 if not specified on initial pre-lodged H7 declaration. - Valid combinations of GoodsLocation/TypeCode and - GoodsLocation/Address/TypeCode: + The first TypeCode (.../GoodsLocation/TypeCode) will indicate the + type of location where the goods will be presented. + The TypeCodes are: + - 'A' (Designated place) + - 'B' (Authorised place) + - 'C' (Approved place) + - 'D' (Other) - - GoodsLocation/TypeCode 'A' (Designated place): - - GoodsLocation/Address/TypeCode: 'U' (UN/LOCODE) - - GoodsLocation/Address/TypeCode: 'V' (Customs office identifier) + The Address/TypeCode will indicate how the location will be + declared/described. + The Address/TypeCodes are: + - 'U' (UN/LOCODE) + - 'V' (Customs Office ID) + - 'Y' (Authorisation number) + - 'Z' (Free text) - - GoodsLocation/TypeCode 'B' (Authorised place): - - GoodsLocation/Address/TypeCode: 'Y' (Authorisation number) - This case is used if the goods are cleared through customs from MIO - (temporary storage). + Valid combinations of GoodsLocation/TypeCode and + GoodsLocation/Address/TypeCode are: - - GoodsLocation/TypeCode 'C' (Approved place): - - GoodsLocation/Address/TypeCode: 'Z' (Free text - address) + - 'A' and 'U': UN/LOCODE (eg. DKCPH for Copenhagen) + - 'A' and 'V': Customs Office ID (eg. 007900 for Skattecenter + København) + - 'C' and 'Z': The address will be declared by filling in the name + of the location and the address fields. + - 'D' and 'Z': The address will be declared by filling in the name + of the location and the address fields. + - 'B' and 'Y': Authorisation number - This case is used if the goods + are cleared through customs from MIO + (temporary storage). The format is 'DK' + 9-13 digits (authorisation + number/journal number) + + authorisation code (eg. DK123456789408) - - GoodsLocation/TypeCode 'D' (Other): - - GoodsLocation/Address/TypeCode: 'Z' (Free text - address)
@@ -677,9 +701,9 @@ Identification of location. If - GoodsLocation/Address/TypeCode = 'U' this field should be - the UN/LOCODE - - GoodsLocation/Address/TypeCode = 'V' this field should not - be filled + the UN/LOCODE (eg. 'DKCPH') + - GoodsLocation/Address/TypeCode = 'V' this field should be + the country code part of the Customs Office ID (eg. 'DK') - GoodsLocation/Address/TypeCode = 'Y' this field should be filled with the name of the location - GoodsLocation/Address/TypeCode = 'Z' this field should be @@ -693,13 +717,30 @@ ID qualifier code. If - - GoodsLocation/TypeCode = 'A' and - GoodsLocation/Address/TypeCode = 'U': Additional identifier - of the UN/LOCODE - - GoodsLocation/TypeCode = 'A' and - GoodsLocation/Address/TypeCode = 'V': Customs office ID - - GoodsLocation/TypeCode = 'B' and - GoodsLocation/Address/TypeCode = 'Y': Authorisation number + - GoodsLocation/Address/TypeCode = 'U': The additional + identifier of the UN/LOCODE + (eg. '0011', which toegther with the Name (ie. 'DKCPH') is + DKCPH-0011 which indicates + Langelinie in Copenhagen) + + - GoodsLocation/Address/TypeCode = 'V': The number part of + the Customs office ID + (eg. 007900, which together with the Name (ie. 'DK') is + DK007900 which indicates Skattecenter København) + See the list of Customs Office ID's here: + https://ec.europa.eu/taxation_customs/dds2/rd/rd_search_home.jsp?Lang=en + + - GoodsLocation/Address/TypeCode = 'Y': Authorisation number + given on the + format: 'DK' + 9-13 digits (authorisation number/journal + number) + + authorisation code (eg. DK123456789408) + The authorisation code must be one of the following: + - '402' + - '406' + - '408' + - '409' + - GoodsLocation/TypeCode = 'C' and GoodsLocation/Address/TypeCode = 'Z': This field should not be filled @@ -747,14 +788,18 @@ City Name. + Should only be filled when Address/TypeCode is + 'Z'.
+ type="ds:AddressCountryCodeType" minOccurs="1"> Country code. + The country code should always be filled. + Fill in 'DK'. @@ -763,6 +808,8 @@ Address Line. + Should only be filled when Address/TypeCode is + 'Z'.
@@ -771,6 +818,8 @@ Post code. + Should only be filled when Address/TypeCode is + 'Z'. @@ -784,28 +833,37 @@ - - - EUCDM 5.2 - 4/19 -
- Transportation cost. -
- - See details above. - - - Can be corrected for an amendment. - - - Can be corrected for a correction. - -
-
+ type="ds:CustomsValuationFreightChargeAmountType" minOccurs="1"> + + + EUCDM 5.2 + 4/19 +
+ Transportation cost - header level. + If it the transportation costs are not filled on item level + (.../GovernmentAgencyGoodsItem/CustomsValuation/FreightChargeAmount) + this has to be filled. + If this is filled, it is the total transportation costs for all + the declared items. +
+ + If this is filled AND + .../GovernmentAgencyGoodsItem/CustomsValuation/FreightChargeAmount + is also filled for each item, this must be the sum of the + FreightChargeAmount for all items. + + + Can be corrected for an amendment. + + + Can be corrected for a correction. + +
+
+
@@ -816,15 +874,15 @@ 3/40
Additional fiscal references. - Required by DMS if RoleCode = 'IOSS'. Can either be filed out with IOSS number - or VAT number. + Required by DMS if RoleCode = 'FR5' (IOSS). Can either be filled out with IOSS + number or VAT number. If filled, this applies to all goods items in the declaration.
See details above. - All subfields can be corrected for an amendment. + No subfields can be corrected for an amendment. All subfields can be corrected for a correction. @@ -866,7 +924,7 @@ 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 - + - '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. @@ -922,7 +980,7 @@ See details above. - Can be corrected for an amendment. + Can not be corrected for an amendment. Can be corrected for a correction. @@ -948,7 +1006,7 @@ See details above. - All subfields can be corrected for an amendment. + No subfields can be corrected for an amendment. All subfields can be corrected for a correction. @@ -991,7 +1049,7 @@ See details above or under the subfields below. - All subfields can be corrected for an amendment. + No subfields can be corrected for an amendment. All subfields can be corrected for a correction. @@ -1038,6 +1096,15 @@ EUCDM 5.2 6/8
Short description of the goods item.
+ + See details above. + + + Can not be corrected for an amendment. + + + Can be corrected for a correction. + @@ -1047,6 +1114,19 @@ + + + + Fill in sequential numbers. + + + Can not be corrected for an amendment. + + + Can be corrected for a correction. + + + - + 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. + Weight of the goods item.
See details above. - Can be corrected for an amendment. + Can not be corrected for an amendment. Can be corrected for a correction. @@ -1141,7 +1217,7 @@ See details above. - Can be corrected for an amendment. + Can not be corrected for an amendment. Can be corrected for a correction. @@ -1168,7 +1244,7 @@ If D.E 3/1 - .../Exporter is not filled, this must be filled. - All subfields can be corrected for an amendment. + No subfields can be corrected for an amendment. All subfields can be corrected for a correction. @@ -1236,10 +1312,14 @@ EUCDM 5.2 4/19
- Transportation cost, specific on each item. + Transportation cost - item level, specific on each item. + If it is not filled in header level + (Declaration/GoodsShipment/CustomsValuation/FreightChargeAmount) + this has to be filled.
- See details above. + This is the individual transportation cost for the + declared item. Can be corrected for an amendment. @@ -1260,8 +1340,8 @@ 3/40
Additional fiscal references - Required by DMS if RoleCode = 'IOSS'. Can either be filed out with - IOSS number or VAT number. + Required by DMS if RoleCode = 'FR5' (IOSS). Can either be filled out + with IOSS number or VAT number.
If it is the same for all items in the declaration, fill in the @@ -1269,7 +1349,7 @@ Declaration/GoodsShipment/DomesticDutyTaxParty. - All subfields can be corrected for an amendment. + No subfields can be corrected for an amendment. All subfields can be corrected for a correction. @@ -1347,7 +1427,7 @@ See details above. - All subfields can be corrected for an amendment. + No subfields can be corrected for an amendment. All subfields can be corrected for a correction. @@ -1381,7 +1461,7 @@ See details above or under the subfields below. - All subfields can be corrected for an amendment. + No subfields can be corrected for an amendment. All subfields can be corrected for a correction. @@ -1433,7 +1513,7 @@ See details above or under the subfields below. - All subfields can be corrected for an amendment. + No subfields can be corrected for an amendment. All subfields can be corrected for a correction. @@ -1443,23 +1523,54 @@ + type="ds:PreviousDocumentSequenceNumericType" minOccurs="1"> + + + Fill in the sequential number of document. + + + - In H7 documentation this is the type code, but here it's - split into two fields, category code and type code. + Possible codes: + - 'X': Summary declaration + - 'Y': Initial declaration + - 'Z': Preceding declaration + + See also https://www.skat.dk/skat.aspx?oId=1658884 under the + "Dok kat"-column. + minOccurs="1"> + + + Use the MRN number of a previous document to refer to the + previous document. + + + + minOccurs="1"> + + + TypeCode should be filled according to type of document, see + https://www.skat.dk/skat.aspx?oId=1658884 under "Dok + art"-column. + + + + minOccurs="1"> + + + Item number pertaining to the previous Customs filing + + +
@@ -1476,7 +1587,7 @@ See details above. - Can be corrected for an amendment. + Can not be corrected for an amendment. Can be corrected for a correction. @@ -1522,8 +1633,7 @@ If .../Importer/ID is not 'DK09999981' this should not be filled. - If .../Importer/ID is 'DK09999981' this field can not be corrected - for an amendment. + Can not be corrected for an amendment. Can be corrected for a correction. @@ -1543,8 +1653,7 @@ See details above. - If ID is 'DK09999981' the remaining .../Importer/* fields can not be - corrected for an amendment. + Can not be corrected for an amendment. Can be corrected for a correction. @@ -1569,8 +1678,7 @@ be filled. - If .../Importer/ID is 'DK09999981' this field can not be - corrected for an amendment. + Can not be corrected for an amendment. Can be corrected for a correction. @@ -1590,8 +1698,7 @@ Fill in 'DK'. - If .../Importer/ID is 'DK09999981' this field can not be - corrected for an amendment. + Can not be corrected for an amendment. Can be corrected for a correction. @@ -1612,8 +1719,7 @@ be filled. - If .../Importer/ID is 'DK09999981' this field can not be - corrected for an amendment. + Can not be corrected for an amendment. Can be corrected for a correction. @@ -1635,8 +1741,7 @@ be filled. - If .../Importer/ID is 'DK09999981' this field can not be - corrected for an amendment. + Can not be corrected for an amendment. Can be corrected for a correction. @@ -1670,7 +1775,7 @@ See details above. - All subfields can be corrected for an amendment + No subfields can be corrected for an amendment All subfields can be corrected for a correction. @@ -1681,20 +1786,50 @@ + + + Fill in the sequential number of document. + + - In H7 documentation this is the type code, but here it's split into two - fields, category code and type code. + Possible codes: + - 'X': Summary declaration + - 'Y': Initial declaration + - 'Z': Preceding declaration + + See also https://www.skat.dk/skat.aspx?oId=1658884 under the "Dok + kat"-column. + + + + + + + Use the MRN number of a previous document to refer to the previous + document. + + + + + + + TypeCode should be filled according to type of document, see + https://www.skat.dk/skat.aspx?oId=1658884 under "Dok art"-column. - - + minOccurs="1"> + + + Item number pertaining to the previous Customs filing + + +
@@ -1710,7 +1845,7 @@ See details above. - Can be corrected for an amendment. + Can not be corrected for an amendment. Can be corrected for a correction. diff --git a/I2/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd b/I2/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd index d4461f0e..59d74279 100644 --- a/I2/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd +++ b/I2/UNECE/ISO_ISO3AlphaCurrencyCode_2012-08-31.xsd @@ -1,7 +1,7 @@ - - - - - - - + + + + + + + diff --git a/Invalidation and Repayment/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd b/Invalidation and Repayment/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd index 1b94b8a7..a461a6ec 100644 --- a/Invalidation and Repayment/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd +++ b/Invalidation and Repayment/UNECE/UNECE_AgencyIdentificationCode_D12B.xsd @@ -1,7 +1,7 @@