< Back
 

# Packages

-  package root
  Definition Classes
    root
-  package wco
  Definition Classes
    root
-  package datamodel
  Definition Classes
    wco
-  package wco
  Definition Classes
    datamodel
-  package dec_dms
  Definition Classes
    wco
-  package _2
  Definition Classes
    dec_dms
- Declaration
- ObjectFactory

p

wco.datamodel.wco.dec_dms

# _2 

#### package _2

### Type Members

1.  class Declaration extends AnyRef

   Java class for Declaration complex type.

   Java class for Declaration complex type.

   The following schema fragment specifies the expected content contained within this class.

       <complexType name="Declaration">
         <complexContent>
           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
             <sequence>
               <element name="AcceptanceDateTime" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarationAcceptanceDateTimeType" minOccurs="0"/>
               <element name="FunctionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarationFunctionCodeType"/>
               <element name="FunctionalReferenceID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarationFunctionalReferenceIDType" minOccurs="0"/>
               <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarationIdentificationIDType" minOccurs="0"/>
               <element name="IssueDateTime" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarationIssueDateTimeType" minOccurs="0"/>
               <element name="IssueLocationID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarationIssueLocationIdentificationIDType" minOccurs="0"/>
               <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarationTypeCodeType" minOccurs="0"/>
               <element name="GoodsItemQuantity" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarationGoodsItemQuantityType" minOccurs="0"/>
               <element name="DeclarationOfficeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarationDeclarationOfficeIDType" minOccurs="0"/>
               <element name="InvoiceAmount" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarationInvoiceAmountType" minOccurs="0"/>
               <element name="LoadingListQuantity" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarationLoadingListQuantityType" minOccurs="0"/>
               <element name="TotalGrossMassMeasure" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarationTotalGrossMassMeasureType" minOccurs="0"/>
               <element name="TotalPackageQuantity" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarationTotalPackageQuantityType" minOccurs="0"/>
               <element name="SpecificCircumstancesCodeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarationSpecificCircumstancesCodeCodeType" minOccurs="0"/>
               <element name="Authentication" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="Authentication" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AuthenticationAuthenticationTextType" minOccurs="0"/>
                         <element name="Authenticator" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AuthenticatorNameTextType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="Submitter" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}SubmitterNameTextType" minOccurs="0"/>
                         <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}SubmitterIdentificationIDType" minOccurs="0"/>
                         <element name="Address" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                   <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                   <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                   <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                   <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                   <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="AdditionalDocument" maxOccurs="unbounded" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="CategoryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalDocumentCategoryCodeType" minOccurs="0"/>
                         <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalDocumentIdentificationIDType" minOccurs="0"/>
                         <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalDocumentTypeCodeType" minOccurs="0"/>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="AdditionalInformation" maxOccurs="unbounded" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="StatementCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalInformationStatementCodeType" minOccurs="0"/>
                         <element name="StatementDescription" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalInformationStatementDescriptionTextType" minOccurs="0"/>
                         <element name="StatementTypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalInformationStatementTypeCodeType" minOccurs="0"/>
                         <element name="Pointer" maxOccurs="unbounded" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="SequenceNumeric" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PointerSequenceNumericType" minOccurs="0"/>
                                   <element name="DocumentSectionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PointerDocumentSectionCodeType" minOccurs="0"/>
                                   <element name="TagID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PointerTagIDType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="Agent" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AgentNameTextType" minOccurs="0"/>
                         <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AgentIdentificationIDType" minOccurs="0"/>
                         <element name="FunctionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AgentFunctionCodeType" minOccurs="0"/>
                         <element name="Address" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                   <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                   <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                   <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                   <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                   <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="Amendment" maxOccurs="unbounded" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="ChangeReasonCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AmendmentChangeReasonCodeType" minOccurs="0"/>
                         <element name="Pointer" maxOccurs="unbounded" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="SequenceNumeric" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PointerSequenceNumericType" minOccurs="0"/>
                                   <element name="DocumentSectionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PointerDocumentSectionCodeType" minOccurs="0"/>
                                   <element name="TagID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PointerTagIDType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="AuthorisationHolder" maxOccurs="unbounded" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AuthorisationHolderIdentificationIDType" minOccurs="0"/>
                         <element name="CategoryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AuthorisationHolderCategoryCodeType" minOccurs="0"/>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="BorderTransportMeans" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}BorderTransportMeansNameTextType" minOccurs="0"/>
                         <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}BorderTransportMeansIdentificationIDType" minOccurs="0"/>
                         <element name="IdentificationTypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}BorderTransportMeansIdentificationTypeCodeType" minOccurs="0"/>
                         <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}BorderTransportMeansTypeCodeType" minOccurs="0"/>
                         <element name="RegistrationNationalityCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}BorderTransportMeansRegistrationNationalityCodeType" minOccurs="0"/>
                         <element name="ModeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}BorderTransportMeansModeCodeType" minOccurs="0"/>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="Consignment" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="Carrier" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CarrierNameTextType" minOccurs="0"/>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CarrierIdentificationIDType" minOccurs="0"/>
                                   <element name="Address" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                             <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                             <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                             <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Communication" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationIdentificationIDType" minOccurs="0"/>
                                             <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationTypeCodeType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="ConsignmentItem" maxOccurs="999" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="SequenceNumeric" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ConsignmentItemSequenceNumericType"/>
                                   <element name="Consignor" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ConsignorNameTextType" minOccurs="0"/>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ConsignorIdentificationIDType" minOccurs="0"/>
                                             <element name="Address" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressTypeCodeType" minOccurs="0"/>
                                                       <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                                       <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                                       <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                                       <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                                       <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                                       <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Freight" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="PaymentMethodCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}FreightPaymentMethodCodeType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Consignor" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ConsignorNameTextType" minOccurs="0"/>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ConsignorIdentificationIDType" minOccurs="0"/>
                                   <element name="Address" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressTypeCodeType" minOccurs="0"/>
                                             <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                             <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                             <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                             <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Freight" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="PaymentMethodCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}FreightPaymentMethodCodeType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Itinerary" maxOccurs="unbounded" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="SequenceNumeric" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ItinerarySequenceNumericType"/>
                                   <element name="RoutingCountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ItineraryRoutingCountryCodeType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="CurrencyExchange" maxOccurs="unbounded" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="CurrencyTypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CurrencyExchangeCurrencyTypeCodeType" minOccurs="0"/>
                         <element name="RateNumeric" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CurrencyExchangeRateNumericType" minOccurs="0"/>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="Declarant" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarantNameTextType" minOccurs="0"/>
                         <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DeclarantIdentificationIDType" minOccurs="0"/>
                         <element name="Address" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                   <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                   <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                   <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                   <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                   <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Contact" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ContactNameTextType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Communication" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationIdentificationIDType" minOccurs="0"/>
                                   <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationTypeCodeType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="ExitOffice" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ExitOfficeIdentificationIDType" minOccurs="0"/>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="Exporter" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ExporterNameTextType" minOccurs="0"/>
                         <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ExporterIdentificationIDType" minOccurs="0"/>
                         <element name="Address" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                   <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                   <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                   <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                   <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                   <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Contact" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ContactNameTextType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Communication" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationIdentificationIDType" minOccurs="0"/>
                                   <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationTypeCodeType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="GoodsShipment" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="ExitDateTime" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GoodsShipmentExitDateTimeType" minOccurs="0"/>
                         <element name="TransactionNatureCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GoodsShipmentTransactionNatureCodeType" minOccurs="0"/>
                         <element name="AEOMutualRecognitionParty" maxOccurs="unbounded" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AEOMutualRecognitionPartyIdentificationIDType" minOccurs="0"/>
                                   <element name="RoleCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AEOMutualRecognitionPartyRoleCodeType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Buyer" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}BuyerNameTextType" minOccurs="0"/>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}BuyerIdentificationIDType" minOccurs="0"/>
                                   <element name="Address" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                             <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                             <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                             <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Contact" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ContactNameTextType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Communication" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationIdentificationIDType" minOccurs="0"/>
                                             <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationTypeCodeType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Consignee" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ConsigneeNameTextType" minOccurs="0"/>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ConsigneeIdentificationIDType" minOccurs="0"/>
                                   <element name="Address" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                             <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                             <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                             <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Consignment" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="ContainerCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ConsignmentContainerCodeType" minOccurs="0"/>
                                   <element name="ArrivalTransportMeans" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ArrivalTransportMeansNameTextType" minOccurs="0"/>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ArrivalTransportMeansIdentificationIDType" minOccurs="0"/>
                                             <element name="IdentificationTypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ArrivalTransportMeansIdentificationTypeCodeType" minOccurs="0"/>
                                             <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ArrivalTransportMeansTypeCodeType" minOccurs="0"/>
                                             <element name="ModeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ArrivalTransportMeansModeCodeType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="DepartureTransportMeans" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DepartureTransportMeansNameTextType" minOccurs="0"/>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DepartureTransportMeansIdentificationIDType" minOccurs="0"/>
                                             <element name="IdentificationTypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DepartureTransportMeansIdentificationTypeCodeType" minOccurs="0"/>
                                             <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DepartureTransportMeansTypeCodeType" minOccurs="0"/>
                                             <element name="ModeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DepartureTransportMeansModeCodeType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="GoodsLocation" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GoodsLocationNameTextType" minOccurs="0"/>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GoodsLocationIdentificationIDType" minOccurs="0"/>
                                             <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GoodsLocationTypeCodeType" minOccurs="0"/>
                                             <element name="Address" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressTypeCodeType" minOccurs="0"/>
                                                       <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                                       <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                                       <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                                       <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="LoadingLocation" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}LoadingLocationNameTextType" minOccurs="0"/>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}LoadingLocationIdentificationIDType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="TransportEquipment" maxOccurs="unbounded" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="SequenceNumeric" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}TransportEquipmentSequenceNumericType"/>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}TransportEquipmentIdentificationIDType" minOccurs="0"/>
                                             <element name="Seal" maxOccurs="unbounded" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="SequenceNumeric" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}SealSequenceNumericType"/>
                                                       <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}SealIdentificationIDType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Consignor" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ConsignorNameTextType" minOccurs="0"/>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ConsignorIdentificationIDType" minOccurs="0"/>
                                   <element name="Address" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                             <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                             <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                             <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="CustomsValuation" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="FreightChargeAmount" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CustomsValuationFreightChargeAmountType" minOccurs="0"/>
                                   <element name="ChargeDeduction" maxOccurs="unbounded" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="ChargesTypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ChargeDeductionChargesTypeCodeType" minOccurs="0"/>
                                             <element name="OtherChargeDeductionAmount" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ChargeDeductionOtherChargeDeductionAmountType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Destination" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DestinationCountryCodeType" minOccurs="0"/>
                                   <element name="RegionID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DestinationRegionIDType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="DomesticDutyTaxParty" maxOccurs="unbounded" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DomesticDutyTaxPartyIdentificationIDType" minOccurs="0"/>
                                   <element name="RoleCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DomesticDutyTaxPartyRoleCodeType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="ExportCountry" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ExportCountryCountryCodeType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="GovernmentAgencyGoodsItem" maxOccurs="999" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="CustomsValueAmount" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GovernmentAgencyGoodsItemCustomsValueAmountType" minOccurs="0"/>
                                   <element name="SequenceNumeric" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GovernmentAgencyGoodsItemSequenceNumericType"/>
                                   <element name="StatisticalValueAmount" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GovernmentAgencyGoodsItemStatisticalValueAmountType" minOccurs="0"/>
                                   <element name="TransactionNatureCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GovernmentAgencyGoodsItemTransactionNatureCodeType" minOccurs="0"/>
                                   <element name="AdditionalDocument" maxOccurs="unbounded" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="CategoryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalDocumentCategoryCodeType" minOccurs="0"/>
                                             <element name="EffectiveDateTime" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalDocumentEffectiveDateTimeType" minOccurs="0"/>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalDocumentIdentificationIDType" minOccurs="0"/>
                                             <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalDocumentNameTextType" minOccurs="0"/>
                                             <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalDocumentTypeCodeType" minOccurs="0"/>
                                             <element name="LPCOExemptionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalDocumentLPCOExemptionCodeType" minOccurs="0"/>
                                             <element name="Submitter" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}SubmitterNameTextType" minOccurs="0"/>
                                                       <element name="RoleCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}SubmitterRoleCodeType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                             <element name="WriteOff" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="QuantityQuantity" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}WriteOffQuantityQuantityType" minOccurs="0"/>
                                                       <element name="AmountAmount" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}WriteOffAmountAmountType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="AdditionalInformation" maxOccurs="unbounded" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="StatementCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalInformationStatementCodeType" minOccurs="0"/>
                                             <element name="StatementDescription" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalInformationStatementDescriptionTextType" minOccurs="0"/>
                                             <element name="StatementTypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AdditionalInformationStatementTypeCodeType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="AEOMutualRecognitionParty" maxOccurs="unbounded" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AEOMutualRecognitionPartyIdentificationIDType" minOccurs="0"/>
                                             <element name="RoleCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AEOMutualRecognitionPartyRoleCodeType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Buyer" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}BuyerNameTextType" minOccurs="0"/>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}BuyerIdentificationIDType" minOccurs="0"/>
                                             <element name="Address" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                                       <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                                       <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                                       <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                                       <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                                       <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                             <element name="Contact" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ContactNameTextType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                             <element name="Communication" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationIdentificationIDType" minOccurs="0"/>
                                                       <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationTypeCodeType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Commodity" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="Description" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommodityDescriptionTextType" minOccurs="0"/>
                                             <element name="Classification" maxOccurs="unbounded" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ClassificationIdentificationIDType" minOccurs="0"/>
                                                       <element name="IdentificationTypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ClassificationIdentificationTypeCodeType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                             <element name="DangerousGoods" maxOccurs="unbounded" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="UNDGID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DangerousGoodsUNDGIDType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                             <element name="DutyTaxFee" maxOccurs="unbounded" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="AdValoremTaxBaseAmount" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DutyTaxFeeAdValoremTaxBaseAmountType" minOccurs="0"/>
                                                       <element name="DeductAmount" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DutyTaxFeeDeductAmountType" minOccurs="0"/>
                                                       <element name="DutyRegimeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DutyTaxFeeDutyRegimeCodeType" minOccurs="0"/>
                                                       <element name="SpecificTaxBaseQuantity" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DutyTaxFeeSpecificTaxBaseQuantityType" minOccurs="0"/>
                                                       <element name="TaxRateNumeric" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DutyTaxFeeTaxRateNumericType" minOccurs="0"/>
                                                       <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DutyTaxFeeTypeCodeType" minOccurs="0"/>
                                                       <element name="QuotaOrderID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DutyTaxFeeQuotaOrderIDType" minOccurs="0"/>
                                                       <element name="Payment" minOccurs="0">
                                                         <complexType>
                                                           <complexContent>
                                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                               <sequence>
                                                                 <element name="MethodCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PaymentMethodCodeType" minOccurs="0"/>
                                                                 <element name="TaxAssessedAmount" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PaymentTaxAssessedAmountType" minOccurs="0"/>
                                                                 <element name="PaymentAmount" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PaymentPaymentAmountType" minOccurs="0"/>
                                                               </sequence>
                                                             </restriction>
                                                           </complexContent>
                                                         </complexType>
                                                       </element>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                             <element name="GoodsMeasure" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="GrossMassMeasure" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GoodsMeasureGrossMassMeasureType" minOccurs="0"/>
                                                       <element name="NetNetWeightMeasure" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GoodsMeasureNetNetWeightMeasureType" minOccurs="0"/>
                                                       <element name="TariffQuantity" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GoodsMeasureTariffQuantityType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                             <element name="InvoiceLine" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="ItemChargeAmount" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}InvoiceLineItemChargeAmountType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                             <element name="TransportEquipment" maxOccurs="unbounded" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="SequenceNumeric" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}TransportEquipmentSequenceNumericType"/>
                                                       <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}TransportEquipmentIdentificationIDType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Consignee" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ConsigneeNameTextType" minOccurs="0"/>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ConsigneeIdentificationIDType" minOccurs="0"/>
                                             <element name="Address" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                                       <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                                       <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                                       <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                                       <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                                       <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Consignor" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ConsignorNameTextType" minOccurs="0"/>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ConsignorIdentificationIDType" minOccurs="0"/>
                                             <element name="Address" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                                       <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                                       <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                                       <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                                       <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                                       <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="CustomsValuation" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="MethodCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CustomsValuationMethodCodeType" minOccurs="0"/>
                                             <element name="ChargeDeduction" maxOccurs="unbounded" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="ChargesTypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ChargeDeductionChargesTypeCodeType" minOccurs="0"/>
                                                       <element name="OtherChargeDeductionAmount" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ChargeDeductionOtherChargeDeductionAmountType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Destination" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DestinationCountryCodeType" minOccurs="0"/>
                                             <element name="RegionID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DestinationRegionIDType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="DomesticDutyTaxParty" maxOccurs="unbounded" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DomesticDutyTaxPartyIdentificationIDType" minOccurs="0"/>
                                             <element name="RoleCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}DomesticDutyTaxPartyRoleCodeType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="ExportCountry" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ExportCountryCountryCodeType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="GovernmentProcedure" maxOccurs="unbounded" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="CurrentCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GovernmentProcedureCurrentCodeType" minOccurs="0"/>
                                             <element name="PreviousCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GovernmentProcedurePreviousCodeType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Origin" maxOccurs="unbounded" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}OriginCountryCodeType" minOccurs="0"/>
                                             <element name="RegionID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}OriginRegionIDType" minOccurs="0"/>
                                             <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}OriginTypeCodeType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Packaging" maxOccurs="unbounded" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="SequenceNumeric" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PackagingSequenceNumericType"/>
                                             <element name="MarksNumbersID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PackagingMarksNumbersIDType" minOccurs="0"/>
                                             <element name="QuantityQuantity" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PackagingQuantityQuantityType" minOccurs="0"/>
                                             <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PackagingTypeCodeType" minOccurs="0"/>
                                             <element name="PackingMaterialDescription" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PackagingPackingMaterialDescriptionTextType" minOccurs="0"/>
                                             <element name="LengthMeasure" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PackagingLengthMeasureType" minOccurs="0"/>
                                             <element name="WidthMeasure" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PackagingWidthMeasureType" minOccurs="0"/>
                                             <element name="HeightMeasure" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PackagingHeightMeasureType" minOccurs="0"/>
                                             <element name="VolumeMeasure" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PackagingVolumeMeasureType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="PreviousDocument" maxOccurs="unbounded" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="CategoryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PreviousDocumentCategoryCodeType" minOccurs="0"/>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PreviousDocumentIdentificationIDType" minOccurs="0"/>
                                             <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PreviousDocumentTypeCodeType" minOccurs="0"/>
                                             <element name="LineNumeric" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PreviousDocumentLineNumericType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Seller" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}SellerNameTextType" minOccurs="0"/>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}SellerIdentificationIDType" minOccurs="0"/>
                                             <element name="Address" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                                       <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                                       <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                                       <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                                       <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                                       <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                             <element name="Contact" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ContactNameTextType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                             <element name="Communication" minOccurs="0">
                                               <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                     <sequence>
                                                       <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationIdentificationIDType" minOccurs="0"/>
                                                       <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationTypeCodeType" minOccurs="0"/>
                                                     </sequence>
                                                   </restriction>
                                                 </complexContent>
                                               </complexType>
                                             </element>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="UCR" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}UCRIdentificationIDType" minOccurs="0"/>
                                             <element name="TraderAssignedReferenceID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}UCRTraderAssignedReferenceIDType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="ValuationAdjustment" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="AdditionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ValuationAdjustmentAdditionCodeType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Importer" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ImporterNameTextType" minOccurs="0"/>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ImporterIdentificationIDType" minOccurs="0"/>
                                   <element name="Address" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                             <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                             <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                             <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Contact" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ContactNameTextType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Communication" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationIdentificationIDType" minOccurs="0"/>
                                             <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationTypeCodeType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Invoice" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}InvoiceIdentificationIDType" minOccurs="0"/>
                                   <element name="IssueDateTime" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}InvoiceIssueDateTimeType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Payer" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PayerNameTextType" minOccurs="0"/>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PayerIdentificationIDType" minOccurs="0"/>
                                   <element name="Address" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                             <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                             <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                             <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="PreviousDocument" maxOccurs="unbounded" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="CategoryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PreviousDocumentCategoryCodeType" minOccurs="0"/>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PreviousDocumentIdentificationIDType" minOccurs="0"/>
                                   <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PreviousDocumentTypeCodeType" minOccurs="0"/>
                                   <element name="LineNumeric" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PreviousDocumentLineNumericType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Seller" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}SellerNameTextType" minOccurs="0"/>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}SellerIdentificationIDType" minOccurs="0"/>
                                   <element name="Address" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                             <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                             <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                             <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Contact" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ContactNameTextType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                   <element name="Communication" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationIdentificationIDType" minOccurs="0"/>
                                             <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}CommunicationTypeCodeType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Surety" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="Name" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}SuretyNameTextType" minOccurs="0"/>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}SuretyIdentificationIDType" minOccurs="0"/>
                                   <element name="Address" minOccurs="0">
                                     <complexType>
                                       <complexContent>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                           <sequence>
                                             <element name="CityName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCityNameTextType" minOccurs="0"/>
                                             <element name="CountryCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountryCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionCodeType" minOccurs="0"/>
                                             <element name="CountrySubDivisionName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressCountrySubDivisionNameTextType" minOccurs="0"/>
                                             <element name="Line" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressLineTextType" minOccurs="0"/>
                                             <element name="PostcodeID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}AddressPostcodeIDType" minOccurs="0"/>
                                           </sequence>
                                         </restriction>
                                       </complexContent>
                                     </complexType>
                                   </element>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="TradeTerms" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="ConditionCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}TradeTermsConditionCodeType" minOccurs="0"/>
                                   <element name="CountryRelationshipCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}TradeTermsCountryRelationshipCodeType" minOccurs="0"/>
                                   <element name="Description" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}TradeTermsDescriptionTextType" minOccurs="0"/>
                                   <element name="LocationID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}TradeTermsLocationIDType" minOccurs="0"/>
                                   <element name="LocationName" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}TradeTermsLocationNameTextType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="UCR" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}UCRIdentificationIDType" minOccurs="0"/>
                                   <element name="TraderAssignedReferenceID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}UCRTraderAssignedReferenceIDType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                         <element name="Warehouse" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}WarehouseIdentificationIDType" minOccurs="0"/>
                                   <element name="TypeCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}WarehouseTypeCodeType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="ObligationGuarantee" maxOccurs="unbounded" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="AmountAmount" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ObligationGuaranteeAmountAmountType" minOccurs="0"/>
                         <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ObligationGuaranteeIdentificationIDType" minOccurs="0"/>
                         <element name="ReferenceID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ObligationGuaranteeReferenceIDType" minOccurs="0"/>
                         <element name="SecurityDetailsCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ObligationGuaranteeSecurityDetailsCodeType" minOccurs="0"/>
                         <element name="AccessCode" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}ObligationGuaranteeAccessCodeType" minOccurs="0"/>
                         <element name="GuaranteeOffice" minOccurs="0">
                           <complexType>
                             <complexContent>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}GuaranteeOfficeIdentificationIDType" minOccurs="0"/>
                                 </sequence>
                               </restriction>
                             </complexContent>
                           </complexType>
                         </element>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="PresentationOffice" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}PresentationOfficeIdentificationIDType" minOccurs="0"/>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="SupervisingOffice" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <sequence>
                         <element name="ID" type="{urn:wco:datamodel:WCO:Declaration_DS:DMS:2}SupervisingOfficeIdentificationIDType" minOccurs="0"/>
                       </sequence>
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
             </sequence>
           </restriction>
         </complexContent>
       </complexType>

2.  class ObjectFactory extends AnyRef

   This object contains factory methods for each Java content interface and Java element interface generated in the wco.datamodel.wco.dec_dms._2 package.

   This object contains factory methods for each Java content interface and Java element interface generated in the wco.datamodel.wco.dec_dms._2 package.

   An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.

### Ungrouped