<?xml version="1.0" encoding="UTF-16"?>
<!-- edited with XMLSpy v2013 sp1 (http://www.altova.com) by BIT (Bundesamt für Informatik und Telekommunikation BIT) -->
<!-- edecReceiptResponse XML Schema -->
<!-- Name of schema: edecReceiptResponse -->
<!-- Name of corresponding request schema: edecReceiptRequest -->
<!-- Scope of schema: Receipts for import/export duties, VAT, additional taxes, refunds of customs administration-->
<!-- Organization: Swiss Customs Administration -->
<!-- Author: Karin Altorfer, Markus Färber, Rene Simon -->
<!-- Documentation: http://www.e-dec.ch/ -->
<xs:schema xmlns:edecReceiptResponse="http://www.e-dec.ch/xml/schema/edecReceiptResponse/v3" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.e-dec.ch/xml/schema/edecReceiptResponse/v3" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.0">
	<xs:element name="receiptRequestResponse">
		<xs:annotation>
			<xs:documentation>Root Element mit Quittungen (Veranlagungsverfügungen und Rückerstattungsquittungen).

Das Schma dient der übermittlung von Quittungen aller Art. Es kann ebenfalls eine Liste mit Dokument-Metainformationen abgebildet werden. Ausserdem können bei einer fehlerhaften Abfrage Fehlermeldungen abgedeckt werden.

Das Root Element enthält ein zwingendes Attribut schemaVersion, in dem angegeben wird, welcher edecReceiptResponse Schema Version die XML Instanz entspricht.

Anhand des Attributs schemaVersion wird mitgeteilt, welche Version des edecReceiptResponse Schemas zum Validieren benutzt werden soll.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="requestorTraderIdentificationNumber" type="edecReceiptResponse:TraderIdentificationNumber">
					<xs:annotation>
						<xs:documentation>Trader Identification Number (Spediteurnummer, TIN oder UID) des Bezügers</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="requestorCorrelationID" type="edecReceiptResponse:Reference" minOccurs="0">
					<xs:annotation>
						<xs:documentation>Optionale Referenz um auch bei asynchronen (Mail) oder mandantenfähigen Systemen eine eindeutige Zuordnung zwischen Request und Response zu ermöglichen. Falls dieses Element gefüllt ist, so wird es auch in der Response enthalten sein.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:choice>
					<xs:element ref="edecReceiptResponse:receiptList">
						<xs:annotation>
							<xs:documentation>Liste der Zollanmeldungsnummern, die den Suchkriterien des edecReceiptResponseRequest/receiptList entsprechen</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element ref="edecReceiptResponse:taxationDecisionCustomsDuties">
						<xs:annotation>
							<xs:documentation>Veranlagungsverfügung Zoll für e-dec Import</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element ref="edecReceiptResponse:taxationDecisionVAT">
						<xs:annotation>
							<xs:documentation>Veranlagungsverfügung Mwst für e-dec Import</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element ref="edecReceiptResponse:taxationDecisionExport">
						<xs:annotation>
							<xs:documentation>Veranlagungsverfügung Export</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element ref="edecReceiptResponse:refundCustomsDuties">
						<xs:annotation>
							<xs:documentation>Beleg für Rückerstattungen Zoll für e-dec Import</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element ref="edecReceiptResponse:refundVAT">
						<xs:annotation>
							<xs:documentation>Beleg für Rückerstattungen Mwst für e-dec Import</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element ref="edecReceiptResponse:receiptRequestRejection"/>
				</xs:choice>
			</xs:sequence>
			<xs:attribute name="schemaVersion" use="required">
				<xs:annotation>
					<xs:documentation>Attribut zur Angabe der benutzten edecReceiptResponse Schema Version. Aktuelle Schema Version ist 3.0</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:pattern value="[1-9]{0,1}[0-9]{1}\.[0-9]{1,2}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:element name="receiptList" type="edecReceiptResponse:ReceiptListType">
		<xs:annotation>
			<xs:documentation>Liste der Zollanmeldungsnummern, welche die Suchkriterien im edecReceiptResponseRequest/receiptList erfüllen</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="taxationDecisionCustomsDuties" type="edecReceiptResponse:TaxationDecisionImportType">
		<xs:annotation>
			<xs:documentation>Veranlagungsverfügung Zoll für e-dec Import</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="taxationDecisionVAT" type="edecReceiptResponse:TaxationDecisionImportType">
		<xs:annotation>
			<xs:documentation>Veranlagungsverfügung Mwst für e-dec Import</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="taxationDecisionExport" type="edecReceiptResponse:TaxationDecisionExportType">
		<xs:annotation>
			<xs:documentation>Veranlagungsverfügung Export</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="refundCustomsDuties" type="edecReceiptResponse:RefundImportType">
		<xs:annotation>
			<xs:documentation>Beleg für Rückerstattungen Zoll für e-dec Import</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="refundVAT" type="edecReceiptResponse:RefundImportType">
		<xs:annotation>
			<xs:documentation>Beleg für Rückerstattungen Mwst für e-dec Import</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="receiptRequestRejection" type="edecReceiptResponse:ReceiptRequestRejectionType">
		<xs:annotation>
			<xs:documentation>Fehler beim Abruf von einer Veranlagungsverfügung / Quittung</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:complexType name="AccountType">
		<xs:annotation>
			<xs:documentation>Complex Type für Konto</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="accountType">
				<xs:annotation>
					<xs:documentation>Spezifiziert den Kontotyp (Mwst oder Zoll). Das Element ist nicht in Gebrauch, da ein Zollkonto sowohl für Mwst wie Zollabgaben benutzt werden kann.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="accountNumber" type="edecReceiptResponse:AccountNumber">
				<xs:annotation>
					<xs:documentation>Konto Zoll, Mwst etc.; Kontonummer des Spediteurs beim Zoll. Die Kontonummer kann einen Bindestrich enthalten.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="accountName" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Kurzbezeichnung zu Kontonummer</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="50"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AddressType">
		<xs:annotation>
			<xs:documentation>Complex Type Adresse</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="name">
				<xs:annotation>
					<xs:documentation>Name</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="addressSupplement1" minOccurs="0">
				<xs:annotation>
					<xs:documentation>zusätzliche Adressinformation</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="addressSupplement2" minOccurs="0">
				<xs:annotation>
					<xs:documentation>zusätzliche Adressinformation</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="street" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Strasse und Hausnummer</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="addressSupplement3" minOccurs="0">
				<xs:annotation>
					<xs:documentation>zusätzliche Adressinformation</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="postalCode">
				<xs:annotation>
					<xs:documentation>Postleitzahl PLZ</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="9"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="city">
				<xs:annotation>
					<xs:documentation>Stadt</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="country">
				<xs:annotation>
					<xs:documentation>Land (Stammdaten: edecCountries.xml/countries/country/@isoCode)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="traderIdentificationNumber" type="edecReceiptResponse:TraderIdentificationNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Trader Identification Number (Spediteurnummer, TIN oder UID); Identifikationsnummer (Stammdaten)</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AccountHolderType">
		<xs:annotation>
			<xs:documentation>Adresse des Kontoinhabers</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="addressLine" minOccurs="0" maxOccurs="7">
				<xs:annotation>
					<xs:documentation>Für diese Adresse ist die Rede von Adresszeilen.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="postalCode">
				<xs:annotation>
					<xs:documentation>PLZ</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="9"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="city">
				<xs:annotation>
					<xs:documentation>Stadt</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="country" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Zweistelliger Ländercode</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="CustomsOfficeType">
		<xs:annotation>
			<xs:documentation>Complex Type für Dienststelle</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="customsOfficeNumber">
				<xs:annotation>
					<xs:documentation>Zollstellennummer (Stammdaten: edecCustomsOffices.xml/customsOffices/customsOffice/@number)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="8"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="phoneNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Telefonnummer der Zollstelle</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="20"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="name">
				<xs:annotation>
					<xs:documentation>Name</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="addressSupplement1" minOccurs="0">
				<xs:annotation>
					<xs:documentation>zusätzliche Adressinformation</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="addressSupplement2" minOccurs="0">
				<xs:annotation>
					<xs:documentation>zusätzliche Adressinformation</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="street" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Strasse und Hausnummer</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="postalCode">
				<xs:annotation>
					<xs:documentation>Postleitzahl PLZ</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="9"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="city">
				<xs:annotation>
					<xs:documentation>Stadt</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="country" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Land (Stammdaten: edecCountries.xml/countries/country/@isoCode)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DocumentInformationType">
		<xs:annotation>
			<xs:documentation>Complex Type für Informationen über das Dokument (Metadaten)</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="documentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Dokumenttyp; Art der Quittung; Mögliche Werte: Veranlagungsverfügung Zoll VVZ (taxationDecisionCustomsDuties), Veranlagungsverfügung Mehrwertsteuer VVM (taxationDecisionVAT), Veranlagungsverfügung Export eVV (taxationDecisionExport), Rückerstattungen Zoll (refundCustomsDuties) und Rückerstattungen Mwst (refundVAT)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="edecReceiptResponse:DocumentTypeList"/>
				</xs:simpleType>
			</xs:element>
			<xs:element name="documentTitle">
				<xs:annotation>
					<xs:documentation>Titel bzw. Name des Dokuments; z.B. Veranlagungsverfügung Zoll, Beleg für übrige Einnahmen...</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="80"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="documentSubTitle" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Subtitel; nur für e-dec Postverkehr relevant; Erscheint auf den Rückerstattungen</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="80"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="documentDate" type="xs:date">
				<xs:annotation>
					<xs:documentation>Erstellungsdatum des Dokuments im Format yyyy-mm-dd</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="documentTime" type="xs:time">
				<xs:annotation>
					<xs:documentation>Erstellungszeit des Dokuments im Format hh:mm:ss</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="documentNumber">
				<xs:annotation>
					<xs:documentation>Nummer des Dokuments. Z.B. Zollanmeldungsnummer (früher Deklarationsnummer); wird von e-dec vergeben</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="30"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="documentVersion">
				<xs:annotation>
					<xs:documentation>Versionsnummer des Dokuments; wird von e-dec vergeben</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="documentLanguage" type="xs:language">
				<xs:annotation>
					<xs:documentation>Sprache des Dokuments, ISO Sprachencodes</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TransportMeansType">
		<xs:annotation>
			<xs:documentation>Complex Type Beförderung</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="transportMode">
				<xs:annotation>
					<xs:documentation>Verkehrszweig; Beförderungsmittel mit dem der Transport über die Zollgrenze ausgeführt wird z.B Eisenbahnverkehr (2), Strassenverkehr (3) … (Stammdaten: edecDomains.xml/domains/domain[@name="transportMode"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="transportationType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Nur für import: Beförderungsmittel Typ; Art des Fahrzeuges z.B. PKW (1), LKW (2) … (Stammdaten: edecDomains.xml/domains/domain[@name="transportationType"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="transportationCountry" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Ländercode für Beförderungsmittel (Stammdaten: edecCountries.xml/countries/country/@isoCode)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="transportationNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Beförderungsmittel Kennzeichen, z.B. Kontrollschild des LKW, Zugs-Nr. etc.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="27"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ContainerType">
		<xs:annotation>
			<xs:documentation>Complex Type Container</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="containerNumber">
				<xs:annotation>
					<xs:documentation>Container Nummer</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="17"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PreviousDocumentType">
		<xs:annotation>
			<xs:documentation>Complex Type summarische Anmeldung</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="previousDocumentType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Art Vorpapier, z.B. T2-Versandschein (T2), T2L-Nachweis (T2L) ... (Stammdaten: edecDomains.xml/domains/domain[@name="previousDocumentType"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="6"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="previousDocumentReference" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Zeichen (Nummer) Vorpapier; für e-dec Export optional, sonst mandatory.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="additionalInformation" minOccurs="0">
				<xs:annotation>
					<xs:documentation>zusätzliche Angaben; nur für e-dec Import relevant.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="SpecialMentionType">
		<xs:annotation>
			<xs:documentation>Complex Type besonderer Vermerk</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="sequenceNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Reihenfolge; falls vorhanden definiert die Sequenznummer die Erscheinungsreihenfolge auf PDF Dokumenten.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:nonNegativeInteger">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="text">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="GoodsItemType">
		<xs:annotation>
			<xs:documentation>Complex Type für Informationen über deklarierte Warenpositionen</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="customsItemNumber">
				<xs:annotation>
					<xs:documentation>Positionsnummer Zoll; fortlaufende Nummerierung der Warenpositionen</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="description">
				<xs:annotation>
					<xs:documentation>Warenbezeichnung</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="280"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="commodityCode">
				<xs:annotation>
					<xs:documentation>Warennummer (Tarifnummer - siehe auch TARES)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="9"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="commodityCodeConfirmation" type="edecReceiptResponse:ConfirmationCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Richtigcode Warennummer (nicht gesetzt (0), gesetzt (1)) (Stammdaten: edecDomains.xml/domains/domain[@name="confirmationCode"]/entry/@value)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="customsFavourCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>nur für import: Zollbegünstigungscode; Art Zollbegünstigung gemäss Zolltarif, z.B. zur menschlichen Ernährung, zu Futterzwecken ... (Stammdaten: edecTariffMasterData.xml/tariffMasterData/commodityCodes/commodityCode/customsFavourCode/@code)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="statisticalCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Schlüssel zur Warennummer; muss zur jeweiligen Tarifnummer in den Stammdaten existieren (Stammdaten: edecTariffMasterData.xml/tariffMasterData/commodityCodes/commodityCode/statisticalCode/@code)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:nonNegativeInteger">
						<xs:totalDigits value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="grossMass">
				<xs:annotation>
					<xs:documentation>Rohmasse; Eigengewicht der Ware + Gewicht der unmittelbaren Umschliessung, Füllmaterial, Transportverpackung</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="12"/>
						<xs:fractionDigits value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="grossMassConfirmation" type="edecReceiptResponse:ConfirmationCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Richtigcode Warennummer (nicht gesetzt (0), gesetzt (1)) (Stammdaten: edecDomains.xml/domains/domain[@name="confirmationCode"]/entry/@value)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="netMass" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Eigenmasse; Eigengewicht der Ware</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="12"/>
						<xs:fractionDigits value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="netMassConfirmation" type="edecReceiptResponse:ConfirmationCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Richtigcode Warennummer (nicht gesetzt (0), gesetzt (1)) (Stammdaten: edecDomains.xml/domains/domain[@name="confirmationCode"]/entry/@value)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="customsNetWeight" minOccurs="0">
				<xs:annotation>
					<xs:documentation>nur für import: Zollnettogewicht in kg (für Nettoverzollungen); Eigengewicht der Ware + Gewicht der unmittelbaren Umschliessung (ohne Transportverpackung)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="10"/>
						<xs:fractionDigits value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="additionalUnit" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Zusatzmenge; statistische Zusatzmenge z.B. Liter, Stückzahl, Quadratmeter...</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="10"/>
						<xs:fractionDigits value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="additionalUnitConfirmation" type="edecReceiptResponse:ConfirmationCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Richtigcode Warennummer (nicht gesetzt (0), gesetzt (1)) (Stammdaten: edecDomains.xml/domains/domain[@name="confirmationCode"]/entry/@value)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="materialCheck" type="edecReceiptResponse:YesNoCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>nur für import: Materielle Kontrolle, Revisionscode / Ladungskontrolle (ja (1), nein (0)) (Stammdaten)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="storageType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Lagercode; Status für Produkte, die der Mineralölsteuer unterliegen z.B. Einfuhr in freien Verkehr mit definitiver Steueranmeldung (1) … (Stammdaten: edecDomains.xml/domains/domain[@name="storageType"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="permitObligation">
				<xs:annotation>
					<xs:documentation>Bewilligungspflichtcode; Status über Bewilligungspflicht, z.B. nicht Bewilligungspflichtig (0), Bewilligungspflichtig (1) ... (Stammdaten: edecDomains.xml/domains/domain[@name="permitObligation"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="nonCustomsLawObligation">
				<xs:annotation>
					<xs:documentation>NZEPflichtcode; Status über Nichtzollrechtliche Erlasse, z.B. ohne Kontrolle (0), mit Kontrolle vor Freigabe der Ware  (1)... (Stammdaten: edecDomains.xml/domains/domain[@name="nonCustomsLawObligation"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="statistic" type="edecReceiptResponse:StatisticType">
				<xs:annotation>
					<xs:documentation>Verfahren / Statistik</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="origin" type="edecReceiptResponse:OriginType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>nur für import: Ursprung und Präferenz</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="repairAndRefinement" type="edecReceiptResponse:RepairAndRefinementType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Reparatur- und Veredelungsverkehr</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="goodsItemDetails" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Generisches Element, welches Detailinformationen zur Ware enthält, z.B. Zusammensetzung.</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="goodsItemDetail" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Generisches Element mit Child Elements name und value. Bei mehreren Details zu einem goodsItem gibt es mehrere goodsItemDetail Elemente: z.B. name="2" (Code für Fahrgestellnummer) value="12345"; oder name="4" value="10%" für 10% Anteil Stickstoff; oder name="25" value="1" für Tabaksorte Kentucky.</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="name">
										<xs:annotation>
											<xs:documentation>Z.B. bei Fahrzeugen name="1" (Code für Markenschlüssel); oder bei Tabak name="25" (Code für Tabaksorte). (Stammdaten: edecDomains.xml/domains/domain[@name="goodsItemDetailName"]/entry/@value)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:minLength value="1"/>
												<xs:maxLength value="20"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="value">
										<xs:annotation>
											<xs:documentation>Z.B. bei Fahrzeug Markenschlüsseln value="925" (Code für Markenschlüssel "Vorkswagen"); oder bei Tabak value="1" (Code für Tabaksorte Kentucky). Zu einigen value-Attributen gibt es Stammdaten, z.B edecDomains.xml/domains/domain[@name="vehicleModelCode"]/entry/@value</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:minLength value="1"/>
												<xs:maxLength value="50"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="refund" type="edecReceiptResponse:RefundType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Rückerstattung für flüchtig organische Stoffe; nur für e-dec Export relevant.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="packaging" type="edecReceiptResponse:PackagingType" maxOccurs="99">
				<xs:annotation>
					<xs:documentation>Packstück</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="valuationDetails" type="edecReceiptResponse:ValuationDetailsType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Detaillierte Auflistung der Abgaben und Mwst pro Warenposition. Je nachdem ob es sich um eine VVZ oder VVM handelt, muss das Element dutyAndAdditionalTaxes bzw. VAT benutzt werden. Nur für e-dec Import relevant (taxationDecisionCustomsDuties und taxationDecisionVAT).</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="specialMention" type="edecReceiptResponse:SpecialMentionType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation>besonderer Vermerk für Ware</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="producedDocument" type="edecReceiptResponse:ProducedDocumentType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation>Vorgelegte Unterlagen / Bescheinigungen</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="permit" type="edecReceiptResponse:PermitType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation>Bewilligung</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="nonCustomsLaw" type="edecReceiptResponse:NonCustomsLawType" minOccurs="0" maxOccurs="9">
				<xs:annotation>
					<xs:documentation>NZE; nichtzollrechtliche Erlasse.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="LegalAdvisoryType">
		<xs:annotation>
			<xs:documentation>Complex Type für Hinweis, Hinweis elektronische Veranlagungsverfügung, Rechtsmittelbelehrung</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="sequenceNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Reihenfolge; falls vorhanden definiert die Sequenznummer die Erscheinungsreihenfolge auf PDF Dokumenten.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:nonNegativeInteger">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="title">
				<xs:annotation>
					<xs:documentation>Titel der Rechtmittelbelehrung</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="100"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="text">
				<xs:annotation>
					<xs:documentation>Text der Rechtmittelbelehrung</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="5000"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="StatisticType">
		<xs:annotation>
			<xs:documentation>Complex Type Verfahren / Statistik</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="customsClearanceType">
				<xs:annotation>
					<xs:documentation>Veranlagungstyp (früher Abfertigungstyp), z.B. Code für Normalabfertigung (1), Veredelungsverkehr (2), Reparaturverkehr (3) … (Stammdaten: edecDomains.xml/domains/domain[@name="customsClearanceType"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="commercialGood">
				<xs:annotation>
					<xs:documentation>Handelsware, z.B. Code für Handelsware (1), Nichthandelsware (2) (Stammdaten: edecDomains.xml/domains/domain[@name="commercialGood"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="1"/>
						<xs:enumeration value="1"/>
						<xs:enumeration value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="statisticalValue">
				<xs:annotation>
					<xs:documentation>Statistischer Wert; Wert unverzollt in CHF ohne Nachkommastellen</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="10"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="statisticalValueConfirmation" type="edecReceiptResponse:ConfirmationCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Richtigcode Statistischer Wert unverzollt (gesetzt (1) / nicht gesetzt (0)) (Stammdaten: edecDomains.xml/domains/domain[@name="confirmationCode"]/entry/@value)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="repair" type="edecReceiptResponse:YesNoCode">
				<xs:annotation>
					<xs:documentation>Ausbesserung</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="OriginType">
		<xs:annotation>
			<xs:documentation>Complex Type Ursprung</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="originCountry" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Code Ursprungsland</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="preference" type="edecReceiptResponse:YesNoCode">
				<xs:annotation>
					<xs:documentation>Präferenz; Präferenzabfertigung (ja (1) /nein (0))</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="preferenceConfirmation" type="edecReceiptResponse:ConfirmationCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Richtigcode Warennummer (nicht gesetzt (0), gesetzt (1)) (Stammdaten: edecDomains.xml/domains/domain[@name="confirmationCode"]/entry/@value)</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PackagingType">
		<xs:annotation>
			<xs:documentation>Complex Type Packstück</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="packagingType">
				<xs:annotation>
					<xs:documentation>Verpackungscode, z.B. Karton, Palette ... (Stammdaten: edecDomains.xml/domains/domain[@name="packagingType"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="quantity" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Ware verpackt: Anzahl Packstücke angeben; Ware unverpackt: Stückzahl angeben; beim Verpackungstyp Massengut ist dieses Element optional .</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:nonNegativeInteger">
						<xs:totalDigits value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="packagingReferenceNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Zeichen (Nummer) Packstücke</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="42"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PermitType">
		<xs:annotation>
			<xs:documentation>Complex Type Bewilligung</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="permitType">
				<xs:annotation>
					<xs:documentation>Bewilligungstyp, z.B. Einzelbewilligung (1), Generaleinfuhrbewilligung (2), Gernerallizent (3) ... (Stammdaten: edecDomains.xml/domains/domain[@name="permitType"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="permitAuthority">
				<xs:annotation>
					<xs:documentation>Bewilligungsstellencode, z.B. Bundesamt für Landwirtschaft (1), Eidg. Alkoholverwaltung (2), Staatssekretariat für Wirtschaft (seco) (3) ... (Stammdaten: edecDomains.xml/domains/domain[@name="permitAuthority"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="permitNumber">
				<xs:annotation>
					<xs:documentation>Bewilligungsnummer</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="17"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="issueDate" type="edecReceiptResponse:DateWithoutTimezone" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Bewilligungsdatum im Format yyyy-mm-dd</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="additionalInformation" minOccurs="0">
				<xs:annotation>
					<xs:documentation>zusätzliche Angaben zur Bewilligung, z.B. bei Generaleinfurhbewilligung Zwischenhändler (wenn vorhanden)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="permitItemDetails" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Generisches Element, welches Detailinformationen zur Bewilligung enthält.</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="permitItemDetail" maxOccurs="99">
							<xs:annotation>
								<xs:documentation>Generisches Element mit Child Elements key und value. Bei mehreren Details zu einem permitItem gibt es mehrere permitItemDetail Elemente: z.B. key="2" (Anzahl vorhandene Einheiten gem. Bewilligung) value="123", oder key="4" (Wissenschaftliche Bezeichnung gem. CITES) value="348" (Boa constrictor imperator).</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="key">
										<xs:annotation>
											<xs:documentation>Schlüssel, z.B. Positionsnummer der Bewilligung (1), Anzahl vorhandene Einheiten gem. Bewilligung (2)... (Stammdaten: edecDomains.xml/domains/domain[@name="permitItemDetailKey"]/entry/@value)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:nonNegativeInteger">
												<xs:totalDigits value="4"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="value">
										<xs:annotation>
											<xs:documentation>Wert, z.B. Wissenschaftliche Bezeichnung gem. CITES: Boa constrictor imperator (348)... (Stammdaten: edecPermitItemDetails.xml/permitItemDetails/permitItemDetail[@name="scientificNameCITES"]/entry/@value)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:minLength value="1"/>
												<xs:maxLength value="50"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ProducedDocumentType">
		<xs:annotation>
			<xs:documentation>Complex Type vorgelegte Unterlage / Bescheinigung</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="documentType">
				<xs:annotation>
					<xs:documentation>Art Unterlage-Code; Bezeichnung für vorgelegte Unterlagen, z.B. APS-Ursprungszeugnis (865), EUR.1 Warenverkehrsbescheinigung (954) ... (Stammdaten: edecDomains.xml/domains/domain[@name="documentType"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="4"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="documentReferenceNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Zeichen (Nummer) Unterlage</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="issueDate" type="xs:date" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Datum der vorgelegten Unterlage / Bescheinigung im Format yyyy-mm-dd</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="additionalInformation" minOccurs="0">
				<xs:annotation>
					<xs:documentation>zusätzliche Angaben zur Bewilligung</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RepairAndRefinementType">
		<xs:annotation>
			<xs:documentation>Complex Type Reparatur- und Veredelungsverkehr</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="direction">
				<xs:annotation>
					<xs:documentation>Verkehrsrichtung; z.B. aktiv (1), passiv (2)... (Stammdaten: edecDomains.xml/domains/domain[@name="direction"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="refinementType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Veredelungstyp; z.B. Eigenveredelungsverkehr (1), Lohnveredelungsverkehr (2)... (Stammdaten: edecDomains.xml/domains/domain[@name="refinementType"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="processType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Verfahrenstyp; z.B. ordentliches Verfahren (1), besonderes Verfahren (2)... (Stammdaten: edecDomains.xml/domains/domain[@name="processType"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="billingType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Abrechnungstyp; z.B. Nichterhebungsverfahren (1), Rückerstattungsverfahren (2)... (Stammdaten: edecDomains.xml/domains/domain[@name="billingType"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="repairReason" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Art der Veredelung/Ausbesserung</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="1"/>
						<xs:maxLength value="280"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="NonCustomsLawType">
		<xs:annotation>
			<xs:documentation>Complex Type NZE</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="nonCustomsLawType">
				<xs:annotation>
					<xs:documentation>NZE-Artencode; nichtzollrechtliche Erlasse, die bei dieser Warenposition zu beachten sind, z.B. Fleisch und Fleischwaren (100), Pflanzenschutz (270), Abfälle (66) ... (Stammdaten: edecDomains.xml/domains/domain[@name="nonCustomsLawType"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RefundType">
		<xs:annotation>
			<xs:documentation>Complex Type Rückerstattung für flüchtig organische Stoffe. TODO. Begriffe abklären</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="refundType">
				<xs:annotation>
					<xs:documentation>Rückerstattungstyp; z.B. Alkohol, VOC LW (Stammdaten: edecDomains.xml/domains/domain[@name="refundType"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="VOCQuantity" minOccurs="0">
				<xs:annotation>
					<xs:documentation>VOC Menge</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="12"/>
						<xs:fractionDigits value="3"/>
						<xs:minInclusive value="0"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RefundImportType">
		<xs:annotation>
			<xs:documentation>Complex Type für übrige Einnahmen und Rückerstattungen</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="documentInformation" type="edecReceiptResponse:DocumentInformationType"/>
			<xs:element name="traderDeclarationNumber" type="edecReceiptResponse:traderDeclarationNumber">
				<xs:annotation>
					<xs:documentation>Zollanmeldungsnummer (früher Deklarationsnummer) Spediteur; bestimmte Sonderzeichen dürfen hier nicht vorkommen</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="traderReference" type="edecReceiptResponse:Reference" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Dossiernummer Spediteur</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="bordereauNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Bordereau Nummer</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="22"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="customsOffice" type="edecReceiptResponse:CustomsOfficeType">
				<xs:annotation>
					<xs:documentation>Zollstelle</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="accountHolder" type="edecReceiptResponse:AccountHolderType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Kontoinhaber; kann leer sein, wenn Kontonummer 0 (Barzahlung) ist</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="customsReference" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Referenz Zoll</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="personInCharge">
				<xs:annotation>
					<xs:documentation>Name des Sachbearbeiters</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="70"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="correctionReason" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Korrekturgrund bzw. Grund für Rückerstattung. (Stammdaten: edecDomains.xml/domains/domain[@name="correctionReason"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="valuationSummary" type="edecReceiptResponse:ValuationSummaryType">
				<xs:annotation>
					<xs:documentation>Informationen über Kontonummer und Belastungs- bzw. Vergütungsbetrag. Je nachdem ob es sich um eine VVZ oder VVM handelt, muss das Element dutyAndAdditionalTaxes bzw. VAT benutzt werden.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="legalAdvisory" type="edecReceiptResponse:LegalAdvisoryType" minOccurs="0" maxOccurs="9">
				<xs:annotation>
					<xs:documentation>Rechtsmittelbelehrung</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="comment" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Bemerkungen zum Dokument</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="otherElements" type="xs:anyType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Frei nutzbares Element</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ValuationDetailsType">
		<xs:annotation>
			<xs:documentation>Complex Type für Details zu Zoll und MWST</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="dutyAndAdditionalTaxes" type="edecReceiptResponse:ValuationDutyAndAdditionalTaxesDetailType">
				<xs:annotation>
					<xs:documentation>Veranlagungsverfügung Zoll; eine "Detail" Zeile enthält unter "type" den Cdoe für "Zoll", die weiteren enthalten Codes für Abgaben</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VAT" type="edecReceiptResponse:ValuationVATDetailType">
				<xs:annotation>
					<xs:documentation>Details für Veranlagungsverfügung MWST</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="ValuationDutyAndAdditionalTaxesDetailType">
		<xs:annotation>
			<xs:documentation>Complex Type für Details und Gesamtbetrag zu Einnahmen bzw. Abgaben</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="detail" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Details für Einnahmen bzw. Abgaben</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="type">
							<xs:annotation>
								<xs:documentation>Einnahmen- bzw. Abgabenart (Stammdaten)</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string"/>
							</xs:simpleType>
						</xs:element>
						<xs:element name="basisForAssessment" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Bemessungsgrundlage (Wert und Einheit)</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="40"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="rate" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Ansatz</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="100"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="key" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Zusatzabgabenschlüssel</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:decimal">
									<xs:totalDigits value="3"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="alcoholLevel" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Volumenprozent bei Alkohol</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:decimal">
									<xs:maxInclusive value="100"/>
									<xs:totalDigits value="4"/>
									<xs:fractionDigits value="1"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="amount" type="edecReceiptResponse:LargeAmountType">
							<xs:annotation>
								<xs:documentation>Betrag in CHF</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="comment" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Kommentar zu einzelnen Einnahmenarten, zu Minimalabgaben oder zu gerundeten Beträgen.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="totalAmount" type="edecReceiptResponse:LargeAmountType">
				<xs:annotation>
					<xs:documentation>Gesamtbetrag der "detail" Elemente in CHF</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="amountNotCharged" type="edecReceiptResponse:YesNoCode">
				<xs:annotation>
					<xs:documentation>Zeigt an, ob der Betrag erhoben wird oder nicht. 1 = Betrag wird nicht erhoben,0 = Betrag wird erhoben</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ValuationSummaryType">
		<xs:annotation>
			<xs:documentation>Complex Type für Zahlungsinformationen (Zoll oder MWST)</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="dutyAndAdditionalTaxes">
				<xs:annotation>
					<xs:documentation>Veranlagungsverfügung Zoll: Zoll und Abgaben</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="customsAccount" type="edecReceiptResponse:AccountType">
							<xs:annotation>
								<xs:documentation>Informationen über Kontonummer Zoll</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="paymentForbearance" type="edecReceiptResponse:YesNoCode" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Bei Veranlagungsverfügung Zoll: Zahlungsstundung; für Abfertigung von Tabak (ja (1), nein (0))</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="detailAmount" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Einnahme- bzw. Abgabenübersicht</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="type">
										<xs:annotation>
											<xs:documentation>Einnahmenart; eine Zeile enthält den Code für Zoll, die weiteren enthalten Codes für Abgaben. (Stammdaten)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="amount" type="edecReceiptResponse:LargeAmountType">
										<xs:annotation>
											<xs:documentation>Betrag in CHF</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="roundedAmount" type="edecReceiptResponse:YesNoCode">
										<xs:annotation>
											<xs:documentation>Zeigt an, ob der Betrag gerundet wurde oder ein Minimalbetrag ist. 1=gerundet,0=nicht gerundet</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="totalAmount" type="edecReceiptResponse:LargeAmountType">
							<xs:annotation>
								<xs:documentation>Zu erhaltender oder zu zahlender Totalbetrag. Summe der unter detailAmount aufgeführten Beträge.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="comment" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Kommentar zu Einnahmenarten die  Minimalabgaben oder gerundete Beträge enthalten.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="VAT">
				<xs:annotation>
					<xs:documentation>Veranlagungsverfügung Mwst</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="VATAccount" type="edecReceiptResponse:AccountType">
							<xs:annotation>
								<xs:documentation>Informationen über Kontonummer Mwst</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="VATNumber">
							<xs:annotation>
								<xs:documentation>Mehrwertsteuernummer</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="12"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="VATSuffix" type="edecReceiptResponse:YesNoCode" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Zusatz zum Feld Mehrwertsteuernummer (VATNumber). (0) falls im Feld Mehrwertsteuernummer keine UID MWST-Nummer steht. (1) falls im Feld Mehrwertsteuernummer eine UID MWST-Nummer steht.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="totalAmount" type="edecReceiptResponse:LargeAmountType">
							<xs:annotation>
								<xs:documentation>Zu erhaltender oder zu zahlender Mwst-Betrag</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="amountNotCharged" type="edecReceiptResponse:YesNoCode">
							<xs:annotation>
								<xs:documentation>Zeigt an, ob der Betrag erhoben wird oder nicht. 1 = Betrag wird nicht erhoben,0 = Betrag wird erhoben</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="ValuationVATDetailType">
		<xs:annotation>
			<xs:documentation>Complex Type für Mwst Details</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="VATValue" type="edecReceiptResponse:LargeAmountType">
				<xs:annotation>
					<xs:documentation>Mwst Wert in CHF</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VATValueConfirmation" type="edecReceiptResponse:ConfirmationCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Richtigcode MwstWert (nicht gesetzt (0), gesetzt (1)) (Stammdaten: edecDomains.xml/domains/domain[@name="confirmationCode"]/entry/@value)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="duties" type="edecReceiptResponse:LargeAmountType">
				<xs:annotation>
					<xs:documentation>Abgaben gemäss Veranlagungsverfügung Zoll</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="basisForAssessment" type="edecReceiptResponse:LargeAmountType">
				<xs:annotation>
					<xs:documentation>Bemessungsgrundlage Mwst in CHF</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="rate">
				<xs:annotation>
					<xs:documentation>Ansatz in %</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:decimal">
						<xs:totalDigits value="7"/>
						<xs:fractionDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="amount" type="edecReceiptResponse:LargeAmountType">
				<xs:annotation>
					<xs:documentation>Betrag in CHF</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="amountNotCharged" type="edecReceiptResponse:YesNoCode">
				<xs:annotation>
					<xs:documentation>Zeigt an, ob der Betrag erhoben wird oder nicht. 1 = Betrag wird nicht erhoben,0 = Betrag wird erhoben</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="comment" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Kommentar zu Mwst</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TaxationDecisionImportType">
		<xs:annotation>
			<xs:documentation>Complex Type für Veranlagungsverfügungen Import</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="documentInformation" type="edecReceiptResponse:DocumentInformationType">
				<xs:annotation>
					<xs:documentation>Informationen über das Dokument</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="traderDeclarationNumber" type="edecReceiptResponse:traderDeclarationNumber">
				<xs:annotation>
					<xs:documentation>Zollanmeldungsnummer (früher Deklarationsnummer) Spediteur; bestimmte Sonderzeichen dürfen hier nicht vorkommen</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="traderReference" type="edecReceiptResponse:Reference" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Dossiernummer Spediteur</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="bordereauNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Bordereau Nummer</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="22"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="accessCode" type="edecReceiptResponse:AccessCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Zugangscode für Bezug von elektronischen Dokumenten über die Web Applikation 'Zugangscode GUI'.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="acceptanceDate" type="edecReceiptResponse:DateWithoutTimezone">
				<xs:annotation>
					<xs:documentation>Annahmedatum im Format yyyy-mm-dd</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="acceptanceTime" type="xs:time">
				<xs:annotation>
					<xs:documentation>Annahmezeit im Format hh:mm:ss</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="declarationType">
				<xs:annotation>
					<xs:documentation>Anmeldungstyp, z.B. definitiv (1), provisorisch(2), andere Zwischenabfertigung (3) ... (Stammdaten)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="correctionCode">
				<xs:annotation>
					<xs:documentation>Korrekturcode; Status der Einfuhrzollanmeldung: Annullation (0), Erstübermittlung (1), Korrektur (2), erneute Anforderung von Rückmeldung und PDF (3) (Stammdaten: edecDomains.xml/domains/domain[@name="correctionCode"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:enumeration value="0"/>
						<xs:enumeration value="1"/>
						<xs:enumeration value="2"/>
						<xs:enumeration value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="reason" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Begründung; Grund der provisorischen Abfertigung, z.B. Ursprungsnachweis für Länder der EU (1), Ursprungsnachweis für Länder der EFTA (2), Ursprungsnachweis für Länder der aFHA (3) ... 
(Stammdaten)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="dispatchCountry" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Ländercode für Erzeugungsland; aus welchem Land wird Ware importiert; nur für e-dec Import relevant (Stammdaten: edecCountries.xml/countries/country/@isoCode)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="dispatchCountryConfirmation" type="edecReceiptResponse:ConfirmationCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Richtigcode Warennummer (nicht gesetzt (0), gesetzt (1)) (Stammdaten: edecDomains.xml/domains/domain[@name="confirmationCode"]/entry/@value)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="transportMeans" type="edecReceiptResponse:TransportMeansType">
				<xs:annotation>
					<xs:documentation>Beförderung</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="transportInContainer" type="edecReceiptResponse:YesNoCode">
				<xs:annotation>
					<xs:documentation>Container. Werte: ja (1), nein (0); Flag 1 gesetzt, wenn Beförderung in Container (Stammdaten: edecDomains.xml/domains/domain[@name="yesNoCode"]/entry/@value)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="container" type="edecReceiptResponse:ContainerType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation>Container</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="previousDocument" type="edecReceiptResponse:PreviousDocumentType" minOccurs="0" maxOccurs="9">
				<xs:annotation>
					<xs:documentation>summarische Anmeldung / Vorpapiere</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="specialMention" type="edecReceiptResponse:SpecialMentionType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation>besonderer Vermerk für Zollanmeldung</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="customsOffice" type="edecReceiptResponse:CustomsOfficeType">
				<xs:annotation>
					<xs:documentation>Zollstelleninformation</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="consignor" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Versender / Ausführer</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:complexContent>
						<xs:extension base="edecReceiptResponse:AddressType">
							<xs:sequence>
								<xs:element name="consignorReference" type="edecReceiptResponse:Reference" minOccurs="0">
									<xs:annotation>
										<xs:documentation>Versender Referenz</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:extension>
					</xs:complexContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="importer" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Importeur</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:complexContent>
						<xs:extension base="edecReceiptResponse:AddressType">
							<xs:sequence>
								<xs:element name="importerReference" type="edecReceiptResponse:Reference" minOccurs="0">
									<xs:annotation>
										<xs:documentation>Importeur Referenz</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:extension>
					</xs:complexContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="consignee">
				<xs:annotation>
					<xs:documentation>Empfänger</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:complexContent>
						<xs:extension base="edecReceiptResponse:AddressType">
							<xs:sequence>
								<xs:element name="consigneeReference" type="edecReceiptResponse:Reference" minOccurs="0">
									<xs:annotation>
										<xs:documentation>Empfänger Referenz</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:extension>
					</xs:complexContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="declarant" type="edecReceiptResponse:DeclarantType">
				<xs:annotation>
					<xs:documentation>Informationen zum Spediteur und Deklarant</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="authorizedConsignee" minOccurs="0">
				<xs:annotation>
					<xs:documentation>ZE</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:complexContent>
						<xs:extension base="edecReceiptResponse:AddressType">
							<xs:sequence>
								<xs:element name="authorizedConsigneeReference" type="edecReceiptResponse:Reference" minOccurs="0">
									<xs:annotation>
										<xs:documentation>ZE Referenz</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:extension>
					</xs:complexContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="valuationSummary" type="edecReceiptResponse:ValuationSummaryType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Informationen über Kontonummer und Belastungs- bzw. Vergütungsbetrag. Je nachdem ob es sich um eine VVZ oder VVM handelt, muss das Element dutyAndAdditionalTaxes bzw. VAT benutzt werden.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="incoterms" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Incoterms, z.B. CFR, EXW, FCA, FAS ... (Stammdaten: edecDomains.xml/domains/domain[@name="incoterms"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="invoiceCurrencyType">
				<xs:annotation>
					<xs:documentation>Rechnungswährungscode, z.B. CHF (1), EUR (2), andere Währungen von EU-Ländern (3) … (Stammdaten: edecDomains.xml/domains/domain[@name="invoiceCurrencyType"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:nonNegativeInteger">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="numberOfGoodsItems">
				<xs:annotation>
					<xs:documentation>Anzahl Warenpositionen</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="6"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="goodsItem" type="edecReceiptResponse:GoodsItemType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Informationen über deklarierte Waren</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="legalAdvisory" type="edecReceiptResponse:LegalAdvisoryType" minOccurs="0" maxOccurs="9">
				<xs:annotation>
					<xs:documentation>Rechtsmittelbelehrungen</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="comment" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Bemerkungen zum Dokument</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="otherElements" type="xs:anyType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Frei nutzbares Element</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TaxationDecisionExportType">
		<xs:annotation>
			<xs:documentation>Complex Type für Export Veranlagungsverfügungen</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="documentInformation" type="edecReceiptResponse:DocumentInformationType">
				<xs:annotation>
					<xs:documentation>Informationen über das Dokument</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="traderDeclarationNumber" type="edecReceiptResponse:traderDeclarationNumber">
				<xs:annotation>
					<xs:documentation>Zollanmeldungsnummer (früher Deklarationsnummer) Spediteur; bestimmte Sonderzeichen dürfen hier nicht vorkommen</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="traderReference" type="edecReceiptResponse:Reference" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Dossiernummer Spediteur</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="accessCode" type="edecReceiptResponse:AccessCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Zugangscode für Bezug von elektronischen Dokumenten über die Web Applikation 'Zugangscode GUI'.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="acceptanceDate" type="edecReceiptResponse:DateWithoutTimezone">
				<xs:annotation>
					<xs:documentation>Annahmedatum im Format yyyy-mm-dd</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="acceptanceTime" type="xs:time">
				<xs:annotation>
					<xs:documentation>Annahmezeit im Format hh:mm:ss</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="declarationType">
				<xs:annotation>
					<xs:documentation>Anmeldungstyp, z.B. definitiv (1), provisorisch(2), andere Zwischenabfertigung (3) ... (Stammdaten)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="correctionCode">
				<xs:annotation>
					<xs:documentation>Korrekturcode; Status der Einfuhrzollanmeldung: Annullation (0), Erstübermittlung (1), Korrektur (2), erneute Anforderung von Rückmeldung und PDF (3) (Stammdaten: edecDomains.xml/domains/domain[@name="correctionCode"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:enumeration value="0"/>
						<xs:enumeration value="1"/>
						<xs:enumeration value="2"/>
						<xs:enumeration value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="reason" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Begründung; Grund der provisorischen Abfertigung, z.B. Ursprungsnachweis für Länder der EU (1), Ursprungsnachweis für Länder der EFTA (2), Ursprungsnachweis für Länder der aFHA (3) ... 
(Stammdaten)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="deliveryDestination">
				<xs:annotation>
					<xs:documentation>Ländercode für Bestimmungsland; (Stammdaten: edecCountries.xml/countries/country/@isoCode)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="transportMeans" type="edecReceiptResponse:TransportMeansType">
				<xs:annotation>
					<xs:documentation>Beförderung</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="transportInContainer" type="edecReceiptResponse:YesNoCode">
				<xs:annotation>
					<xs:documentation>Container. Werte: ja (1), nein (0); Flag 1 gesetzt, wenn Beförderung in Container (Stammdaten: edecDomains.xml/domains/domain[@name="yesNoCode"]/entry/@value)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="container" type="edecReceiptResponse:ContainerType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation>Container</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="previousDocument" type="edecReceiptResponse:PreviousDocumentType" minOccurs="0" maxOccurs="9">
				<xs:annotation>
					<xs:documentation>summarische Anmeldung / Vorpapiere</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="specialMention" type="edecReceiptResponse:SpecialMentionType" minOccurs="0" maxOccurs="99">
				<xs:annotation>
					<xs:documentation>besonderer Vermerk für Zollanmeldung</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="customsOffice" type="edecReceiptResponse:CustomsOfficeType">
				<xs:annotation>
					<xs:documentation>Zollstelleninformation</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="consignor" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Versender / Ausführer</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:complexContent>
						<xs:extension base="edecReceiptResponse:AddressType">
							<xs:sequence>
								<xs:element name="consignorReference" type="edecReceiptResponse:Reference" minOccurs="0">
									<xs:annotation>
										<xs:documentation>Versender Referenz</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:extension>
					</xs:complexContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="consignee">
				<xs:annotation>
					<xs:documentation>Empfänger</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:complexContent>
						<xs:extension base="edecReceiptResponse:AddressType">
							<xs:sequence>
								<xs:element name="consigneeReference" type="edecReceiptResponse:Reference" minOccurs="0">
									<xs:annotation>
										<xs:documentation>Empfänger Referenz</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:extension>
					</xs:complexContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="declarant" type="edecReceiptResponse:DeclarantType">
				<xs:annotation>
					<xs:documentation>Informationen zum Spediteur und Deklarant</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="carrier" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Transporteur</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:complexContent>
						<xs:extension base="edecReceiptResponse:AddressType">
							<xs:sequence>
								<xs:element name="carrierReference" type="edecReceiptResponse:Reference" minOccurs="0">
									<xs:annotation>
										<xs:documentation>Transporteur Referenz</xs:documentation>
									</xs:annotation>
								</xs:element>
							</xs:sequence>
						</xs:extension>
					</xs:complexContent>
				</xs:complexType>
			</xs:element>
			<xs:element name="VATNumber">
				<xs:annotation>
					<xs:documentation>Mehrwertsteuernummer</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="12"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="VATSuffix" type="edecReceiptResponse:YesNoCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Zusatz zum Feld Mehrwertsteuernummer (VATNumber). (0) falls im Feld Mehrwertsteuernummer keine UID MWST-Nummer steht. (1) falls im Feld Mehrwertsteuernummer eine UID Mwst-Nummer steht.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="incoterms" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Incoterms, z.B. CFR, EXW, FCA, FAS ... (Stammdaten: edecDomains.xml/domains/domain[@name="incoterms"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="invoiceCurrencyType">
				<xs:annotation>
					<xs:documentation>Rechnungswährungscode, z.B. CHF (1), EUR (2), andere Währungen von EU-Ländern (3) … (Stammdaten: edecDomains.xml/domains/domain[@name="invoiceCurrencyType"]/entry/@value)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:nonNegativeInteger">
						<xs:totalDigits value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="numberOfGoodsItems">
				<xs:annotation>
					<xs:documentation>Anzahl Warenpositionen</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="6"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="goodsItem" type="edecReceiptResponse:GoodsItemType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Informationen über deklarierte Waren</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="legalAdvisory" type="edecReceiptResponse:LegalAdvisoryType" minOccurs="0" maxOccurs="9">
				<xs:annotation>
					<xs:documentation>Rechtsmittelbelehrung</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="comment" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Bemerkungen zum Dokument</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="otherElements" type="xs:anyType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Frei nutzbares Element</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DeclarantType">
		<xs:annotation>
			<xs:documentation>Complex Type Deklarant</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="traderIdentificationNumber" type="edecReceiptResponse:TraderIdentificationNumber">
				<xs:annotation>
					<xs:documentation>Trader Identification Number (TIN) oder UID; früher traderNumber, enthält die Spediteurnummer (Stammdaten)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="declarantNumber">
				<xs:annotation>
					<xs:documentation>Deklarantennummer (Mitarbeiter) (Stammdaten)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:totalDigits value="6"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="name" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Name</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="street" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Strasse und Hausnummer</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="postalCode" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Postleitzahl PLZ (Stammdaten: edecPostalCodes.xml/postalCodes/postalCode/@number)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="9"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="city" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Stadt</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="35"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="country" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Land (Stammdaten: edecCountries.xml/countries/country/@isoCode)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ReceiptRequestRejectionType">
		<xs:annotation>
			<xs:documentation>Complex Type für Behler beim Abruf von einer Veranlagungsverfügung / Quittung</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="rejectionDate" type="xs:date">
				<xs:annotation>
					<xs:documentation>Ablehnungsdatum im Format yyyy-mm-dd</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="rejectionTime" type="xs:time">
				<xs:annotation>
					<xs:documentation>Ablehnungsuhrzeit</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="errors">
				<xs:annotation>
					<xs:documentation>Fehlermeldungen; es gibt zwei Arten von Fehlern. Von diesen Fehlerarten kann aber immer nur eine aufs Mal auftreten.</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:annotation>
						<xs:documentation>Ablehnung einer Korrektur oder einer Annullierung durch den Zoll.</xs:documentation>
					</xs:annotation>
					<xs:choice>
						<xs:element name="XMLSchemaErrors" type="edecReceiptResponse:XMLSchemaErrorType">
							<xs:annotation>
								<xs:documentation>Fehler, die bei der Validierung mit dem XML Schema aufgetreten sind.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="ruleErrors" type="edecReceiptResponse:RuleErrorType">
							<xs:annotation>
								<xs:documentation>Fehler, die bei der Plausibilisierung aufgetreten sind.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:choice>
				</xs:complexType>
			</xs:element>
			<xs:element name="otherElements" type="xs:anyType" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Frei nutzbares Element</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="XMLSchemaErrorType">
		<xs:annotation>
			<xs:documentation>Complex Type für Fehlermeldungen, die auf Grund der Validierung mit dem XML Schema entstanden sind.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="schema">
				<xs:annotation>
					<xs:documentation>Informationen über das Schema, das zur Validierung benutz wurde.</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="location" type="xs:anyURI">
							<xs:annotation>
								<xs:documentation>URL des XML Schemas</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="namespace" type="xs:anyURI" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Namespace des XML Schemas</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="version" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Version des XML Schemas</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="20"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="parser">
				<xs:annotation>
					<xs:documentation>Informationen über den Parser, der die Fehlermeldungen generiert hat</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="name">
							<xs:annotation>
								<xs:documentation>Name des Parsers</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="50"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="reference" type="xs:anyURI" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Link zum Parser oder zur Dokumentation</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="error" type="edecReceiptResponse:ErrorType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Informationen über Fehler</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="RuleErrorType">
		<xs:annotation>
			<xs:documentation>Complex Type für Fehlermeldungen, die auf Grund der Plausi-Regeln entstanden sind.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="traderDeclarationNumber" type="edecReceiptResponse:traderDeclarationNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Anmeldungsnummer Deklarant (früher: Deklarationsnummer Spediteur).
					Ist optional, weil bei einer ReceiptList-Abfrage oder einem technischen Fehler diese Information nicht vorhanden ist.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="traderReference" type="edecReceiptResponse:Reference" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Dossiernummer Zollkunde</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="customsDeclarationNumber" type="edecReceiptResponse:customsDeclarationNumber" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Zollanmeldungsnummer Zoll; wir nur bei Fällen gefüllt, in denen es keine traderDeclarationNumber gibt (z.B. bei selectionAndTransit Abfrage einer nicht existierenden customsDeclarationNumber). In diesem Fall bleibt das Element traderDeclarationNumber leer.
					Ist optional, weil bei einer ReceiptList-Abfrage oder einem technischen Fehler diese Information nicht vorhanden ist.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="declarant" type="edecReceiptResponse:DeclarantType" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Deklarant. TIN bzw. Spediteurnummer oder UID, Deklarantennummer und Zollanmeldungsnummer.
					 Ist optional, weil bei einer ReceiptList-Abfrage oder einem technischen Fehler diese Information nicht vorhanden ist.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ruleEngine" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Informationen über das Programm, das die Regeln geprüft und die Fehlermeldungen generiert hat</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="name" type="xs:string">
							<xs:annotation>
								<xs:documentation>Name des Programms</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="reference" type="xs:string" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Link zum Hersteller oder zur Dokumentation</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="error" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Informationen über Fehler</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ruleName">
							<xs:annotation>
								<xs:documentation>Name der Regel, die zur Plausibilisierung benutz wurde.</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="50"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="ruleID" minOccurs="0">
							<xs:annotation>
								<xs:documentation>ID oder Nummer der Regel (wird zurzeit nicht benutzt)</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="ruleVersion" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Version der Regel (wird zurzeit nicht benutzt)</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="errorCode" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Code der Fehlermeldung (wird zurzeit nicht benutzt)</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="checkType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Gibt an, welcher Fehlertyp aufgetreten ist.</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="150"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="reference" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Referenz zum Element, bei dem ein Fehler aufgetreten ist</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="50"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="referencedElements" type="edecReceiptResponse:ReferencedElementType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Liste der Elemente bei denen der Fehler aufgetaucht ist.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="descriptions" type="edecReceiptResponse:DescriptionType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Liste der Fehlerbeschreibungen in mehreren Sprachen (DE, FR, IT)</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ErrorType">
		<xs:annotation>
			<xs:documentation>Complex Type zur Abbildung von Fehlern</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="message" type="xs:string">
				<xs:annotation>
					<xs:documentation>original Fehlermeldung</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="errorLine" type="xs:integer" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Zeile, auf der die Fehlermeldung aufgetauch ist (wird zurzeit nicht genutzt).</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="errorColumn" type="xs:integer" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Spalte, in der die Fehlermeldung aufgetauch ist  (wird zurzeit nicht genutzt).</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="elementName" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Elementname, bei dem der Fehler aufgetaucht ist  (wird zurzeit nicht genutzt).</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ReferencedElementType">
		<xs:annotation>
			<xs:documentation>Complex Type für Referenzen</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="referencedElement" type="edecReceiptResponse:DescriptionType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Referenzierung des fehlerhaften Elements in XPath Syntax (wird zurzeit nicht genutzt).</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="DescriptionType">
		<xs:annotation>
			<xs:documentation>Complex Type zur Abbildungen von Fehlerbeschreibungen in mehreren Sprachen</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="description" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Beschreibung in einer Sprache</xs:documentation>
				</xs:annotation>
				<xs:complexType mixed="true">
					<xs:attribute name="language" type="xs:language" use="required"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ReceiptListType">
		<xs:annotation>
			<xs:documentation>Complex Type zur Beschreibung von eine Liste mit Meta-Informationen über Quittungen.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="receiptRequestSummary">
				<xs:annotation>
					<xs:documentation>Informationen über das Suchergebnis</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="numberOfDocumentsFound" type="xs:nonNegativeInteger">
							<xs:annotation>
								<xs:documentation>Anzahl gefundener Veranlagungsverfügungen; falls keine VV den Suchkriterien entspricht wird 0 zurückgegeben und das Element receiptInfo fehlt.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="requestDate" type="xs:date">
							<xs:annotation>
								<xs:documentation>Abfragedatum im Format yyyy-mm-dd</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="requestTime" type="xs:time">
							<xs:annotation>
								<xs:documentation>Uhrzeit der Abfrage</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="receiptInformation" minOccurs="0" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Informationen zu einer gefundenen Veranlagungsverfügung</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="documentType" type="edecReceiptResponse:DocumentTypeList">
							<xs:annotation>
								<xs:documentation>Dokumenttyp; Art der Quittung; Mögliche Werte: Veranlagungsverfügung Zoll VVZ (taxationDecisionCustomsDuties), Veranlagungsverfügung Mehrwertsteuer VVM (taxationDecisionVAT), Veranlagungsverfügung Export (taxationDecisionExport), Rückerstattungen Zoll (refundCustomsDuties) und Rückerstattungen Mwst (refundVAT).</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="customsDeclarationNumber" type="edecReceiptResponse:customsDeclarationNumber">
							<xs:annotation>
								<xs:documentation>Zollanmeldungsnummer Zoll</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="customsDeclarationVersion" type="edecReceiptResponse:customsDeclarationVersion">
							<xs:annotation>
								<xs:documentation>Versionsnummer der Zollanmeldung, die dem Dokument zugrunde liegt. Es gibt nicht zwingend zu jeder Version einer Zollanmeldung eine Veranlagungsverfügung.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="documentDate" type="xs:date">
							<xs:annotation>
								<xs:documentation>Erstellungsdatum des Dokuments im Format yyyy-mm-dd</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="documentTime" type="xs:time">
							<xs:annotation>
								<xs:documentation>Erstellungszeit des Dokuments im Format hh:mm:ss</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="accountNumber" type="edecReceiptResponse:AccountNumber" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Konto Zoll, Mwst etc; Kontonummer des Spediteurs beim Zoll. Die Kontonummer kann einen Bindestrich enthalten und ist bei der TaxationDecisionExport nicht gesetzt.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="customsOfficeNumber">
							<xs:annotation>
								<xs:documentation>Zollstellennummer (Stammdaten: edecCustomsOffices.xml/customsOffices/customsOffice/@number)</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:minLength value="1"/>
									<xs:maxLength value="8"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="consigneeName">
							<xs:annotation>
								<xs:documentation>Empfängername aus der Zollanmeldung</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:minLength value="1"/>
									<xs:maxLength value="35"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="traderIdentificationNumber" type="edecReceiptResponse:TraderIdentificationNumber">
							<xs:annotation>
								<xs:documentation>Trader Identification Number TIN oder UID</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="transportationNumber" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Beförderungsmittel Kennzeichen, z.B. Kontrollschild des LKW, Zugs-Nr. etc.</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="27"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="ConfirmationCode">
		<xs:annotation>
			<xs:documentation>Simple Type mit Werteliste für Richtigcode Flags. nicht gesetzt=0, gesetzt=1. Entspricht den Stammdaten in edecDomains.xml/domains/domain[@name="confirmationCode"]/entry/@value</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<xs:enumeration value="0"/>
			<xs:enumeration value="1"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="customsDeclarationNumber">
		<xs:annotation>
			<xs:documentation>Zollanmeldungsnummer Zoll (früher Deklarationsnummer Zoll) (bei Export entspricht die Referenz der Movement Reference Number, MRN)</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="21"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="customsDeclarationVersion">
		<xs:annotation>
			<xs:documentation>Versionsnummer der Zollanmeldung. Wird von e-dec vergeben.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<xs:totalDigits value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DateWithoutTimezone">
		<xs:annotation>
			<xs:documentation>Simple Type mit Datum ohne Zeitzonenangabe (Format yyyy-mm-dd)</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:date">
			<xs:pattern value="[0-9]{4}-[0-9]{2}-[0-9]{2}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="DocumentTypeList">
		<xs:annotation>
			<xs:documentation>Simple Type für Dokumenttyp</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="taxationDecisionCustomsDuties"/>
			<xs:enumeration value="taxationDecisionVAT"/>
			<xs:enumeration value="taxationDecisionExport"/>
			<xs:enumeration value="refundCustomsDuties"/>
			<xs:enumeration value="refundVAT"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="LargeAmountType">
		<xs:annotation>
			<xs:documentation>Simple Type für grosse Beträge.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:decimal">
			<xs:totalDigits value="12"/>
			<xs:fractionDigits value="4"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TraderIdentificationNumber">
		<xs:annotation>
			<xs:documentation>Simple Type für TraderIdentificationNumber (Spediteurnummer, TIN oder UID)</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="17"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="traderDeclarationNumber">
		<xs:annotation>
			<xs:documentation>Zollanmeldungsnummer Zollkunde (früher Deklarationsnummer Spediteur)</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="22"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="Reference">
		<xs:annotation>
			<xs:documentation>Simple Type für Referenzen</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="YesNoCode">
		<xs:annotation>
			<xs:documentation>Simple Type mit Werteliste für ja-nein Flags. nein=0, ja=1</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<xs:enumeration value="0"/>
			<xs:enumeration value="1"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AccountNumber">
		<xs:annotation>
			<xs:documentation>Simple Type für Kontonummer des Zoll- oder Mwst-Kontos des Spediteurs.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:nonNegativeInteger">
			<xs:totalDigits value="8"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="AccessCode">
		<xs:annotation>
			<xs:documentation>Zugangscode für Bezug von elektronischen Dokumenten; Code kann vom Spediteur an den Endkunden weitergegeben werden, damit dieser Veranlagungsverfügungen über die Web Applikation 'Zugangscode GUI' beziehen kann.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="20"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
