XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://www.minfin.fgov.be/MTNConsignment
Version 1.0
Language en
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.
Schema Composition
  • This schema imports schema(s) from the following namespace(s):
    • http://www.minfin.fgov.be/InputCommon (at IntervatInputCommon_v0_7.xsd)
    • http://www.minfin.fgov.be/IsoTypes (at IntervatIsoTypes_v0_7.xsd)

Declared Namespaces

Prefix Namespace
Default namespace http://www.minfin.fgov.be/MTNConsignment
xml http://www.w3.org/XML/1998/namespace
xs http://www.w3.org/2001/XMLSchema
iso http://www.minfin.fgov.be/IsoTypes
common http://www.minfin.fgov.be/InputCommon
Schema Component Representation
<xs:schema xml:lang="en" targetNamespace="http://www.minfin.fgov.be/MTNConsignment" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
<xs:import namespace="http://www.minfin.fgov.be/InputCommon" schemaLocation="IntervatInputCommon_v0_7.xsd"/>
<xs:import namespace="http://www.minfin.fgov.be/IsoTypes" schemaLocation="IntervatIsoTypes_v0_7.xsd"/>
...
</xs:schema>
top

Global Declarations

Element: MTNConsignment

Name MTNConsignment
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Envoi regroupé, déposé par un mandataire, de déclarations de livraisons intracommunautaires de moyens de transport neufs à des personnes ne disposant pas d'un numéro d'identification à la TVA valable dans un autre Etat membre

Gegroepeerde verzending, ingediend door een gevolmachtigde, van aangiften van intracommunautaire leveringen van nieuwe vervoermiddelen aan personen die niet beschikken over een geldig btw-identificatienummer in een andere lidstaat

Sammelsendung der von einem Bevollmächtigten hinterlegten Erklärungen innergemeinschaftlicher Lieferungen von neuen Fahrzeugen an Personen, die über keine gültige MwSt.-Identifikationsnummer in einem anderen Mitgliedstaat verfügen.
XML Instance Representation
<MTNConsignment
MTNDeclarationsNbr="xs:positiveInteger [1] ?">
<Representative> common:Representative_Type </Representative> [0..1] ?
<RepresentativeReference> common:RepresentativeReference_Type </RepresentativeReference> [0..1] ?
<MTNDeclaration> MTNDeclaration_Type </MTNDeclaration> [1..*] ?
</MTNConsignment>
Schema Component Representation
<xs:element name="MTNConsignment">
<xs:complexType>
<xs:sequence>
<xs:element name="Representative" type="common:Representative_Type" minOccurs="0"/>
<xs:element name="RepresentativeReference" type="common:RepresentativeReference_Type" minOccurs="0"/>
<xs:element name="MTNDeclaration" type="MTNDeclaration_Type" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="MTNDeclarationsNbr" type="xs:positiveInteger" use="required"/>
</xs:complexType>
</xs:element>
top

Global Definitions

Complex Type: AlreadyInService_Type

Super-types: None
Sub-types: None
Name AlreadyInService_Type
Abstract no
Documentation Informations nécessaires au cas où le moyen de transport a déjà été mis en service

Vereiste inlichtingen ingeval het vervoermiddel reeds in gebruik is genomen

Informationen, die notwendig sind, wenn das Fahrzeug bereits in Betrieb genommen wurde
XML Instance Representation
<...>
<FirstEntryInServiceDate> common:RestrictedDate_Type </FirstEntryInServiceDate> [1] ?
<Usage> xs:positiveInteger </Usage> [1] ?
</...>
Schema Component Representation
<xs:complexType name="AlreadyInService_Type">
<xs:sequence>
<xs:element name="FirstEntryInServiceDate" type="common:RestrictedDate_Type"/>
<xs:element name="Usage" type="xs:positiveInteger"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: Customer_Type

Super-types: None
Sub-types: None
Name Customer_Type
Abstract no
XML Instance Representation
<...>
<Name> xs:string </Name> [1] ?
<Street> xs:string </Street> [1] ?
<PostCode> xs:string </PostCode> [1] ?
<City> xs:string </City> [1] ?
<CountryCode> iso:MSCountryCode </CountryCode> [1] ?
</...>
Schema Component Representation
<xs:complexType name="Customer_Type">
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
<xs:element name="Street" type="xs:string"/>
<xs:element name="PostCode" type="xs:string"/>
<xs:element name="City" type="xs:string"/>
<xs:element name="CountryCode" type="iso:MSCountryCode"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: Invoice_Type

