Definition Type: ComplexType
Name: TaxType
Containing Schema: OTA_CommonTypes.xsd
Abstract
Documentation:
Applicable tax element. This element allows for both percentages and flat amounts. If one field is used, the other should be zero since logically, taxes should be calculated in only one of the two ways.
Collapse XSD Schema Diagram:
Drilldown into TaxDescription in schema ota_commontypes_xsd Drilldown into MaxChargeFrequencyApplies in schema ota_commontypes_xsd1 Drilldown into MaxChargeUnitApplies in schema ota_commontypes_xsd1 Drilldown into ChargeFrequencyExempt in schema ota_commontypes_xsd1 Drilldown into ChargeUnitExempt in schema ota_commontypes_xsd1 Drilldown into ChargeFrequency in schema ota_commontypes_xsd1 Drilldown into ChargeUnit in schema ota_commontypes_xsd1 Drilldown into ChargeUnitGroup in schema ota_commontypes_xsd Drilldown into ExpireDateExclusiveIndicator in schema ota_commontypes_xsd1 Drilldown into ExpireDate in schema ota_commontypes_xsd1 Drilldown into EffectiveDate in schema ota_commontypes_xsd1 Drilldown into EffectiveExpireOptionalDateGroup in schema ota_commontypes_xsd Drilldown into DecimalPlaces in schema ota_commontypes_xsd1 Drilldown into CurrencyCode in schema ota_commontypes_xsd1 Drilldown into CurrencyCodeGroup in schema ota_commontypes_xsd Drilldown into Amount in schema ota_commontypes_xsd1 Drilldown into CurrencyAmountGroup in schema ota_commontypes_xsd Drilldown into Percent in schema ota_commontypes_xsd1 Drilldown into Code in schema ota_commontypes_xsd1 Drilldown into Type in schema ota_commontypes_xsd1 Drilldown into FeeTaxGroup in schema ota_commontypes_xsdXSD Diagram of TaxType in schema ota_commontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="TaxType">
    <xs:annotation>
        <xs:documentation xml:lang="en">Applicable tax element.  This element allows for both percentages and flat amounts. If one field is used, the other should be zero since logically, taxes should be calculated in only one of the two ways.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element name="TaxDescription" type="ParagraphType" minOccurs="0" maxOccurs="5">
            <xs:annotation>
                <xs:documentation xml:lang="en">Text description of the taxes in a given language.</xs:documentation>
            </xs:annotation>
        </xs:element>
    </xs:sequence>
    <xs:attributeGroup ref="FeeTaxGroup">
        <xs:annotation>
            <xs:documentation xml:lang="en">Provides details of the tax.</xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
    <xs:attributeGroup ref="EffectiveExpireOptionalDateGroup">
        <xs:annotation>
            <xs:documentation xml:lang="en">Provides the effective and expiry dates for the tax.</xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
    <xs:attributeGroup ref="ChargeUnitGroup">
        <xs:annotation>
            <xs:documentation xml:lang="en">Specifies charge information by unit (e.g., room, person, item) and frequency (e.g., daily, weekly, stay).</xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
TaxDescription TaxDescription 0 5
Collapse Child Attributes:
Name Type Default Value Use
Type Type Optional
Code Code Optional
Percent Percent Optional
Amount Amount Optional
CurrencyCode CurrencyCode Optional
DecimalPlaces DecimalPlaces Optional
EffectiveDate EffectiveDate Optional
ExpireDate ExpireDate Optional
ExpireDateExclusiveIndicator ExpireDateExclusiveIndicator Optional
ChargeUnit ChargeUnit Optional
ChargeFrequency ChargeFrequency Optional
ChargeUnitExempt ChargeUnitExempt Optional
ChargeFrequencyExempt ChargeFrequencyExempt Optional
MaxChargeUnitApplies MaxChargeUnitApplies Optional
MaxChargeFrequencyApplies MaxChargeFrequencyApplies Optional
Collapse Derivation Tree:
  • TaxType
    • Unresolved link to taxpolicy
Collapse References:
Tax, Unresolved link to taxpolicy