Table of Contents
Target Namespace
http://www.e-dec.ch/xml/schema/edecReceiptResponse/v3
Version
3.0
Element and Attribute Namespaces
Global element and attribute declarations belong to this schema's target namespace.
By default, local element declarations belong to this schema's target namespace.
By default, local attribute declarations have no namespace.
Declared Namespaces
Prefix
Namespace
xml
http://www.w3.org/XML/1998/namespace
edecReceiptResponse
http://www.e-dec.ch/xml/schema/edecReceiptResponse/v3
xs
http://www.w3.org/2001/XMLSchema
Schema Component Representation
<
xs:schema targetNamespace ="
http://www.e-dec.ch/xml/schema/edecReceiptResponse/v3 "
elementFormDefault ="
qualified "
attributeFormDefault ="
unqualified "
version ="
3.0 ">
...
</
xs:schema >
Name
receiptRequestResponse
Type
Locally-defined complex type
Nillable
no
Abstract
no
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.
Diagram
Schema Component Representation
<
xs:element name ="
receiptRequestResponse ">
<
xs:complexType >
<
xs:sequence >
</
xs:sequence >
<
xs:attribute name ="
schemaVersion "
use ="
required ">
<
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 >
Super-types:
None
Sub-types:
None
Name
AccountHolderType
Abstract
no
Documentation
Adresse des Kontoinhabers
Diagram
Schema Component Representation
<
xs:complexType name ="
AccountHolderType ">
<
xs:sequence >
<
xs:element name ="
addressLine "
minOccurs ="
0 "
maxOccurs ="
7 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string"/>
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
postalCode ">
<
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: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:simpleType >
<
xs:restriction base ="
xs :string">
<xs:length value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
AccountType
Abstract
no
Documentation
Complex Type für Konto
Diagram
Schema Component Representation
<
xs:complexType name ="
AccountType ">
<
xs:sequence >
<
xs:element name ="
accountType ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string"/>
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
accountName "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="50 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
AddressType
Abstract
no
Documentation
Complex Type Adresse
Diagram
Schema Component Representation
<
xs:complexType name ="
AddressType ">
<
xs:sequence >
<
xs:element name ="
name ">
<
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: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: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:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="35 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
addressSupplement3 "
minOccurs ="
0 ">
<
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: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: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:simpleType >
<
xs:restriction base ="
xs :string">
<xs:length value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ContainerType
Abstract
no
Documentation
Complex Type Container
Diagram
Schema Component Representation
<
xs:complexType name ="
ContainerType ">
<
xs:sequence >
<
xs:element name ="
containerNumber ">
<
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 >
Super-types:
None
Sub-types:
None
Name
CustomsOfficeType
Abstract
no
Documentation
Complex Type für Dienststelle
Diagram
Schema Component Representation
<
xs:complexType name ="
CustomsOfficeType ">
<
xs:sequence >
<
xs:element name ="
customsOfficeNumber ">
<
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:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="20 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
name ">
<
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: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: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:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="35 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
postalCode ">
<
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: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:simpleType >
<
xs:restriction base ="
xs :string">
<xs:length value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
DeclarantType
Abstract
no
Documentation
Complex Type Deklarant
Diagram
Schema Component Representation
<
xs:complexType name ="
DeclarantType ">
<
xs:sequence >
<
xs:element name ="
declarantNumber ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="6 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
name "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="35 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
street "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="35 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
postalCode "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="9 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
city "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="35 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
country "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:length value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
DescriptionType
Abstract
no
Documentation
Complex Type zur Abbildungen von Fehlerbeschreibungen in mehreren Sprachen
Diagram
Schema Component Representation
<
xs:complexType name ="
DescriptionType ">
<
xs:sequence >
<
xs:element name ="
description "
maxOccurs ="
unbounded ">
<
xs:complexType mixed ="
true ">
<
xs:attribute name ="
language "
type ="
xs :language"
use ="
required "/>
</
xs:complexType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
DocumentInformationType
Abstract
no
Documentation
Complex Type für Informationen über das Dokument (Metadaten)
Diagram
Schema Component Representation
<
xs:complexType name ="
DocumentInformationType ">
<
xs:sequence >
<
xs:element name ="
documentType "
minOccurs ="
0 ">
<
xs:simpleType >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
documentTitle ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="80 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
documentSubTitle "
minOccurs ="
0 ">
<
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:element name ="
documentTime "
type ="
xs :time"/>
<
xs:element name ="
documentNumber ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="30 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
documentVersion ">
<
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:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ErrorType
Abstract
no
Documentation
Complex Type zur Abbildung von Fehlern
Diagram
Schema Component Representation
<
xs:complexType name ="
ErrorType ">
<
xs:sequence >
<
xs:element name ="
message "
type ="
xs :string"/>
<
xs:element name ="
errorLine "
type ="
xs :integer"
minOccurs ="
0 "/>
<
xs:element name ="
errorColumn "
type ="
xs :integer"
minOccurs ="
0 "/>
<
xs:element name ="
elementName "
type ="
xs :string"
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
GoodsItemType
Abstract
no
Documentation
Complex Type für Informationen über deklarierte Warenpositionen
Diagram
Schema Component Representation
<
xs:complexType name ="
GoodsItemType ">
<
xs:sequence >
<
xs:element name ="
customsItemNumber ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="5 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
description ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="280 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
commodityCode ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="9 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
customsFavourCode "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="3 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
statisticalCode "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :nonNegativeInteger">
<xs:totalDigits value ="3 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
grossMass ">
<
xs:simpleType >
<
xs:restriction base ="
xs :decimal">
<xs:totalDigits value ="12 "/>
<xs:fractionDigits value ="3 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
netMass "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :decimal">
<xs:totalDigits value ="12 "/>
<xs:fractionDigits value ="3 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
customsNetWeight "
minOccurs ="
0 ">
<
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:simpleType >
<
xs:restriction base ="
xs :decimal">
<xs:totalDigits value ="10 "/>
<xs:fractionDigits value ="1 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
storageType "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
permitObligation ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="1 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
nonCustomsLawObligation ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="1 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
goodsItemDetails "
minOccurs ="
0 ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
goodsItemDetail "
maxOccurs ="
unbounded ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
name ">
<
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: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 >
Super-types:
None
Sub-types:
None
Name
LegalAdvisoryType
Abstract
no
Documentation
Complex Type für Hinweis, Hinweis elektronische Veranlagungsverfügung, Rechtsmittelbelehrung
Diagram
Schema Component Representation
<
xs:complexType name ="
LegalAdvisoryType ">
<
xs:sequence >
<
xs:element name ="
sequenceNumber "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :nonNegativeInteger">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
title ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="100 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
text ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="5000 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
NonCustomsLawType
Abstract
no
Documentation
Complex Type NZE
Diagram
Schema Component Representation
<
xs:complexType name ="
NonCustomsLawType ">
<
xs:sequence >
<
xs:element name ="
nonCustomsLawType ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="3 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
OriginType
Abstract
no
Documentation
Complex Type Ursprung
Diagram
Schema Component Representation
<
xs:complexType name ="
OriginType ">
<
xs:sequence >
<
xs:element name ="
originCountry "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:length value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
PackagingType
Abstract
no
Documentation
Complex Type Packstück
Diagram
Schema Component Representation
<
xs:complexType name ="
PackagingType ">
<
xs:sequence >
<
xs:element name ="
packagingType ">
<
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:simpleType >
<
xs:restriction base ="
xs :nonNegativeInteger">
<xs:totalDigits value ="5 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
packagingReferenceNumber "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="42 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
PermitType
Abstract
no
Documentation
Complex Type Bewilligung
Diagram
Schema Component Representation
<
xs:complexType name ="
PermitType ">
<
xs:sequence >
<
xs:element name ="
permitType ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
permitAuthority ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
permitNumber ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:minLength value ="1 "/>
<xs:maxLength value ="17 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
additionalInformation "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="70 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
permitItemDetails "
minOccurs ="
0 ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
permitItemDetail "
maxOccurs ="
99 ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
key ">
<
xs:simpleType >
<
xs:restriction base ="
xs :nonNegativeInteger">
<xs:totalDigits value ="4 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
value ">
<
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 >
Super-types:
None
Sub-types:
None
Name
PreviousDocumentType
Abstract
no
Documentation
Complex Type summarische Anmeldung
Diagram
Schema Component Representation
<
xs:complexType name ="
PreviousDocumentType ">
<
xs:sequence >
<
xs:element name ="
previousDocumentType "
minOccurs ="
0 ">
<
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: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:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="70 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ProducedDocumentType
Abstract
no
Documentation
Complex Type vorgelegte Unterlage / Bescheinigung
Diagram
Schema Component Representation
<
xs:complexType name ="
ProducedDocumentType ">
<
xs:sequence >
<
xs:element name ="
documentType ">
<
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: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:element name ="
additionalInformation "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="70 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ReceiptListType
Abstract
no
Documentation
Complex Type zur Beschreibung von eine Liste mit Meta-Informationen über Quittungen.
Diagram
Schema Component Representation
<
xs:complexType name ="
ReceiptListType ">
<
xs:sequence >
<
xs:element name ="
receiptRequestSummary ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
numberOfDocumentsFound "
type ="
xs :nonNegativeInteger"/>
<
xs:element name ="
requestDate "
type ="
xs :date"/>
<
xs:element name ="
requestTime "
type ="
xs :time"/>
</
xs:sequence >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
receiptInformation "
minOccurs ="
0 "
maxOccurs ="
unbounded ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
documentDate "
type ="
xs :date"/>
<
xs:element name ="
documentTime "
type ="
xs :time"/>
<
xs:element name ="
customsOfficeNumber ">
<
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:simpleType >
<
xs:restriction base ="
xs :string">
<xs:minLength value ="1 "/>
<xs:maxLength value ="35 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
transportationNumber "
minOccurs ="
0 ">
<
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 >
Super-types:
None
Sub-types:
None
Name
ReceiptRequestRejectionType
Abstract
no
Documentation
Complex Type für Behler beim Abruf von einer Veranlagungsverfügung / Quittung
Diagram
Schema Component Representation
<
xs:complexType name ="
ReceiptRequestRejectionType ">
<
xs:sequence >
<
xs:element name ="
rejectionDate "
type ="
xs :date"/>
<
xs:element name ="
rejectionTime "
type ="
xs :time"/>
<
xs:element name ="
errors ">
<
xs:complexType >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
otherElements "
type ="
xs :anyType"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ReferencedElementType
Abstract
no
Documentation
Complex Type für Referenzen
Diagram
Schema Component Representation
<
xs:complexType name ="
ReferencedElementType ">
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
RefundImportType
Abstract
no
Documentation
Complex Type für übrige Einnahmen und Rückerstattungen
Diagram
Schema Component Representation
<
xs:complexType name ="
RefundImportType ">
<
xs:sequence >
<
xs:element name ="
bordereauNumber "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="22 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
customsReference "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="70 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
personInCharge ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="70 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
correctionReason "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="35 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<xs:element name ="comment " minOccurs ="0 " maxOccurs ="unbounded "/>
<
xs:element name ="
otherElements "
type ="
xs :anyType"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
RefundType
Abstract
no
Documentation
Complex Type Rückerstattung für flüchtig organische Stoffe. TODO. Begriffe abklären
Diagram
Schema Component Representation
<
xs:complexType name ="
RefundType ">
<
xs:sequence >
<
xs:element name ="
refundType ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="1 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
VOCQuantity "
minOccurs ="
0 ">
<
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 >
Super-types:
None
Sub-types:
None
Name
RepairAndRefinementType
Abstract
no
Documentation
Complex Type Reparatur- und Veredelungsverkehr
Diagram
Schema Component Representation
<
xs:complexType name ="
RepairAndRefinementType ">
<
xs:sequence >
<
xs:element name ="
direction ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="1 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
refinementType "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="1 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
processType "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="1 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
billingType "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="1 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
repairReason "
minOccurs ="
0 ">
<
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 >
Super-types:
None
Sub-types:
None
Name
RuleErrorType
Abstract
no
Documentation
Complex Type für Fehlermeldungen, die auf Grund der Plausi-Regeln entstanden sind.
Diagram
Schema Component Representation
<
xs:complexType name ="
RuleErrorType ">
<
xs:sequence >
<
xs:element name ="
ruleEngine "
minOccurs ="
0 ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
name "
type ="
xs :string"/>
<
xs:element name ="
reference "
type ="
xs :string"
minOccurs ="
0 "/>
</
xs:sequence >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
error "
maxOccurs ="
unbounded ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
ruleName ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="50 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<xs:element name ="ruleID " minOccurs ="0 "/>
<xs:element name ="ruleVersion " minOccurs ="0 "/>
<xs:element name ="errorCode " minOccurs ="0 "/>
<
xs:element name ="
checkType "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="150 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
reference "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="50 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
SpecialMentionType
Abstract
no
Documentation
Complex Type besonderer Vermerk
Diagram
Schema Component Representation
<
xs:complexType name ="
SpecialMentionType ">
<
xs:sequence >
<
xs:element name ="
sequenceNumber "
minOccurs ="
0 ">
<
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 >
Super-types:
None
Sub-types:
None
Name
StatisticType
Abstract
no
Documentation
Complex Type Verfahren / Statistik
Diagram
Schema Component Representation
<
xs:complexType name ="
StatisticType ">
<
xs:sequence >
<
xs:element name ="
customsClearanceType ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
commercialGood ">
<
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:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="10 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
TaxationDecisionExportType
Abstract
no
Documentation
Complex Type für Export Veranlagungsverfügungen
Diagram
Schema Component Representation
<
xs:complexType name ="
TaxationDecisionExportType ">
<
xs:sequence >
<
xs:element name ="
acceptanceTime "
type ="
xs :time"/>
<
xs:element name ="
declarationType ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
correctionCode ">
<
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:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
deliveryDestination ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:length value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
consignor "
minOccurs ="
0 ">
<
xs:complexType >
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
consignee ">
<
xs:complexType >
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
carrier "
minOccurs ="
0 ">
<
xs:complexType >
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
VATNumber ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="12 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
incoterms "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:length value ="3 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
invoiceCurrencyType ">
<
xs:simpleType >
<
xs:restriction base ="
xs :nonNegativeInteger">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
numberOfGoodsItems ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="6 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<xs:element name ="comment " minOccurs ="0 " maxOccurs ="unbounded "/>
<
xs:element name ="
otherElements "
type ="
xs :anyType"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
TaxationDecisionImportType
Abstract
no
Documentation
Complex Type für Veranlagungsverfügungen Import
Diagram
Schema Component Representation
<
xs:complexType name ="
TaxationDecisionImportType ">
<
xs:sequence >
<
xs:element name ="
bordereauNumber "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="22 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
acceptanceTime "
type ="
xs :time"/>
<
xs:element name ="
declarationType ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
correctionCode ">
<
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:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
dispatchCountry "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:length value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
consignor "
minOccurs ="
0 ">
<
xs:complexType >
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
importer "
minOccurs ="
0 ">
<
xs:complexType >
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
consignee ">
<
xs:complexType >
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
authorizedConsignee "
minOccurs ="
0 ">
<
xs:complexType >
<
xs:complexContent >
</
xs:complexContent >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
incoterms "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:length value ="3 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
invoiceCurrencyType ">
<
xs:simpleType >
<
xs:restriction base ="
xs :nonNegativeInteger">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
numberOfGoodsItems ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="6 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<xs:element name ="comment " minOccurs ="0 " maxOccurs ="unbounded "/>
<
xs:element name ="
otherElements "
type ="
xs :anyType"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
TransportMeansType
Abstract
no
Documentation
Complex Type Beförderung
Diagram
Schema Component Representation
<
xs:complexType name ="
TransportMeansType ">
<
xs:sequence >
<
xs:element name ="
transportMode ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
transportationType "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
transportationCountry "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:length value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
transportationNumber "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="27 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ValuationDetailsType
Abstract
no
Documentation
Complex Type für Details zu Zoll und MWST
Diagram
XML Instance Representation
<...>
Start Choice [1] End Choice </...>
Schema Component Representation
<
xs:complexType name ="
ValuationDetailsType ">
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ValuationDutyAndAdditionalTaxesDetailType
Abstract
no
Documentation
Complex Type für Details und Gesamtbetrag zu Einnahmen bzw. Abgaben
Diagram
Schema Component Representation
<
xs:complexType name ="
ValuationDutyAndAdditionalTaxesDetailType ">
<
xs:sequence >
<
xs:element name ="
detail "
maxOccurs ="
unbounded ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
type ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string"/>
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
basisForAssessment "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="40 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
rate "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="100 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
key "
minOccurs ="
0 ">
<
xs:simpleType >
<
xs:restriction base ="
xs :decimal">
<xs:totalDigits value ="3 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<
xs:element name ="
alcoholLevel "
minOccurs ="
0 ">
<
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 ="comment " minOccurs ="0 "/>
</
xs:sequence >
</
xs:complexType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ValuationSummaryType
Abstract
no
Documentation
Complex Type für Zahlungsinformationen (Zoll oder MWST)
Diagram
XML Instance Representation
<...>
Start Choice [1] End Choice </...>
Schema Component Representation
<
xs:complexType name ="
ValuationSummaryType ">
<
xs:choice >
<
xs:element name ="
dutyAndAdditionalTaxes ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
detailAmount "
maxOccurs ="
unbounded ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
type ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string"/>
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
</
xs:element >
<xs:element name ="comment " minOccurs ="0 "/>
</
xs:sequence >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
VAT ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
VATNumber ">
<
xs:simpleType >
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="12 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
</
xs:element >
</
xs:choice >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
ValuationVATDetailType
Abstract
no
Documentation
Complex Type für Mwst Details
Diagram
Schema Component Representation
<
xs:complexType name ="
ValuationVATDetailType ">
<
xs:sequence >
<
xs:element name ="
rate ">
<
xs:simpleType >
<
xs:restriction base ="
xs :decimal">
<xs:totalDigits value ="7 "/>
<xs:fractionDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:element >
<xs:element name ="comment " minOccurs ="0 "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
XMLSchemaErrorType
Abstract
no
Documentation
Complex Type für Fehlermeldungen, die auf Grund der Validierung mit dem XML Schema entstanden sind.
Diagram
Schema Component Representation
<
xs:complexType name ="
XMLSchemaErrorType ">
<
xs:sequence >
<
xs:element name ="
schema ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
location "
type ="
xs :anyURI"/>
<
xs:element name ="
namespace "
type ="
xs :anyURI"
minOccurs ="
0 "/>
<
xs:element name ="
version "
minOccurs ="
0 ">
<
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:complexType >
<
xs:sequence >
<
xs:element name ="
name ">
<
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:sequence >
</
xs:complexType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
Super-types:
xs :string < AccessCode (by restriction)
Sub-types:
None
Name
AccessCode
Content
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.
Diagram
Schema Component Representation
<
xs:simpleType name ="
AccessCode ">
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="20 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :nonNegativeInteger < AccountNumber (by restriction)
Sub-types:
None
Name
AccountNumber
Content
Base XSD Type: nonNegativeInteger
Documentation
Simple Type für Kontonummer des Zoll- oder Mwst-Kontos des Spediteurs.
Diagram
Schema Component Representation
<
xs:simpleType name ="
AccountNumber ">
<
xs:restriction base ="
xs :nonNegativeInteger">
<xs:totalDigits value ="8 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :integer < ConfirmationCode (by restriction)
Sub-types:
None
Name
ConfirmationCode
Content
value comes from list: {'0'|'1'}
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
Diagram
Schema Component Representation
<
xs:simpleType name ="
ConfirmationCode ">
<
xs:restriction base ="
xs :integer">
<xs:enumeration value ="0 "/>
<xs:enumeration value ="1 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < customsDeclarationNumber (by restriction)
Sub-types:
None
Name
customsDeclarationNumber
Content
Documentation
Zollanmeldungsnummer Zoll (früher Deklarationsnummer Zoll) (bei Export entspricht die Referenz der Movement Reference Number, MRN)
Diagram
Schema Component Representation
<
xs:simpleType name ="
customsDeclarationNumber ">
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="21 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :integer < customsDeclarationVersion (by restriction)
Sub-types:
None
Name
customsDeclarationVersion
Content
Documentation
Versionsnummer der Zollanmeldung. Wird von e-dec vergeben.
Diagram
Schema Component Representation
<
xs:simpleType name ="
customsDeclarationVersion ">
<
xs:restriction base ="
xs :integer">
<xs:totalDigits value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :date < DateWithoutTimezone (by restriction)
Sub-types:
None
Name
DateWithoutTimezone
Content
pattern = [0-9]{4}-[0-9]{2}-[0-9]{2}
Documentation
Simple Type mit Datum ohne Zeitzonenangabe (Format yyyy-mm-dd)
Diagram
Schema Component Representation
<
xs:simpleType name ="
DateWithoutTimezone ">
<
xs:restriction base ="
xs :date">
<xs:pattern value ="[0-9]{4}-[0-9]{2}-[0-9]{2} "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < DocumentTypeList (by restriction)
Sub-types:
None
Name
DocumentTypeList
Content
value comes from list: {'taxationDecisionCustomsDuties'|'taxationDecisionVAT'|'taxationDecisionExport'|'refundCustomsDuties'|'refundVAT'}
Documentation
Simple Type für Dokumenttyp
Diagram
Schema Component Representation
<
xs:simpleType name ="
DocumentTypeList ">
<
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 >
Super-types:
xs :decimal < LargeAmountType (by restriction)
Sub-types:
None
Name
LargeAmountType
Content
total no. of digits = 12
no. of fraction digits = 4
Documentation
Simple Type für grosse Beträge.
Diagram
Schema Component Representation
<
xs:simpleType name ="
LargeAmountType ">
<
xs:restriction base ="
xs :decimal">
<xs:totalDigits value ="12 "/>
<xs:fractionDigits value ="4 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < Reference (by restriction)
Sub-types:
None
Name
Reference
Content
Documentation
Simple Type für Referenzen
Diagram
Schema Component Representation
<
xs:simpleType name ="
Reference ">
<
xs:restriction base ="
xs :string">
<xs:minLength value ="1 "/>
<xs:maxLength value ="35 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < traderDeclarationNumber (by restriction)
Sub-types:
None
Name
traderDeclarationNumber
Content
Documentation
Zollanmeldungsnummer Zollkunde (früher Deklarationsnummer Spediteur)
Diagram
Schema Component Representation
<
xs:simpleType name ="
traderDeclarationNumber ">
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="22 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < TraderIdentificationNumber (by restriction)
Sub-types:
None
Name
TraderIdentificationNumber
Content
Documentation
Simple Type für TraderIdentificationNumber (Spediteurnummer, TIN oder UID)
Diagram
Schema Component Representation
<
xs:simpleType name ="
TraderIdentificationNumber ">
<
xs:restriction base ="
xs :string">
<xs:minLength value ="1 "/>
<xs:maxLength value ="17 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :integer < YesNoCode (by restriction)
Sub-types:
None
Name
YesNoCode
Content
value comes from list: {'0'|'1'}
Documentation
Simple Type mit Werteliste für ja-nein Flags. nein=0, ja=1
Diagram
Schema Component Representation
<
xs:simpleType name ="
YesNoCode ">
<
xs:restriction base ="
xs :integer">
<xs:enumeration value ="0 "/>
<xs:enumeration value ="1 "/>
</
xs:restriction >
</
xs:simpleType >
Complex Type:
Schema Component Type
AusAddress
Schema Component Name
Super-types:
Address < AusAddress (by extension)
Sub-types:
QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
The table above displays the properties of this schema component.
XML Instance Representation
<...
country="Australia "
>
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice
[1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]
?
</...>
The XML Instance Representation table above shows the schema component's content as an XML instance.
The minimum and maximum occurrence of elements and attributes are provided in square brackets, e.g. [0..1].
Model group information are shown in gray, e.g. Start Choice ... End Choice.
For type derivations, the elements and attributes that have been added to or changed from the base type's content are shown in bold .
If an element/attribute has a fixed value, the fixed value is shown in green, e.g. country="Australia".
Otherwise, the type of the element/attribute is displayed.
If the element/attribute's type is in the schema, a link is provided to it.
For local simple type definitions, the constraints are displayed in angle brackets, e.g. <<pattern = [1-9][0-9]{3}>>.
If a local element/attribute has documentation, it will be displayed in a window that pops up when the question mark inside the attribute or next to the element is clicked, e.g. <postcode>.
Schema Component Representation
<complexType
name ="AusAddress ">
<complexContent >
<extension
base ="Address ">
<sequence >
<element
name ="state " type ="AusStates "/>
<element
name ="postcode ">
<simpleType >
<restriction
base ="string ">
<pattern
value ="[1-9][0-9]{3} "/>
</restriction >
</simpleType >
</element >
</sequence >
<attribute
name ="country " type ="string " fixed ="Australia "/>
</extension >
</complexContent >
</complexType >
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.
All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all .
Choice Model Group
Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice .
Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.
Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods , e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type
attribute.
Key Constraint Like Uniqueness Constraint , but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions .
Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint . See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions .
Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups .
Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil
attribute. The xsi:nil
attribute is the boolean attribute, nil , from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil
attribute set to true, it can be left empty, even though its element declaration may have required content.
Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations .
Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.
Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.
Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.
Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).
Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence .
Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.
Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.
Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.
Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions .