Here are the elements:
Data Element Rules for Import Declaration
ID | Class/Attribute | Format | Code List | Definition | Format | Example | XML Tag Name | Class Attribute |
---|---|---|---|---|---|---|---|---|
42A | DIP UPU | 0001D | ||||||
23 | Document acceptance date | an..35 | The date when the item was posted or intended posting date, expressed in format yyyymmdd | n8 | 20160904 | AcceptanceDateTime | 0001D | |
17 | Message function, coded | n..2 | EDIFACT codes (1225) | Treatment applied by Customs to the goods which are subject to customs control, expressed as a coded value from UPU code list 183 | an..17 | FunctionCode | 0001D | |
D026 | Functional reference number | an..70 | Normally the S10 identifier of the item.See M85Same as customs-ref (see above), for a postal reference | an..35an..80 | CP001020301BR | FunctionalReferenceID | 0001D | |
D014 | Document reference number | an..70 | Reference of the document | an..80 | ABC12345 | ID | 0001D | |
D013 | Document name, coded | an..3 | EDIFACT codes (1001) or User codes | Value from code list 185, required only when the identifier is not an S10 identifier, not applicable otherwise.See M85Code identifying the type of document.List of possible codes to be defined bilaterallySame as customs-ref (see above), for a postal reference | an..3a1a1 | DEAA | TypeCode | 0001D |
109 | Total invoice amount | n..16,3 | Currency of the total declared value, provided together with the total declared value amountMonetary value, declared for customs purposes, of the item:it is normally the sum of the declared values for each content piece. NOTE Expressed in accordance with ISO 4217 rules. NOTE Information in CUSITM reflects information in the paper CN 23 form. It may happen that the total declared value does not correspond to the sum of content-piece values in the paper form, typically if the paper CN 23 form was completed manually (wrong calculation or no information entered at content-piece level) | an..3n..7 | USD24.00 | InvoiceAmount | 0001D | |
131 | Total gross weight | n..16,6 | Weight of the item in kg, as declared by the mailer.If not provided, then the item.measured-gross-weight is requiredMeasured weight of the item in kg.If not provided, then the item.declared-gross-weight is required | n..3.n..3n..3.n..3 | 3.45612.3 | TotalGrossMassMeasure | 0001D | |
02A | DIP UPU/AdditionalDocument | 0002D | ||||||
D005 | Additional document reference number | an..70 | Reference / number of a document which accompanies, or is associated with the item, expressed as a free text value | an..35 | ID | 0002D | ||
D028 | Additional document name | an..35 | Type or nature of a document which accompanies, or is associated with the item, expressed as a free tekst value | an..35 | Proforma invoice | Name | 0002D | |
D006 | Additional document type, coded | an..3 | EDIFACT codes (1001) or User codes | Type or nature of a document which accompanies, or is associated with the item, expressed as a UPU code list 184 value | an..3 | 39 (passport) | TypeCode | 0002D |
03A | DIP UPU/AdditionalInformation | 0030D | ||||||
105 | Free text | an..512 | Ancillary information related to customs processing of the item, expressed as a free text value | an..512 | Content | 0030D | ||
40A | DIP UPU/CurrencyExchange | 0844D | ||||||
135 | Currency, coded | a3 | EDIFACT codes (6345) = ISO 4217 3-alpha code | CurrencyTypeCode | 0844D | |||
67A | DIP UPU/GoodsShipment | 0968D | ||||||
103 | Nature of transaction, coded | n..2 | WCO code (n1) + User code (n1) | Indication for customs of the type of contract under which the item is mailed, expressed as a UPU code list 136 valueIndication for Customs of the type of contract under which the item is mailed, expressed as a free text description which complements item.nature-of-transaction-code | n3an..512 | 31 (Gift) | TransactionNatureCode | 0968D |
03A | DIP UPU/GoodsShipment/AdditionalInformation | 0996D | ||||||
226 | Additional statement code | an..17 | User codes | Mail class of the item, expressed as a UPU code list 116 (mail class code) value. NOTE The mail class defines the basic mail type; the postal process depends heavily on thisSpecification of the handling class of the item, expressed as a UPU code list 107 (handling class code) value . NOTE The handling class indicates if a postal item is normal (N), insured (V) or registered (R)Indication whether the item is express. Contains value “1” when express, value “0” or no value otherwise.Only relevant for lettersIndication of whether the item is subject to customs dues, expressed as a UPU code list 132 (item dutiable indicator codes) value. EXAMPLE D, Dutiable; N, Non-dutiable (default value if not specified) | a1a1n1a1 | UR1D | StatementCode | 0996D |
369 | Additional statement type | an..3 | EDIFACT codes (4451) | Mail class of the item, expressed as a UPU code list 116 (mail class code) value. NOTE The mail class defines the basic mail type; the postal process depends heavily on thisSpecification of the handling class of the item, expressed as a UPU code list 107 (handling class code) value . NOTE The handling class indicates if a postal item is normal (N), insured (V) or registered (R)Indication whether the item is express. Contains value “1” when express, value “0” or no value otherwise.Only relevant for lettersIndication of whether the item is subject to customs dues, expressed as a UPU code list 132 (item dutiable indicator codes) value. EXAMPLE D, Dutiable; N, Non-dutiable (default value if not specified) | a1a1n1a1 | UR1D | StatementTypeCode | 0996D |
27A | DIP UPU/GoodsShipment/Consignee | 1007D | ||||||
R014 | Consignee name | an..70 | Full name of the addressee | an..50 | Anne Dupont | Name | 1007D | |
R015 | Consignee, coded | an..35 | International codes (e.g. DUNS, EAN) or user codes | Importer’s reference, if any, as displayed in the CN 23 form: tax code, VAT No, importer code | an..50 | 1234567890 | ID | 1007D |
04A | DIP UPU/GoodsShipment/Consignee/Address | 1009D | ||||||
241 | City name | an..35 | See sender equivalent element | an..50 | City | 1009D | ||
242 | Country, coded | a2 | EDIFACT codes (3207) = ISO 3166-1 2-alpha code | See sender equivalent element | a2 | CountryCode | 1009D | |
243 | Country sub-entity name | an..35 | See sender equivalent element | an..50 | CountrySubDivisionName | 1009D | ||
239 | Street and number/P.O. Box | an..256 | See sender equivalent elementSee sender equivalent element | an..50an..50 | Line | 1009D | ||
245 | Postcode identification | an..17 | User codes | See sender equivalent element | an..17 | PostcodeID | 1009D | |
34A | DIP UPU/GoodsShipment/Consignee/Contact | 1011D | ||||||
25A | DIP UPU/GoodsShipment/Consignee/Contact/Communication | 1012D | ||||||
240 | Communication number | an..50 | See sender equivalent elementSee sender equivalent elementSee sender equivalent element | an..26an..26an..512 | ID | 1012D | ||
253 | Communication number type | an..3 | EDIFACT codes (3155) | See sender equivalent elementSee sender equivalent elementSee sender equivalent element | an..26an..26an..512 | TypeCode | 1012D | |
28A | DIP UPU/GoodsShipment/Consignment | 1013D | ||||||
10A | DIP UPU/GoodsShipment/Consignment/ArrivalTransportMeans | 1016D | ||||||
T008 | Type of means of transport at arrival, coded | an..4 | EDIFACT codes (8179) / UN/Recommendation 28 | Mode of transport of arrival. Values from UPU code list 126 | a1 | 4 | TypeCode | 1016D |
15A | DIP UPU/GoodsShipment/Consignment/BorderTransportMeans | 1017D | ||||||
172 | Date and time of arrival at first port of arrival in Customs territory | an..35 | Date of arrival, in format yyyymmdd | n8 | 20160525 | ArrivalDateTime | 1017D | |
30A | DIP UPU/GoodsShipment/Consignor | 1131D | ||||||
R020 | Consignor - name | an..70 | Full name of the sender.See 6.4.2 | an..50 | John Smith | Name | 1131D | |
R021 | Consignor, coded | an..35 | International codes (e.g. DUNS, EAN) or user codes | Sender’s customs reference, if any, as displayed on the CN 23 form | an..50 | 1234567890 | ID | 1131D |
04A | DIP UPU/GoodsShipment/Consignor/Address | 1133D | ||||||
241 | City name | an..35 | Free text specification of the geographical area | an..50 | Berne | City | 1133D | |
242 | Country, coded | a2 | EDIFACT codes (3207) = ISO 3166-1 2-alpha code | ISO 3166–1 two character country code | a2 | CH | CountryCode | 1133D |
243 | Country sub-entity name | an..35 | Free text specification of the country subdivision, such as state, province or similar subdivision | an..50 | CountrySubDivisionName | 1133D | ||
239 | Street and number/P.O. Box | an..256 | Up to 4 lines of free text additional data that participates in identifying the party and that is not part of the address.This is typically a department in a company, office number, etc.See clause 6.4.2Specification of the address, other than the party identification and the locality, with up to 4 lines.This is usually the street, or more generally, the premises | an..50an..50 | Office 407Weltpoststr 4 | Line | 1133D | |
245 | Postcode identification | an..17 | User codes | Valid postcode designating the location concerned. Required if there is a postal code system in the country concerned. This code is not prefixed with the ISO 3166–1 two character country code | an..17 | 3015 | PostcodeID | 1133D |
34A | DIP UPU/GoodsShipment/Consignor/Contact | 1135D | ||||||
25A | DIP UPU/GoodsShipment/Consignor/Contact/Communication | 1136D | ||||||
240 | Communication number | an..50 | Telephone number of the contact, preferably prefixed with ‘+’ and the international dialling code; the national part shall include any domestic long-distance prefixFax number of the contact, expressed with the same rules as contact.telephoneEmail address of the contact; this definition does not cover mailing lists gathering several email addresses in a single string | an..26an..26an..512 | +413503540+413503110test@upu.int | ID | 1136D | |
253 | Communication number type | an..3 | EDIFACT codes (3155) | Telephone number of the contact, preferably prefixed with ‘+’ and the international dialling code; the national part shall include any domestic long-distance prefixFax number of the contact, expressed with the same rules as contact.telephoneEmail address of the contact; this definition does not cover mailing lists gathering several email addresses in a single string | an..26an..26an..512 | +413503540+413503110test@upu.int | TypeCode | 1136D |
41A | DIP UPU/GoodsShipment/CustomsValuation | 1145D | ||||||
121 | Charges | n..16,3 | Currency of postage paid, provided together with the postage paid amount. NOTE Expressed in accordance with ISO 4217 rulesAmount of postage paid by or charged to the mailer. When provided, the postage paid currency is also provided. NOTE Expressed in accordance with ISO 4217 rules | an..3n..7 | SDR12 | ExitToEntryChargeAmount | 1145D | |
117 | Freight costs | n..16,3 | Currency of additional fees, provided together with the additional fees amount. NOTE Expressed in accordance with ISO 4217 rules.Amount of any fees, paid by or charged to the mailer in addition to item.postage-paid. NOTE Expressed in accordance with ISO 4217 rules | an..3n..7 | CHF8.15 | FreightChargeAmount | 1145D | |
480 | Insurance amount | n..16,3 | Currency of the insured value, provided together with the insured amount. NOTE Expressed in accordance with ISO 4217 rules.Amount of the insured value. When provided, the insured value currency is also provided. NOTE Expressed in accordance with ISO 4217 rules | an..3n..7 | SDR50.23 | InsuranceAmount | 1145D | |
99B | DIP UPU/GoodsShipment/Destination | 1155D | ||||||
465 | Country of destination, coded | a2 | EDIFACT codes (3207) = ISO 3166-1 2-alpha code | ISO 3166 country code of the destination country.Relevant only for outbound or transit items | a2 | NO | CountryCode | 1155D |
95B | DIP UPU/GoodsShipment/ExportCountry | 1172D | ||||||
62 | Country of exportation, coded | a2 | EDIFACT codes (3207) = ISO 3166-1 2-alpha code | ISO 3166 country code of the origin country of the item: the country in which the item was posted | a2 | BR | CountryCode | 1172D |
68A | DIP UPU/GoodsShipment/GovernmentAgencyGoodsItem | 1181D | ||||||
108 | Customs value | n..16,3 | Currency of the declared value, provided together with the declared value amountMonetary value, declared for customs purposes, of the content piece. NOTE Expressed in accordance with ISO 4217 rules. NOTE Where a content-piece comprises multiple identical units (e.g. 6 dinner plates), the value given shall correspond with the total value of the content piece, not to a single unit | an..3n..7 | USD5.20 | CustomsValueAmount | 1181D | |
6 | Sequence number | n..5 | Sequence number of the content piece within the set of content pieces associated with the item. NOTE Values assigned to the content-pieces for an item should be consecutive integer values, starting with 1 | n4 | 1 | SequenceNumeric | 1181D | |
23A | DIP UPU/GoodsShipment/GovernmentAgencyGoodsItem/Commodity | 1221D | ||||||
137 | Description of goods | an..512 | Plain language description of the nature of the content piece, sufficient to identify it at the level required for banking, customs, statistical or transport purposes, avoiding unnecessary detail | an..256 | Swiss chocolates | Description | 1221D | |
21A | DIP UPU/GoodsShipment/GovernmentAgencyGoodsItem/Commodity/Classification | 1266D | ||||||
145 | Commodity Classification | an..18 | A 6-digit code number of the content-piece in accordance with the internationally standardised HS tariff nomenclature system of classification. Codes shorter than 6 digits are not allowed. Longer codes (8 or 10 digits, but not 7 or 9) may be used to provide more information based on the destination classification. Alphabetic prefixes are not supported | n..10 | 999999 | ID | 1266D | |
337 | Commodity Classification Type | an..3 | EDIFACT codes (7143) | A 6-digit code number of the content-piece in accordance with the internationally standardised HS tariff nomenclature system of classification. Codes shorter than 6 digits are not allowed. Longer codes (8 or 10 digits, but not 7 or 9) may be used to provide more information based on the destination classification. Alphabetic prefixes are not supported | n..10 | 999999 | IdentificationTypeCode | 1266D |
12C | DIP UPU/GoodsShipment/GovernmentAgencyGoodsItem/Commodity/DangerousGoods | 1278D | ||||||
506 | United Nations Dangerous Goods Identifier (UNDG) | n..4 | Indication of whether the item is or has content that is classed as dangerous and, if so, the nature of the danger expressed as the UN number for the dangerous good concerned, taken from the Dangerous Goods List in Part 3 of the United Nations Recommendations on the Transport of Dangerous Goods | n4 | UNDGID | 1278D | ||
507 | Hazard class identifier | an..7 | Indication of whether the item is or has content that is classed as dangerous and, if so, the nature of the danger expressed as the ICAO Hazard Class for the dangerous good concerned, taken from the IATA Dangerous Goods Regulations | an..7 | HazardClassID | 1278D | ||
50A | DIP UPU/GoodsShipment/GovernmentAgencyGoodsItem/Commodity/DutyTaxFee | 1292D | ||||||
164 | Type of duty regime, coded | an..3 | EDIFACT codes (9213) or user codes | Description or coded value bilaterally agreed corresponding to a duty arrangement, such as free of tax, to be paid at delivery, etc. | an..80 | DutyRegimeCode | 1292D | |
94A | DIP UPU/GoodsShipment/GovernmentAgencyGoodsItem/Commodity/DutyTaxFee/Payment | 1293D | ||||||
120 | Duty/tax/fee assessed | n..16,3 | Amount of duties: currencyAmount of duties: amount | an3an..7 | USD12.50 | TaxAssessedAmount | 1293D | |
65A | DIP UPU/GoodsShipment/GovernmentAgencyGoodsItem/GoodsMeasure | 1461D | ||||||
128 | Net net weight | n..16,6 | Net weight of the content piece, expressed in kilograms with an accuracy of up to 3 decimal digits. NOTE Where a content-piece comprises multiple identical units (e.g. 6 dinner plates), the value given for net weight corresponds with the total net weight of the content piece, not to a single unit. | n..3.n..3 | 0.54 | NetNetWeightMeasure | 1461D | |
92A | DIP UPU/GoodsShipment/GovernmentAgencyGoodsItem/Origin | 1481D | ||||||
63 | Country of origin, coded | a2 | EDIFACT codes (3207) = ISO 3166-1 2-alpha code | SO 3166–1 country code of the location in which the content piece was produced or manufactured, according to criteria laid down for the purposes of application of the Customs tariff, of quantitative restrictions, or of any other measure related to trade | a2 | CH | CountryCode | 1481D |
93A | DIP UPU/GoodsShipment/GovernmentAgencyGoodsItem/Packaging | 1482D | ||||||
142 | Shipping marks | an..512 | UN/ECE Recommendation 15 | Domestic identifier assigned to the item, if any. NOTE The purpose of providing this information would typically be to make sure Customs can match an item scanned with the message information, whether the barcode scanned is the international ID or the domestic ID | an..35 | AAA123123BBB34 | MarksNumbersID | 1482D |
144 | Number of packages | n..8 | Number of separate units, having the same content-piece.description, which make up the content-piece and which are included within the content-piece.net-weight and content-piece.declared-value.amount | n..6 | 1 | QuantityQuantity | 1482D | |
70A | DIP UPU/GovernmentProcedure | 1639D | ||||||
166 | Government procedure, coded | an..7 | EDIFACT codes (7365)For Customs: User codes, categorized based on the revised Kyoto Convention | Indicates whether the message contains information on inbound, outbound or transit mail items. Possible values are limited to the following: – I: import (inbound) – E: export (outbound) – T: transit The structure implies that a message cannot mix mail flows: it will only report import items, or only export items, or only transit items | a1 | I | CurrentCode | 1639D |