AmountTaxType

Same as amount + Tax specific information such as the tax
reason

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
Apply ApplyType optional
**************************************- This is used to qualify
whether elements can apply in certain circumstances (Restrictions Apply, VTA
apply ...) or to know how something should apply (Excursion apply but is
optional, Taxes apply and are mandatory, Surcharge apply but only if a condition
is true... The roles can therefore either be a Boolean (Apply/do not Apply) or
qualified by one of the Apply Codes. **************************************-
**> True: the element applies, without any other detail. In some cases, true
and Optional could be used in the same way. If no information on how an Add-on
applies (true) it should be considered as Optional. This use of true should be
avoided. **> False: the element does not apply **> Conditional: a Rule is
attached to the elements with Me.Apply='Conditional'. In that case, if the rule
is validated, the element should apply (add the price, use the segment ...)
otherwise, it does not. **> Included: The element is already included in the
main element (included in price, duration ...) **> Mandatory: The element
must be used, but is not included in the parent element (price must be added,
duration may be added ...) **> Optional: The element can be used. Usually
Add-ons are provided as a list of optional segments. Fees could be listed in the
same way, Included, Mandatory, Optional or Conditional. Can be used both in
requests and responses **************************************-
**************************************- Maintenance:
DF/2003-11-13: Comment copied from type definition
**************************************-
As AsCodeType optional
This attribute is used to express the fact that the
associated element is either en envelope or an item. If omitted, the element is
considered an item (default behaviour). *An item contains the information
directly in itself. *An envelope would group items of the same nature, but the
informaton would in fact be in the child items.
Currency CurrencyCodeType optional
**************************************- Currency codes are
validated against 3 letter codes only but should be compliant with the ISO 4217
list. This is more open and provides a lighter schema.
**************************************-
**************************************- Maintenance:
DF/2003-11-13: Comment copied from type definition
**************************************-
Debug xs:string optional
This attribute is used to hold any information that would be relevant for debug purposes
It should not be present in regular exchanges, except when debug flags are positioned.
Decimals xs:integer 2 optional
Default DefaultType optional
If specified, this value corresponds to the default/optimum number
of units (default number of passengers in a Vehicle, default occupancy in a
room, ...)
Encrypted xs:string optional
To store the name value, but encrypted in a format and alogrithm
to be known by both extremities
EncryptionKey EncryptionKeyCodeType optional
Exclusive xs:boolean optional
Extremity ExtremityCodeType optional
**************************************- When a range is provided
with a Min - Max, boundaries may or may not be included in the range. How
extremities should be handled is provided here:
**************************************- **> None: ]Min,Max[ **> Left:
]Min,Max] **> Right: [Min,Max[ **> Both: [Min,Max] Default or omitted =
Both **************************************-
**************************************- Maintenance:
DF/2003-11-13: Comment copied from type definition
**************************************-
Filter FilterCodeType optional
**************************************-
***************************************** In a request :
***************************************** used in conjunction with Match. **>
If Match is omitted, or Match=false and Filter is used, Filter does not need to
be enforced, but MAY be and is rather considered as a preference. The Match
attribute in the response may indicate whether the filter has been applied or
not. **> if Match=true, the Filter and the Rules MUST be applied
*****************************************
***************************************** In a response :
***************************************** The associated information corresponds
to data that should (Include) or should not (Exclude) be used (flight number
restrictions, black out dates, ...) **> Omitted : Filter=Include
*****************************************
**************************************-
**************************************- Maintenance:
DF/2003-11-13: Comment copied from type definition
**************************************-
Formula xs:string optional
Group xs:string optional
This is non validated free text. ==>Composite Data : Used in
conjunction with Indexes to create composite Ids. ==>Naming groups of data :
Used to name groups of individual data such as to group the differnt memebers of
a family, different sub-trips within a trip,...
Guaranteed GuaranteedCodeType optional
§Description: This attribute can be used to define that the corresponding parent element is Guaranteed. It may hold three values:
* true (xs:boolean)
* false (xs:boolean)
* Unknown (xft:UnknownCodeType, therefore the uppercase)

§Usage: Up to now, the usage correpsonds to  th epossibility to express taht a given departure is guaranteed for a given date.
If Guaranteed is false, it may be associated to a guarantee rule that explains how the guarantee may be optianed (like a minimum number of persons.
A guaranteed that is not provided does not correspond to a false value, but to an Unknown value.
ID xs:ID optional
A unique ID within an XML file. That ID can exist outside the xml
file or not.
Implementation xs:string optional
The version for the server application. This version is different
from the XFT versin (@Version). The same XFT version may be used in different
implementations.
Index xs:nonNegativeInteger optional
==>Composite Data : to order the data with the group. In that
case, Group should be used to actual define the group, except if all the items
are used to define the group. ==>A list of items : Index is used to order
them.
Key optional
Contains a technical identifier (like a database primary key, a GUID
...) by opposition to a business oriented value, like a booking reference or a
product code, which are in @Value.
Match xs:boolean optional
***************************************** In a request :
***************************************** **> true : response MUST match
input parameters exactly. Otherwise it should not be present. **> false :
response MAY match input parameters. **> omitted : Accuracy is left at the
disposal of the hosts. Match criteria can be further defined through limits and
rules. *****************************************
***************************************** In a response :
***************************************** **> true : response matches input
parameters exactly. true can be present in a response whatever the value in the
request. **> false : response does not match input parameters. false can only
be present if Match was false or omitted in the request. **> omitted:no
information is provided by host *****************************************
Max QuantityCodeType optional
Maximum number of units .
Min QuantityCodeType optional
Minimum number of units associated with the
quantity
Name xs:string optional
A value for the associated entity, usually more technically
oriented. Free text should be in a CDATA section
OriginalValue MoneyType optional
Used to contain a promotion or special offer value in relation
with the<Type/>element
Override OverrideType optional
Parent ReferenceType optional
A reference to a parent object in case of hierarchical trees. This
is used to create complex tree like hierarchies
Percentage PercentageType optional
Preferred xs:boolean optional
**************************************-
***************************************** In a request :
***************************************** mentions that the associated element
is the preferred choice. This can also be achieved through the Index
attribute.*****************************************
***************************************** In a response :
***************************************** information only : preferred choice
has been returned. This is for easier parsing purposes
*****************************************
**************************************-
**************************************- Maintenance:
DF/2003-11-13: Comment copied from type definition
**************************************-
Quantity QuantityCodeType optional
Request: the requested quantity Response: the actual quantity
associated with the component This value can be used in complement with the
other attributes to provided additional information (min, max, preference,
...)
Rank RankCodeType optional
To define a position within a list without providing the extact
value. Currently it can be Left, Right or Mean. For a value, use the @Index
instead.
Reason PriceTaxCodeType optional
The reason for the tax : the tax can be an airport tax or a
security tax for instance.
Ref ReferenceType optional
A reference to a valid ID within an XML file. External links are
not supported. Usually the referenced object is of the same type or the type is
obvious within the context. If several references are required, other attributed
with Ref suffix will be present. xxxcould investigate xLinks
Role PriceRoleType optional
This describes what is the role of the price in the package /
transaction... **>Base : The price for the base period. Additional weeks /
days would be described as supplements. **>Detail : Can be used to detail
prices contained in another price. Detail prices should not be added to a total.
**>Information: Information price is provided for information only, not for
cotation because value is unsure. **>Max: Maximum price. Used mainly in
requests in a range or to give an upper limit for prices calculated via a
percentage. **>Min: Minimum price. Used mainly in requests in a range or to
give a lower limit for prices calculated via a percentage. **>Partial: The
give price must be complemented by other prices to become valid.
**>Supplement: To provide additional prices on top of a partial or base
price.
SellLocation SellLocationCodeType optional
A price or segment can be valid only if booked in specific places
: **>Any (or omitted) : where and when the booking is made is not relevant
**>Local: Booking can only be made locally at the travel destination. A
separate quotation can however be placed if price is not information.
**>Merchant: Booking can only be made before the travel starts, at the
merchant site or web site (not necessarily the vendor).
StandAlone xs:boolean optional
Whether a product can be sold alone or must be sold in connection
with others.
Status StatusCodeType optional
**>A = Available **>C = Confirm / Confirmed **>N = Not
applicable / no action **> O = Option **> R = Request **> U = Unable to
confirm **> W = Waitlist **> X = Closed If there is a quantity, Status can
be omitted. If Quantity is positive Status = A If Quantity is negative or null
Status = X
Step xs:decimal optional
Target PriceTargetCodeType optional
Type PriceTypeCodeType optional
VAT PriceVatType optional
**>true:VAT is included in the price. The VAT tag could contain
the VAT amount and/or percentage. That amount need not be added to the price
value to include the VAT **>false:VAT is not included.The VAT tag could
contain the VAT amount and/or percentage. That amount need be added to the price
value to include the VAT.
Value MoneyType optional
Version xs:string optional
EN: = Usage = This version attribute corresponds to
the version of the associated element. * For a transaction element, it
corresponds to the xft version that can be used to validate the schema. This
field being free text, it can contain either minor or major versions. Actual
schema reference can be passed in the xml stream directly to help validation.
However, the XFT schema can always be validated against the current version
available on the http://www.ExchangeForTravel.org site * When present on other
elements, it corresponds to the version of the associated element, in case the
system allows saving succesive versions. As a consequence, a version associated
to a booking would correspond to the booking version (and may even be used to
retrieve a previous version if the host allows it. = Description = This
attribute contains free text but should be a valid version (usual format is
%number%.%Number[.%Number%] but versions of different types may be used by
different service providers. = Warning = @Version vs @Implementation: * @Version
is the version of the element itself * @Implementation is the version of the
implementation of the program on the host, used to provide the
service.
XPath xs:string optional
Wildcard: ANY attribute from namespace(s) 'http://www.w3.org/XML/1998/namespace http://www.afidium.com/dx http://www.afidium.com/namespaces/test'

Used By

Element Tax

Source

<xs:complexType name="AmountTaxType" mixed="true">
  <xs:annotation>
    <xs:documentation>Same as amount + Tax specific information such as the tax reason</xs:documentation>
  </xs:annotation>
  <xs:complexContent mixed="true">
    <xs:extension base="PriceType">
      <xs:attribute name="Reason" type="PriceTaxCodeType" use="optional">
        <xs:annotation>
          <xs:documentation>The reason for the tax : the tax can be an airport tax or a security tax for instance.</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>