Definition Type: ComplexType
Name: Tax
Namespace: http://www.opentravel.org/OTM/Common/v4
Containing Schema: Common_4_0_0.xsd
Abstract
Documentation:
An applicable tax. It allows for a percentage or a flat amount. If one field is used, the other should not be used since logically taxes should be calculated in only one of the two ways. An applicable tax. It allows for a percentage or a flat amount. If one field is used, the other should not be used since logically taxes should be calculated in only one of the two ways.
Collapse XSD Schema Diagram:
Drilldown into ExtensionPoint in schema otm_builtins_xsd Drilldown into TaxType_Enum in schema common_4_0_0_xsd Drilldown into EffectiveExpire in schema common_4_0_0_xsd Drilldown into AmountSummary in schema common_4_0_0_xsd Drilldown into taxExcludedInd in schema common_4_0_0_xsd Drilldown into sequenceNbr in schema common_4_0_0_xsdXSD Diagram of Tax in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="Tax">
    <xsd:annotation>
        <xsd:documentation source="Description">An applicable tax. It allows for a percentage or a flat amount. If one field is used, the other should not be used since logically taxes should be calculated in only one of the two ways.</xsd:documentation>
        <xsd:documentation source="Description">An applicable tax. It allows for a percentage or a flat amount. If one field is used, the other should not be used since logically taxes should be calculated in only one of the two ways.</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="CoreObject" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Tax</otm:OTA2Entity>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element minOccurs="0" ref="ota2-0400:AmountSummary">
            <xsd:annotation>
                <xsd:documentation source="Description">The breakdown of the tax including either the amount or percent of the tax.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element minOccurs="0" name="EffectiveExpire" type="ota2-0400:DateEffectiveExpire">
            <xsd:annotation>
                <xsd:documentation source="Description">Provides the effective and expiry dates for the tax.</xsd:documentation>
                <xsd:documentation source="Implementer">AttributeGroup: EffectiveExpireOptionalDateGroup</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element minOccurs="0" name="TaxType_Enum" type="ota2-0300:TaxType_Enum">
            <xsd:annotation>
                <xsd:documentation source="Description">Identifies the tax (eg. Sales Tax, State Tax)</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element minOccurs="0" ref="ota2:ExtensionPoint" />
    </xsd:sequence>
    <xsd:attribute name="sequenceNbr" type="ota2-0400:String" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">A number assigned by the responding system to designate the order of this tax among multiple taxes.</xsd:documentation>
            <xsd:documentation source="Implementer">Changed type from {http://www.w3.org/2001/XMLSchema}nonNegativeInteger.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}string</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="taxExcludedInd" type="xsd:boolean" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">When present and true, this tax is excluded.</xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
AmountSummary ota2-0400:AmountSummary 0 (1)
EffectiveExpire ota2-0400:EffectiveExpire 0 (1)
TaxType_Enum ota2-0400:TaxType_Enum 0 (1)
ExtensionPoint ota2:ExtensionPoint 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
sequenceNbr ota2-0400:sequenceNbr Optional
taxExcludedInd ota2-0400:taxExcludedInd Optional
Collapse Derivation Tree:
Collapse References:
ota2-0400:Tax