Super-types: None
Sub-types: None
Name Invoice_Type
Abstract no
XML Instance Representation
<...>
<InvoiceType> InvoiceTypeCode </InvoiceType> [1] ?
<InvoiceDate> common:RestrictedDate_Type </InvoiceDate> [1] ?
<InvoiceReference> xs:token (length <= 100) </InvoiceReference> [1] ?
<InvoiceAmount> common:UnlimitedSignedAmount_Type </InvoiceAmount> [1] ?
</...>
Schema Component Representation
<xs:complexType name="Invoice_Type">
<xs:sequence>
<xs:element name="InvoiceType" type="InvoiceTypeCode"/>
<xs:element name="InvoiceDate" type="common:RestrictedDate_Type"/>
<xs:element name="InvoiceReference">
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="InvoiceAmount" type="common:UnlimitedSignedAmount_Type"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: MeanOfTransport_Type

Super-types: None
Sub-types: None
Name MeanOfTransport_Type
Abstract no
XML Instance Representation
<...>
Start Choice [1]
<LandVehicle> [1] ?
<IdentificationNumber> xs:token </IdentificationNumber> [1] ?
<Mark> Mark_Type </Mark> [1]
<Type> Type_Type </Type> [1]
<Capacity> xs:positiveInteger </Capacity> [0..1] ?
<Power> xs:positiveInteger </Power> [0..1] ?
<AlreadyInService> AlreadyInService_Type </AlreadyInService> [0..1]
</LandVehicle>
<Vessel> [1] ?
<IdentificationNumber> xs:token </IdentificationNumber> [1] ?
<Mark> Mark_Type </Mark> [1]
<Type> Type_Type </Type> [1]
<Length> xs:decimal (value > 0.00) (no. of fraction digits = 2) </Length> [1] ?
<AlreadyInService> AlreadyInService_Type </AlreadyInService> [0..1]
</Vessel>
<Aircraft> [1] ?
<IdentificationNumber> xs:token </IdentificationNumber> [1] ?
<Mark> Mark_Type </Mark> [1]
<Type> Type_Type </Type> [1]
<Weight> xs:unsignedLong </Weight> [1] ?
<AlreadyInService> AlreadyInService_Type </AlreadyInService> [0..1]
</Aircraft>
End Choice
</...>
Schema Component Representation
<xs:complexType name="MeanOfTransport_Type">
<xs:choice>
<xs:element name="LandVehicle">
<xs:complexType>
<xs:sequence>
<xs:element name="IdentificationNumber" type="xs:token"/>
<xs:element name="Mark" type="Mark_Type"/>
<xs:element name="Type" type="Type_Type"/>
<xs:element name="Capacity" type="xs:positiveInteger" minOccurs="0"/>
<xs:element name="Power" type="xs:positiveInteger" minOccurs="0"/>
<xs:element name="AlreadyInService" type="AlreadyInService_Type" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Vessel">
<xs:complexType>
<xs:sequence>
<xs:element name="IdentificationNumber" type="xs:token"/>
<xs:element name="Mark" type="Mark_Type"/>
<xs:element name="Type" type="Type_Type"/>
<xs:element name="Length">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="2"/>
<xs:minExclusive value="0.00"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="AlreadyInService" type="AlreadyInService_Type" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Aircraft">
<xs:complexType>
<xs:sequence>
<xs:element name="IdentificationNumber" type="xs:token"/>
<xs:element name="Mark" type="Mark_Type"/>
<xs:element name="Type" type="Type_Type"/>
<xs:element name="Weight" type="xs:unsignedLong"/>
<xs:element name="AlreadyInService" type="AlreadyInService_Type" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
top

Complex Type: MTNDeclaration_Type

