<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="VersandanmeldungNCTSDE" type="VersandanmeldungVATayp">
    <xs:annotation>
      <xs:documentation>Version 004 - Release 005</xs:documentation>
    </xs:annotation>
  </xs:element>
  <xs:complexType name="ActiveBorderTransportMeansVAType">
    <xs:sequence>
      <xs:element name="TypeOfIdentification" type="an..2" minOccurs="0"/>
      <xs:element name="IdentificationNumber" type="an..35" minOccurs="0"/>
      <xs:element name="Nationality" type="an..2" minOccurs="0"/>
      <xs:element name="ConveyanceReferenceNumber" type="an..17" minOccurs="0"/>
      <xs:element name="CustomsOfficeAtBorderDeclared" type="an..8" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AdditionalInformationHouseVAType">
    <xs:sequence>
      <xs:element name="Code" type="an..5" minOccurs="0"/>
      <xs:element name="Text" type="an..512" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AdditionalInformationPositionVAType">
    <xs:sequence>
      <xs:element name="Code" type="an..5" minOccurs="0"/>
      <xs:element name="Text" type="an..512" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AdditionalInformationVAType">
    <xs:sequence>
      <xs:element name="Code" type="an..5" minOccurs="0"/>
      <xs:element name="Text" type="an..512" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AdditionalReferenceHouseVAType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AdditionalReferencePositionVAType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AdditionalReferenceVAType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AdditionalSupplyChainActorVAType">
    <xs:sequence>
      <xs:element name="Role" type="an..3" minOccurs="0"/>
      <xs:element name="IdentificationNumber" type="an..17" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AddressVA1Type">
    <xs:sequence>
      <xs:element name="AddressCode" type="an..50" minOccurs="0"/>
      <xs:element name="IdentificationNumber" type="an..17" minOccurs="0"/>
      <xs:element name="SubsidiaryNumber" type="n..4" minOccurs="0"/>
      <xs:element name="Name" type="an..70" minOccurs="0"/>
      <xs:element name="StreetAndNumber" type="an..70" minOccurs="0"/>
      <xs:element name="City" type="an..35" minOccurs="0"/>
      <xs:element name="Postcode" type="an..17" minOccurs="0"/>
      <xs:element name="Country" type="an..2" minOccurs="0"/>
      <xs:element name="ContactPerson" type="ContactPersonVAType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="AddressVAType">
    <xs:sequence>
      <xs:element name="AddressCode" type="an..50" minOccurs="0"/>
      <xs:element name="IdentificationNumber" type="an..17" minOccurs="0"/>
      <xs:element name="SubsidiaryNumber" type="n..4" minOccurs="0"/>
      <xs:element name="ContactPerson" type="ContactPersonVAType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="an..1">
    <xs:restriction base="xs:string">
      <xs:maxLength value="1"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..10">
    <xs:restriction base="xs:string">
      <xs:maxLength value="10"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..100">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..11">
    <xs:restriction base="xs:string">
      <xs:maxLength value="11"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..12">
    <xs:restriction base="xs:string">
      <xs:maxLength value="12"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..15">
    <xs:restriction base="xs:string">
      <xs:maxLength value="15"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..17">
    <xs:restriction base="xs:string">
      <xs:maxLength value="17"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..2">
    <xs:restriction base="xs:string">
      <xs:maxLength value="2"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..20">
    <xs:restriction base="xs:string">
      <xs:maxLength value="20"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..22">
    <xs:restriction base="xs:string">
      <xs:maxLength value="22"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..24">
    <xs:restriction base="xs:string">
      <xs:maxLength value="24"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..256">
    <xs:restriction base="xs:string">
      <xs:maxLength value="256"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..3">
    <xs:restriction base="xs:string">
      <xs:maxLength value="3"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..35">
    <xs:restriction base="xs:string">
      <xs:maxLength value="35"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..350">
    <xs:restriction base="xs:string">
      <xs:maxLength value="350"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..4">
    <xs:restriction base="xs:string">
      <xs:maxLength value="4"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..44">
    <xs:restriction base="xs:string">
      <xs:maxLength value="44"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..5">
    <xs:restriction base="xs:string">
      <xs:maxLength value="5"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..50">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..512">
    <xs:restriction base="xs:string">
      <xs:maxLength value="512"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..6">
    <xs:restriction base="xs:string">
      <xs:maxLength value="6"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..70">
    <xs:restriction base="xs:string">
      <xs:maxLength value="70"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..8">
    <xs:restriction base="xs:string">
      <xs:maxLength value="8"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="an..9">
    <xs:restriction base="xs:string">
      <xs:maxLength value="9"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="ApplicationInternalDataAdditionalDetailsDataType">
    <xs:sequence>
      <xs:element name="Key" type="an..35" minOccurs="0"/>
      <xs:element name="Value" type="an..100" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ApplicationInternalDataAdditionalDetailsType">
    <xs:sequence>
      <xs:element name="Data" type="ApplicationInternalDataAdditionalDetailsDataType" minOccurs="0" maxOccurs="999"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ApplicationInternalDataType">
    <xs:sequence>
      <xs:element name="AdditionalDetails" type="ApplicationInternalDataAdditionalDetailsType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ConsignmentItemVAType">
    <xs:sequence>
      <xs:element name="GoodsItemNumber" type="seq3" minOccurs="0"/>
      <xs:element name="DeclarationGoodsItemNumber" type="seq4" minOccurs="0"/>
      <xs:element name="CommodityCode" type="an..10" minOccurs="0"/>
      <xs:element name="ReferenceNumberUCR" type="an..35" minOccurs="0"/>
      <xs:element name="MethodOfPayment" type="an..1" minOccurs="0"/>
      <xs:element name="UNNumber" type="an..4" minOccurs="0" maxOccurs="99"/>
      <xs:element name="DeclarationType" type="an..5" minOccurs="0"/>
      <xs:element name="ArticleCode" type="an..50" minOccurs="0"/>
      <xs:element name="DescriptionOfGoods" type="an..512" minOccurs="0"/>
      <xs:element name="CusCode" type="an..9" minOccurs="0"/>
      <xs:element name="CountryOfDispatch" type="an..2" minOccurs="0"/>
      <xs:element name="CountryOfDestination" type="an..2" minOccurs="0"/>
      <xs:element name="GrossMass" type="n..19.3" minOccurs="0"/>
      <xs:element name="NetMass" type="n..22.6" minOccurs="0"/>
      <xs:element name="Consignee" type="AddressVA1Type" minOccurs="0"/>
      <xs:element name="AdditionalSupplyChainActor" type="AdditionalSupplyChainActorVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="GoodsValue" type="n..16.6" minOccurs="0"/>
      <xs:element name="CurrencyOfGoodsValue" type="an..3" minOccurs="0"/>
      <xs:element name="ExchangeRate" type="n..9.4" minOccurs="0"/>
      <xs:element name="ExchangeDate" type="xs:date" minOccurs="0"/>
      <xs:element name="CurrencyExchangeRateType" type="an..9" minOccurs="0"/>
      <xs:element name="FractionOfGoodsValue" type="n..5.2" minOccurs="0"/>
      <xs:element name="GuaranteeAmount" type="n..18.2" minOccurs="0"/>
      <xs:element name="Packaging" type="PackstueckVATyp" minOccurs="0" maxOccurs="99"/>
      <xs:element name="PreviousDocument" type="PreviousDocumentPositionVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="SupportingDocument" type="SupportingDocumentPositionVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="AdditionalReference" type="AdditionalReferencePositionVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="AdditionalInformation" type="AdditionalInformationPositionVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="ApplicationInternalData" type="ApplicationInternalDataType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ContactPersonVAType">
    <xs:sequence>
      <xs:element name="Name" type="an..70" minOccurs="0"/>
      <xs:element name="PhoneNumber" type="an..35" minOccurs="0"/>
      <xs:element name="EMailAddress" type="an..256" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="CustomsOfficeOfTransitDeclaredVAType">
    <xs:sequence>
      <xs:element name="ReferenceNumber" type="an..8" minOccurs="0"/>
      <xs:element name="ArrivalDateAndTimeEstimated" type="xs:dateTime" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DatenaustauschNCTSTyp">
    <xs:sequence>
      <xs:element name="Transaktion" type="TransaktionNCTSTyp"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="DepartureTransportMeansVAType">
    <xs:sequence>
      <xs:element name="TypeOfIdentification" type="an..2" minOccurs="0"/>
      <xs:element name="IdentificationNumber" type="an..35" minOccurs="0"/>
      <xs:element name="Nationality" type="an..2" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="EinzelVersandanmeldungTyp">
    <xs:sequence>
      <xs:element name="ObjektIdentifizierung" type="ObjektIdentifizierungVATyp" minOccurs="0"/>
      <xs:element name="TransitOperation" type="TransitOperationType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GuaranteeReferenceVAType">
    <xs:sequence>
      <xs:element name="Currency" type="an..3" minOccurs="0"/>
      <xs:element name="AmountToBeCovered" type="n..18.2" minOccurs="0"/>
      <xs:element name="GRN" type="an..24" minOccurs="0"/>
      <xs:element name="AccessCode" type="an..4" minOccurs="0"/>
      <xs:element name="AccountName" type="an..15" minOccurs="0"/>
      <xs:element name="GoodsValue" type="n..18.2" minOccurs="0"/>
      <xs:element name="CurrencyOfGoodsValue" type="an..3" minOccurs="0"/>
      <xs:element name="FractionOfGoodsValue" type="n..10.2" minOccurs="0"/>
      <xs:element name="CurrencyExchangeRateCustoms" type="n..15.5" minOccurs="0"/>
      <xs:element name="CurrencyExchangeRateAccount" type="n..15.5" minOccurs="0"/>
      <xs:element name="ExchangeDateCustoms" type="xs:date" minOccurs="0"/>
      <xs:element name="ExchangeDateAccount" type="xs:date" minOccurs="0"/>
      <xs:element name="CurrencyExchangeRateTypeCustoms" type="an..9" minOccurs="0"/>
      <xs:element name="CurrencyExchangeRateTypeAccount" type="an..10" minOccurs="0"/>
      <xs:element name="CalculateGoodsValueFromGoodsItems" type="an..1" minOccurs="0"/>
      <xs:element name="Commentary" type="an..50" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="GuaranteeVAType">
    <xs:sequence>
      <xs:element name="GuaranteeType" type="an..1" minOccurs="0"/>
      <xs:element name="OtherGuaranteeReference" type="an..35" minOccurs="0"/>
      <xs:element name="GuaranteeReference" type="GuaranteeReferenceVAType" minOccurs="0" maxOccurs="99"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="HolderOfTheTransitProcedureVAType">
    <xs:sequence>
      <xs:element name="AddressCode" type="an..50" minOccurs="0"/>
      <xs:element name="IdentificationNumber" type="an..17" minOccurs="0"/>
      <xs:element name="TIRHolderIdentificationNumber" type="an..17" minOccurs="0"/>
      <xs:element name="Name" type="an..70" minOccurs="0"/>
      <xs:element name="StreetAndNumber" type="an..70" minOccurs="0"/>
      <xs:element name="City" type="an..35" minOccurs="0"/>
      <xs:element name="Postcode" type="an..17" minOccurs="0"/>
      <xs:element name="Country" type="an..2" minOccurs="0"/>
      <xs:element name="ContactPerson" type="ContactPersonVAType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="HouseConsignmentVAType">
    <xs:sequence>
      <xs:element name="HouseConsignmentReference" type="an..35" minOccurs="0"/>
      <xs:element name="CountryOfDispatch" type="an..2" minOccurs="0"/>
      <xs:element name="CountryOfDestination" type="an..2" minOccurs="0"/>
      <xs:element name="GrossMass" type="n..19.3" minOccurs="0"/>
      <xs:element name="ReferenceNumberUCR" type="an..35" minOccurs="0"/>
      <xs:element name="Consignor" type="AddressVA1Type" minOccurs="0"/>
      <xs:element name="Consignee" type="AddressVA1Type" minOccurs="0"/>
      <xs:element name="AdditionalSupplyChainActor" type="AdditionalSupplyChainActorVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="PreviousDocument" type="PreviousDocumentVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="SupportingDocument" type="SupportingDocumentHouseVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="TransportDocument" type="TransportDocumentVAHouseType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="AdditionalReference" type="AdditionalReferenceHouseVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="AdditionalInformation" type="AdditionalInformationHouseVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="TransportCharges" type="an..1" minOccurs="0"/>
      <xs:element name="ApplicationInternalData" type="ApplicationInternalDataType" minOccurs="0"/>
      <xs:element name="ConsignmentItem" type="ConsignmentItemVAType" minOccurs="0" maxOccurs="999"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="LocationOfGoodsVAType">
    <xs:sequence>
      <xs:element name="TypeOfLocation" type="an..1" minOccurs="0"/>
      <xs:element name="QualifierOfIdentification" type="an..1" minOccurs="0"/>
      <xs:element name="AdditionalIdentifier" type="an..4" minOccurs="0"/>
      <xs:element name="ContactPerson" type="ContactPersonVAType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="n..10.2">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,8}([.,]\d{0,2}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..12.3">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,9}([.,]\d{0,3}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..15.5">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,10}([.,]\d{0,5}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..16.6">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,10}([.,]\d{0,6}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..18.2">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,16}([.,]\d{0,2}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..19.3">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,16}([.,]\d{0,3}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..2">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,2}([.,](0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..22.6">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,16}([.,]\d{0,6}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..3">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,3}([.,](0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..4">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,4}([.,](0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..5">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,5}([.,](0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..5.2">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,3}([.,]\d{0,2}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..8">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)\d{0,8}([.,](0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n..9.4">
    <xs:restriction base="xs:string">
      <xs:pattern value="( *)(0*)\d{0,5}([.,]\d{0,4}(0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="n3">
    <xs:restriction base="xs:nonNegativeInteger">
      <xs:pattern value="\d{3}"/>
      <xs:totalDigits value="3"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="ObjektIdentifizierungVATyp">
    <xs:sequence>
      <xs:element name="ObjektName" type="an..22"/>
      <xs:element name="ObjektAliasname" type="an..35" minOccurs="0"/>
      <xs:element name="BezugsnummerVorblendung" type="an..35" minOccurs="0"/>
      <xs:element name="UserVorblendung" type="an..10" minOccurs="0"/>
      <xs:element name="KopieVon" type="an..35" minOccurs="0"/>
      <xs:element name="ObjektAktion" type="an..10" maxOccurs="10"/>
      <xs:element name="CompliancePruefung" type="an..3" minOccurs="0"/>
      <xs:element name="Bearbeiter" type="an..70" minOccurs="0"/>
      <xs:element name="AnfBemerkungStatusanzeige" type="an..17" minOccurs="0"/>
      <xs:element name="NameAbsendendesSystem" type="an..6" minOccurs="0"/>
      <xs:element name="ShipmentReferenz" type="an..35" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PackstueckVATyp">
    <xs:sequence>
      <xs:element name="NumberOfPackages" type="n..8" minOccurs="0"/>
      <xs:element name="TypeOfPackages" type="an..2" minOccurs="0"/>
      <xs:element name="ShippingMarks" type="an..512" minOccurs="0"/>
      <xs:element name="GoodsItemNumber" type="n..3" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PlaceOfLoadingOrUnloadingVAType">
    <xs:sequence>
      <xs:element name="Location" type="an..35" minOccurs="0"/>
      <xs:element name="Country" type="an..2" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PreviousDocumentPositionVAType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="PreviousDocumentDetails" type="PreviousDocumentsPositionVAType" minOccurs="0"/>
      <xs:element name="ProcedureTransference" type="ProcedureTransferenceVAType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PreviousDocumentsPositionVAType">
    <xs:sequence>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
      <xs:element name="ComplementOfInformation" type="an..35" minOccurs="0"/>
      <xs:element name="GoodsItemNumber" type="n..5" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PreviousDocumentVAType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
      <xs:element name="ComplementOfInformation" type="an..35" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ProcedureTransferenceItemVAType">
    <xs:sequence>
      <xs:element name="NumberOfPackages" type="n..5" minOccurs="0"/>
      <xs:element name="RegistrationNumber" type="an..35" minOccurs="0"/>
      <xs:element name="GoodsItemNumber" type="n..5" minOccurs="0"/>
      <xs:element name="ArticleCode" type="an..35" minOccurs="0"/>
      <xs:element name="Owner" type="an..20" minOccurs="0"/>
      <xs:element name="ChargeNumber" type="an..35" minOccurs="0"/>
      <xs:element name="CountryOfOrigin" type="an..2" minOccurs="0"/>
      <xs:element name="IdentificationNumberOfCustodian" type="an..17" minOccurs="0"/>
      <xs:element name="TypeOfIdentificationByKey" type="an..3" minOccurs="0"/>
      <xs:element name="ReferenceNumberOfIdentificationByKey" type="an..44" minOccurs="0"/>
      <xs:element name="CommodityCode" type="an..11" minOccurs="0"/>
      <xs:element name="AccessViaATLAS" type="an..1" minOccurs="0"/>
      <xs:element name="UsualTreatment" type="an..1" minOccurs="0"/>
      <xs:element name="Complement" type="an..100" minOccurs="0"/>
      <xs:element name="QualifierOfGoodsReduction" type="an..1" minOccurs="0"/>
      <xs:element name="MeasurementUnitOfGoodsReduction" type="an..3" minOccurs="0"/>
      <xs:element name="QuantityOfGoodsReduction" type="n..12.3" minOccurs="0"/>
      <xs:element name="QualifierOfGoodsReductionAfterTreatment" type="an..1" minOccurs="0"/>
      <xs:element name="MeasurementUnitOfGoodsReductionAfterTreatment" type="an..3" minOccurs="0"/>
      <xs:element name="QuantityOfGoodsReductionAfterTreatment" type="n..12.3" minOccurs="0"/>
      <xs:element name="GoodsRelatedData" type="an..350" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ProcedureTransferenceVAType">
    <xs:sequence>
      <xs:element name="IdentificationType" type="an..3" minOccurs="0"/>
      <xs:element name="LRN" type="an..35" minOccurs="0"/>
      <xs:element name="TypeOfAuthorisation" type="an..4" minOccurs="0"/>
      <xs:element name="ReferenceNumberOfAuthorisation" type="an..35" minOccurs="0"/>
      <xs:element name="SimplyGrantedAuthorisation" type="an..1" minOccurs="0"/>
      <xs:element name="CustomsOfficeOfSupervision" type="an..8" minOccurs="0"/>
      <xs:element name="ProcedureTransferenceItem" type="ProcedureTransferenceItemVAType" minOccurs="0" maxOccurs="999"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="RepresentativeVAType">
    <xs:sequence>
      <xs:element name="AddressCode" type="an..50" minOccurs="0"/>
      <xs:element name="IdentificationNumber" type="an..17" minOccurs="0"/>
      <xs:element name="ContactPerson" type="ContactPersonVAType" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:simpleType name="seq3">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)[1-9]\d{0,2}([.,](0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:simpleType name="seq4">
    <xs:restriction base="xs:string">
      <xs:maxLength value="100"/>
      <xs:pattern value="( *)(0*)[1-9]\d{0,3}([.,](0*))?( *)"/>
    </xs:restriction>
  </xs:simpleType>
  <xs:complexType name="SupportingDocumentHouseVAType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
      <xs:element name="DocumentLineItemNumber" type="n..5" minOccurs="0"/>
      <xs:element name="ComplementOfInformation" type="an..35" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SupportingDocumentPositionVAType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
      <xs:element name="ComplementOfInformation" type="an..35" minOccurs="0"/>
      <xs:element name="DocumentLineItemNumber" type="n..5" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="SupportingDocumentVAType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
      <xs:element name="DocumentLineItemNumber" type="n..5" minOccurs="0"/>
      <xs:element name="ComplementOfInformation" type="an..35" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TransaktionNCTSTyp">
    <xs:sequence>
      <xs:element name="IOPartner" type="an..100"/>
      <xs:element name="IODivision1" type="an..10" minOccurs="0"/>
      <xs:element name="IODivision2" type="an..10" minOccurs="0"/>
      <xs:element name="IODivision3" type="an..10" minOccurs="0"/>
      <xs:element name="IOReferenz" type="an..35"/>
      <xs:element name="IODatumZeit" type="xs:dateTime"/>
      <xs:element name="Version" type="n3" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TransitOperationAuthorisationVAType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..35" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TransitOperationType">
    <xs:sequence>
      <xs:element name="CountryOfDispatch" type="an..2" minOccurs="0"/>
      <xs:element name="CountryOfDestination" type="an..2" minOccurs="0"/>
      <xs:element name="DeclarationType" type="an..5" minOccurs="0"/>
      <xs:element name="TIRCarnetNumber" type="an..12" minOccurs="0"/>
      <xs:element name="ReducedDatasetIndicator" type="an..1" minOccurs="0"/>
      <xs:element name="LocationOfGoods" type="LocationOfGoodsVAType" minOccurs="0"/>
      <xs:element name="CustomsOfficeOfTransitDeclared" type="CustomsOfficeOfTransitDeclaredVAType" minOccurs="0" maxOccurs="9"/>
      <xs:element name="CustomsOfficeOfDestinationDeclared" type="an..8" minOccurs="0"/>
      <xs:element name="CustomsOfficeOfDeparture" type="an..8" minOccurs="0"/>
      <xs:element name="CustomsOfficeOfExitForTransitDeclared" type="an..8" minOccurs="0" maxOccurs="9"/>
      <xs:element name="LimitDate" type="xs:date" minOccurs="0"/>
      <xs:element name="TransitDeclarationType" type="an..2" minOccurs="0"/>
      <xs:element name="GrossMass" type="n..19.3" minOccurs="0"/>
      <xs:element name="TransportEquipment" type="TransportEquipmentVAType" minOccurs="0" maxOccurs="9999"/>
      <xs:element name="BindingItinerary" type="an..1" minOccurs="0"/>
      <xs:element name="Guarantee" type="GuaranteeVAType" minOccurs="0" maxOccurs="9"/>
      <xs:element name="ContainerIndicator" type="an..1" minOccurs="0"/>
      <xs:element name="InlandModeOfTransport" type="an..1" minOccurs="0"/>
      <xs:element name="DepartureTransportMeans" type="DepartureTransportMeansVAType" minOccurs="0" maxOccurs="999"/>
      <xs:element name="ModeOfTransportAtTheBorder" type="an..1" minOccurs="0"/>
      <xs:element name="ActiveBorderTransportMeans" type="ActiveBorderTransportMeansVAType" minOccurs="0" maxOccurs="9"/>
      <xs:element name="Authorisation" type="TransitOperationAuthorisationVAType" minOccurs="0" maxOccurs="9"/>
      <xs:element name="Consignor" type="AddressVA1Type" minOccurs="0"/>
      <xs:element name="Consignee" type="AddressVA1Type" minOccurs="0"/>
      <xs:element name="HolderOfTheTransitProcedure" type="HolderOfTheTransitProcedureVAType" minOccurs="0"/>
      <xs:element name="Representative" type="RepresentativeVAType" minOccurs="0"/>
      <xs:element name="AdditionalSupplyChainActor" type="AdditionalSupplyChainActorVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="Security" type="an..1" minOccurs="0"/>
      <xs:element name="ReferenceNumberUCR" type="an..35" minOccurs="0"/>
      <xs:element name="SpecificCircumstanceIndicator" type="an..3" minOccurs="0"/>
      <xs:element name="PlaceOfLoading" type="PlaceOfLoadingOrUnloadingVAType" minOccurs="0"/>
      <xs:element name="PlaceOfUnloading" type="PlaceOfLoadingOrUnloadingVAType" minOccurs="0"/>
      <xs:element name="TransportCharges" type="an..1" minOccurs="0"/>
      <xs:element name="CountryOfRoutingOfConsignment" type="an..2" minOccurs="0" maxOccurs="99"/>
      <xs:element name="Carrier" type="AddressVAType" minOccurs="0"/>
      <xs:element name="PreviousDocument" type="PreviousDocumentVAType" minOccurs="0" maxOccurs="9999"/>
      <xs:element name="SupportingDocument" type="SupportingDocumentVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="TransportDocument" type="TransportDocumentVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="AdditionalReference" type="AdditionalReferenceVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="AdditionalInformation" type="AdditionalInformationVAType" minOccurs="0" maxOccurs="99"/>
      <xs:element name="AUTOIMPIndicator" type="an..1" minOccurs="0"/>
      <xs:element name="ApplicationInternalData" type="ApplicationInternalDataType" minOccurs="0"/>
      <xs:element name="HouseConsignment" type="HouseConsignmentVAType" minOccurs="0" maxOccurs="1999"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TransportDocumentVAHouseType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TransportDocumentVAType">
    <xs:sequence>
      <xs:element name="Type" type="an..4" minOccurs="0"/>
      <xs:element name="ReferenceNumber" type="an..70" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="TransportEquipmentVAType">
    <xs:sequence>
      <xs:element name="NumberOfSeals" type="n..2" minOccurs="0"/>
      <xs:element name="Seal" type="an..20" minOccurs="0" maxOccurs="99"/>
      <xs:element name="ContainerIdentificationNumber" type="an..17" minOccurs="0"/>
      <xs:element name="GoodsReference" type="n..4" minOccurs="0" maxOccurs="9999"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="VersandanmeldungVATayp">
    <xs:complexContent>
      <xs:extension base="DatenaustauschNCTSTyp">
        <xs:sequence>
          <xs:element name="EinzelVersandanmeldung" type="EinzelVersandanmeldungTyp" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:schema>
