class Declaration extends AnyRef
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>
- Annotations
- @XmlAccessorType() @XmlType()
- Alphabetic
- By Inheritance
- Declaration
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Declaration()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getAcceptanceDateTime(): DeclarationAcceptanceDateTimeType
Gets the value of the acceptanceDateTime property.
Gets the value of the acceptanceDateTime property.
- returns
possible object is
- def getAdditionalDocument(): List[AdditionalDocument]
Gets the value of the additionalDocument property.
Gets the value of the additionalDocument property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the additionalDocument property.
For example, to add a new item, do as follows:
getAdditionalDocument().add(newItem);
Objects of the following type(s) are allowed in the list
- def getAdditionalInformation(): List[AdditionalInformation]
Gets the value of the additionalInformation property.
Gets the value of the additionalInformation property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the additionalInformation property.
For example, to add a new item, do as follows:
getAdditionalInformation().add(newItem);
Objects of the following type(s) are allowed in the list
- def getAgent(): Agent
Gets the value of the agent property.
Gets the value of the agent property.
- returns
possible object is
- def getAmendment(): List[Amendment]
Gets the value of the amendment property.
Gets the value of the amendment property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the amendment property.
For example, to add a new item, do as follows:
getAmendment().add(newItem);
Objects of the following type(s) are allowed in the list
- def getAuthentication(): Authentication
Gets the value of the authentication property.
Gets the value of the authentication property.
- returns
possible object is
- def getAuthorisationHolder(): List[AuthorisationHolder]
Gets the value of the authorisationHolder property.
Gets the value of the authorisationHolder property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the authorisationHolder property.
For example, to add a new item, do as follows:
getAuthorisationHolder().add(newItem);
Objects of the following type(s) are allowed in the list
- def getBorderTransportMeans(): BorderTransportMeans
Gets the value of the borderTransportMeans property.
Gets the value of the borderTransportMeans property.
- returns
possible object is
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getConsignment(): Consignment
Gets the value of the consignment property.
Gets the value of the consignment property.
- returns
possible object is
- def getCurrencyExchange(): List[CurrencyExchange]
Gets the value of the currencyExchange property.
Gets the value of the currencyExchange property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the currencyExchange property.
For example, to add a new item, do as follows:
getCurrencyExchange().add(newItem);
Objects of the following type(s) are allowed in the list
- def getDeclarant(): Declarant
Gets the value of the declarant property.
Gets the value of the declarant property.
- returns
possible object is
- def getDeclarationOfficeID(): DeclarationDeclarationOfficeIDType
Gets the value of the declarationOfficeID property.
Gets the value of the declarationOfficeID property.
- returns
possible object is
- def getExitOffice(): ExitOffice
Gets the value of the exitOffice property.
Gets the value of the exitOffice property.
- returns
possible object is
- def getExporter(): Exporter
Gets the value of the exporter property.
Gets the value of the exporter property.
- returns
possible object is
- def getFunctionCode(): DeclarationFunctionCodeType
Gets the value of the functionCode property.
Gets the value of the functionCode property.
- returns
possible object is
- def getFunctionalReferenceID(): DeclarationFunctionalReferenceIDType
Gets the value of the functionalReferenceID property.
Gets the value of the functionalReferenceID property.
- returns
possible object is
- def getGoodsItemQuantity(): DeclarationGoodsItemQuantityType
Gets the value of the goodsItemQuantity property.
Gets the value of the goodsItemQuantity property.
- returns
possible object is
- def getGoodsShipment(): GoodsShipment
Gets the value of the goodsShipment property.
Gets the value of the goodsShipment property.
- returns
possible object is
- def getID(): DeclarationIdentificationIDType
Gets the value of the id property.
Gets the value of the id property.
- returns
possible object is
- def getInvoiceAmount(): DeclarationInvoiceAmountType
Gets the value of the invoiceAmount property.
Gets the value of the invoiceAmount property.
- returns
possible object is
- def getIssueDateTime(): DeclarationIssueDateTimeType
Gets the value of the issueDateTime property.
Gets the value of the issueDateTime property.
- returns
possible object is
- def getIssueLocationID(): DeclarationIssueLocationIdentificationIDType
Gets the value of the issueLocationID property.
Gets the value of the issueLocationID property.
- returns
possible object is
- def getLoadingListQuantity(): DeclarationLoadingListQuantityType
Gets the value of the loadingListQuantity property.
Gets the value of the loadingListQuantity property.
- returns
possible object is
- def getObligationGuarantee(): List[ObligationGuarantee]
Gets the value of the obligationGuarantee property.
Gets the value of the obligationGuarantee property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the obligationGuarantee property.
For example, to add a new item, do as follows:
getObligationGuarantee().add(newItem);
Objects of the following type(s) are allowed in the list
- def getPresentationOffice(): PresentationOffice
Gets the value of the presentationOffice property.
Gets the value of the presentationOffice property.
- returns
possible object is
- def getSpecificCircumstancesCodeCode(): DeclarationSpecificCircumstancesCodeCodeType
Gets the value of the specificCircumstancesCodeCode property.
Gets the value of the specificCircumstancesCodeCode property.
- returns
possible object is
- def getSubmitter(): Submitter
Gets the value of the submitter property.
Gets the value of the submitter property.
- returns
possible object is
- def getSupervisingOffice(): SupervisingOffice
Gets the value of the supervisingOffice property.
Gets the value of the supervisingOffice property.
- returns
possible object is
- def getTotalGrossMassMeasure(): DeclarationTotalGrossMassMeasureType
Gets the value of the totalGrossMassMeasure property.
Gets the value of the totalGrossMassMeasure property.
- returns
possible object is
- def getTotalPackageQuantity(): DeclarationTotalPackageQuantityType
Gets the value of the totalPackageQuantity property.
Gets the value of the totalPackageQuantity property.
- returns
possible object is
- def getTypeCode(): DeclarationTypeCodeType
Gets the value of the typeCode property.
Gets the value of the typeCode property.
- returns
possible object is
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def setAcceptanceDateTime(value: DeclarationAcceptanceDateTimeType): Unit
Sets the value of the acceptanceDateTime property.
Sets the value of the acceptanceDateTime property.
- value
allowed object is
- def setAgent(value: Agent): Unit
Sets the value of the agent property.
Sets the value of the agent property.
- value
allowed object is
- def setAuthentication(value: Authentication): Unit
Sets the value of the authentication property.
Sets the value of the authentication property.
- value
allowed object is
- def setBorderTransportMeans(value: BorderTransportMeans): Unit
Sets the value of the borderTransportMeans property.
Sets the value of the borderTransportMeans property.
- value
allowed object is
- def setConsignment(value: Consignment): Unit
Sets the value of the consignment property.
Sets the value of the consignment property.
- value
allowed object is
- def setDeclarant(value: Declarant): Unit
Sets the value of the declarant property.
Sets the value of the declarant property.
- value
allowed object is
- def setDeclarationOfficeID(value: DeclarationDeclarationOfficeIDType): Unit
Sets the value of the declarationOfficeID property.
Sets the value of the declarationOfficeID property.
- value
allowed object is
- def setExitOffice(value: ExitOffice): Unit
Sets the value of the exitOffice property.
Sets the value of the exitOffice property.
- value
allowed object is
- def setExporter(value: Exporter): Unit
Sets the value of the exporter property.
Sets the value of the exporter property.
- value
allowed object is
- def setFunctionCode(value: DeclarationFunctionCodeType): Unit
Sets the value of the functionCode property.
Sets the value of the functionCode property.
- value
allowed object is
- def setFunctionalReferenceID(value: DeclarationFunctionalReferenceIDType): Unit
Sets the value of the functionalReferenceID property.
Sets the value of the functionalReferenceID property.
- value
allowed object is
- def setGoodsItemQuantity(value: DeclarationGoodsItemQuantityType): Unit
Sets the value of the goodsItemQuantity property.
Sets the value of the goodsItemQuantity property.
- value
allowed object is
- def setGoodsShipment(value: GoodsShipment): Unit
Sets the value of the goodsShipment property.
Sets the value of the goodsShipment property.
- value
allowed object is
- def setID(value: DeclarationIdentificationIDType): Unit
Sets the value of the id property.
Sets the value of the id property.
- value
allowed object is
- def setInvoiceAmount(value: DeclarationInvoiceAmountType): Unit
Sets the value of the invoiceAmount property.
Sets the value of the invoiceAmount property.
- value
allowed object is
- def setIssueDateTime(value: DeclarationIssueDateTimeType): Unit
Sets the value of the issueDateTime property.
Sets the value of the issueDateTime property.
- value
allowed object is
- def setIssueLocationID(value: DeclarationIssueLocationIdentificationIDType): Unit
Sets the value of the issueLocationID property.
Sets the value of the issueLocationID property.
- value
allowed object is
- def setLoadingListQuantity(value: DeclarationLoadingListQuantityType): Unit
Sets the value of the loadingListQuantity property.
Sets the value of the loadingListQuantity property.
- value
allowed object is
- def setPresentationOffice(value: PresentationOffice): Unit
Sets the value of the presentationOffice property.
Sets the value of the presentationOffice property.
- value
allowed object is
- def setSpecificCircumstancesCodeCode(value: DeclarationSpecificCircumstancesCodeCodeType): Unit
Sets the value of the specificCircumstancesCodeCode property.
Sets the value of the specificCircumstancesCodeCode property.
- value
allowed object is
- def setSubmitter(value: Submitter): Unit
Sets the value of the submitter property.
Sets the value of the submitter property.
- value
allowed object is
- def setSupervisingOffice(value: SupervisingOffice): Unit
Sets the value of the supervisingOffice property.
Sets the value of the supervisingOffice property.
- value
allowed object is
- def setTotalGrossMassMeasure(value: DeclarationTotalGrossMassMeasureType): Unit
Sets the value of the totalGrossMassMeasure property.
Sets the value of the totalGrossMassMeasure property.
- value
allowed object is
- def setTotalPackageQuantity(value: DeclarationTotalPackageQuantityType): Unit
Sets the value of the totalPackageQuantity property.
Sets the value of the totalPackageQuantity property.
- value
allowed object is
- def setTypeCode(value: DeclarationTypeCodeType): Unit
Sets the value of the typeCode property.
Sets the value of the typeCode property.
- value
allowed object is
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()