Super-types: None
Sub-types: None
Name MTNDeclaration_Type
Abstract no
XML Instance Representation
<...
SequenceNumber="xs:positiveInteger [1] ?"
MTNSuppliesNbr="xs:positiveInteger [1] ?"
DeclarantReference="common:DeclarantReference_Type [0..1] ?">
<ReplacedMTNDeclaration> common:IntervatDeclarationReference_Type </ReplacedMTNDeclaration> [0..1] ?
<Declarant> common:MTN_Declarant_Type </Declarant> [1] ?
<Period> MTNPeriod_Type </Period> [1] ?
<MTNSupply> MTNSupply_Type </MTNSupply> [1..*] ?
<Comment> common:Comment_Type </Comment> [0..1] ?
</...>
Schema Component Representation
<xs:complexType name="MTNDeclaration_Type">
<xs:sequence>
<xs:element name="ReplacedMTNDeclaration" type="common:IntervatDeclarationReference_Type" minOccurs="0"/>
<xs:element name="Declarant" type="common:MTN_Declarant_Type"/>
<xs:element name="Period" type="MTNPeriod_Type"/>
<xs:element name="MTNSupply" type="MTNSupply_Type" maxOccurs="unbounded"/>
<xs:element name="Comment" type="common:Comment_Type" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="SequenceNumber" type="xs:positiveInteger" use="required"/>
<xs:attribute name="MTNSuppliesNbr" type="xs:positiveInteger" use="required"/>
<xs:attribute name="DeclarantReference" type="common:DeclarantReference_Type"/>
</xs:complexType>
top

Complex Type: MTNPeriod_Type

Super-types: None
Sub-types: None
Name MTNPeriod_Type
Abstract no
XML Instance Representation
<...>
<Quarter> common:Quarter_Type </Quarter> [1] ?
<Year> common:Year_Type </Year> [1] ?
</...>
Schema Component Representation
<xs:complexType name="MTNPeriod_Type">
<xs:sequence>
<xs:element name="Quarter" type="common:Quarter_Type"/>
<xs:element name="Year" type="common:Year_Type"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: MTNSupply_Type

Super-types: None
Sub-types: None
Name MTNSupply_Type
Abstract no
XML Instance Representation
<...>
<Invoice> Invoice_Type </Invoice> [1] ?
<Customer> Customer_Type </Customer> [1] ?
<DestinationCountryCode> iso:MSCountryCodeExclBE </DestinationCountryCode> [1] ?
<DeliveryDate> common:RestrictedDate_Type </DeliveryDate> [1] ?
<MeanOfTransport> MeanOfTransport_Type </MeanOfTransport> [1] ?
<CorrectionPeriod> MTNPeriod_Type </CorrectionPeriod> [0..1] ?
<FileAttachment> common:FileAttachment_Type </FileAttachment> [0..*] ?
</...>
Schema Component Representation
<xs:complexType name="MTNSupply_Type">
<xs:sequence>
<xs:element name="Invoice" type="Invoice_Type"/>
<xs:element name="Customer" type="Customer_Type"/>
<xs:element name="DestinationCountryCode" type="iso:MSCountryCodeExclBE"/>
<xs:element name="DeliveryDate" type="common:RestrictedDate_Type"/>
<xs:element name="MeanOfTransport" type="MeanOfTransport_Type"/>
<xs:element name="CorrectionPeriod" type="MTNPeriod_Type" minOccurs="0"/>
<xs:element name="FileAttachment" type="common:FileAttachment_Type" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

Simple Type: InvoiceTypeCode

Super-types: xs:string < InvoiceTypeCode (by restriction)
Sub-types: None
Name InvoiceTypeCode
Content
  • Base XSD Type: string
  • value comes from list: {'invoice'|'creditNote'}
Schema Component Representation
<xs:simpleType name="InvoiceTypeCode">
<xs:restriction base="xs:string">
<xs:enumeration value="invoice"/>
<xs:enumeration value="creditNote"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: Mark_Type

Super-types: xs:string < Mark_Type (by restriction)
Sub-types: None
Name Mark_Type
Content
  • Base XSD Type: string
  • length <= 100
Documentation Marque

Merk

Marke
Schema Component Representation
<xs:simpleType name="Mark_Type">
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: Type_Type

Super-types: xs:string < Type_Type (by restriction)
Sub-types: None
Name Type_Type
Content
  • Base XSD Type: string
  • length <= 100
Documentation Type (modèle) du véhicule terrestre, du bateau ou de l'aéronef

Type (model)

Typ
Schema Component Representation
<xs:simpleType name="Type_Type">
<xs:restriction base="xs:string">
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
top

Legend

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.
Name AusAddress
Abstract no
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.

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.)
top

Glossary

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.

top