Definition Type: ComplexType
Name: ExchangeRateType
Namespace: urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0
Containing Schema: UBL-CommonAggregateComponents-1.0.xsd
Abstract
Documentation:
ABIE Exchange Rate. Details information that directly relates to the rate of exchange (conversion) between two currencies. Exchange Rate
Collapse XSD Schema Diagram:
Drilldown into ForeignExchangeContract in schema ubl-commonaggregatecomponents-1_0_xsd Drilldown into Date in schema ubl-commonbasiccomponents-1_0_xsd Drilldown into OperatorCode in schema ubl-commonaggregatecomponents-1_0_xsd Drilldown into CalculationRate in schema ubl-commonbasiccomponents-1_0_xsd Drilldown into ExchangeMarketID in schema ubl-commonaggregatecomponents-1_0_xsd Drilldown into TargetUnitBaseRate in schema ubl-commonbasiccomponents-1_0_xsd Drilldown into TargetCurrencyCode in schema ubl-commonaggregatecomponents-1_0_xsd Drilldown into SourceCurrencyBaseRate in schema ubl-commonbasiccomponents-1_0_xsd Drilldown into SourceCurrencyCode in schema ubl-commonaggregatecomponents-1_0_xsdXSD Diagram of ExchangeRateType in schema ubl-commonaggregatecomponents-1_0_xsd (OASIS Universal Business Language (UBL) TC)
Collapse XSD Schema Code:
<xsd:complexType name="ExchangeRateType">
    <xsd:annotation>
        <xsd:documentation>
            <ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0">
                <ccts:ComponentType>ABIE</ccts:ComponentType>
                <ccts:DictionaryEntryName>Exchange Rate. Details</ccts:DictionaryEntryName>
                <ccts:Definition>information that directly relates to the rate of exchange (conversion) between two currencies.</ccts:Definition>
                <ccts:ObjectClass>Exchange Rate</ccts:ObjectClass>
            </ccts:Component>
        </xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element name="SourceCurrencyCode" type="cur:CurrencyCodeType" minOccurs="1" maxOccurs="1">
            <xsd:annotation>
                <xsd:documentation>
                    <ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0">
                        <ccts:ComponentType>BBIE</ccts:ComponentType>
                        <ccts:DictionaryEntryName>Exchange Rate. Source Currency. Code</ccts:DictionaryEntryName>
                        <ccts:Definition>the reference currency of the rate of exchange.  The currency from which the exchange is being made (CC Definition)</ccts:Definition>
                        <ccts:Cardinality>1</ccts:Cardinality>
                        <ccts:ObjectClass>Exchange Rate</ccts:ObjectClass>
                        <ccts:PropertyTerm>Source Currency</ccts:PropertyTerm>
                        <ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
                        <ccts:DataType>Currency_ Code. Type</ccts:DataType>
                    </ccts:Component>
                </xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element ref="cbc:SourceCurrencyBaseRate" minOccurs="0" maxOccurs="1">
            <xsd:annotation>
                <xsd:documentation>
                    <ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0">
                        <ccts:ComponentType>BBIE</ccts:ComponentType>
                        <ccts:DictionaryEntryName>Exchange Rate. Source_ Currency Base. Rate</ccts:DictionaryEntryName>
                        <ccts:Definition>specifies the unit base of the source currency for currencies with small denominations.</ccts:Definition>
                        <ccts:Cardinality>0..1</ccts:Cardinality>
                        <ccts:ObjectClass>Exchange Rate</ccts:ObjectClass>
                        <ccts:PropertyTermQualifier>Source</ccts:PropertyTermQualifier>
                        <ccts:PropertyTerm>Currency Base</ccts:PropertyTerm>
                        <ccts:RepresentationTerm>Rate</ccts:RepresentationTerm>
                        <ccts:DataType>Rate_Numeric. Type</ccts:DataType>
                    </ccts:Component>
                </xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="TargetCurrencyCode" type="cur:CurrencyCodeType" minOccurs="1" maxOccurs="1">
            <xsd:annotation>
                <xsd:documentation>
                    <ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0">
                        <ccts:ComponentType>BBIE</ccts:ComponentType>
                        <ccts:DictionaryEntryName>Exchange Rate. Target Currency. Code</ccts:DictionaryEntryName>
                        <ccts:Definition>the target currency of the rate of exchange. This is the currency to which the exchange is being made. (CC Definition)</ccts:Definition>
                        <ccts:Cardinality>1</ccts:Cardinality>
                        <ccts:ObjectClass>Exchange Rate</ccts:ObjectClass>
                        <ccts:PropertyTerm>Target Currency</ccts:PropertyTerm>
                        <ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
                        <ccts:DataType>Currency_ Code. Type</ccts:DataType>
                    </ccts:Component>
                </xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element ref="cbc:TargetUnitBaseRate" minOccurs="0" maxOccurs="1">
            <xsd:annotation>
                <xsd:documentation>
                    <ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0">
                        <ccts:ComponentType>BBIE</ccts:ComponentType>
                        <ccts:DictionaryEntryName>Exchange Rate. Target_ Unit Base. Rate</ccts:DictionaryEntryName>
                        <ccts:Definition>specifies the unit base of the target currency for currencies with small denominations</ccts:Definition>
                        <ccts:Cardinality>0..1</ccts:Cardinality>
                        <ccts:ObjectClass>Exchange Rate</ccts:ObjectClass>
                        <ccts:PropertyTermQualifier>Target</ccts:PropertyTermQualifier>
                        <ccts:PropertyTerm>Unit Base</ccts:PropertyTerm>
                        <ccts:RepresentationTerm>Rate</ccts:RepresentationTerm>
                        <ccts:DataType>Rate_Numeric. Type</ccts:DataType>
                    </ccts:Component>
                </xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="ExchangeMarketID" type="udt:IdentifierType" minOccurs="0" maxOccurs="1">
            <xsd:annotation>
                <xsd:documentation>
                    <ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0">
                        <ccts:ComponentType>BBIE</ccts:ComponentType>
                        <ccts:DictionaryEntryName>Exchange Rate. Exchange_ Market. Identifier</ccts:DictionaryEntryName>
                        <ccts:Definition>identifies the currency exchange market from which the exchange rate is taken.</ccts:Definition>
                        <ccts:Cardinality>0..1</ccts:Cardinality>
                        <ccts:ObjectClass>Exchange Rate</ccts:ObjectClass>
                        <ccts:PropertyTermQualifier>Exchange</ccts:PropertyTermQualifier>
                        <ccts:PropertyTerm>Market</ccts:PropertyTerm>
                        <ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
                        <ccts:DataType>Identifier. Type</ccts:DataType>
                    </ccts:Component>
                </xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element ref="cbc:CalculationRate" minOccurs="0" maxOccurs="1">
            <xsd:annotation>
                <xsd:documentation>
                    <ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0">
                        <ccts:ComponentType>BBIE</ccts:ComponentType>
                        <ccts:DictionaryEntryName>Exchange Rate. Calculation Rate. Rate</ccts:DictionaryEntryName>
                        <ccts:Definition>The factor used for conversion of an amount from one (source) currency to another (target) currency.</ccts:Definition>
                        <ccts:Cardinality>0..1</ccts:Cardinality>
                        <ccts:ObjectClass>Exchange Rate</ccts:ObjectClass>
                        <ccts:PropertyTerm>Calculation Rate</ccts:PropertyTerm>
                        <ccts:RepresentationTerm>Rate</ccts:RepresentationTerm>
                        <ccts:DataType>Rate_Numeric. Type</ccts:DataType>
                    </ccts:Component>
                </xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="OperatorCode" type="ero:OperatorCodeType" minOccurs="0" maxOccurs="1">
            <xsd:annotation>
                <xsd:documentation>
                    <ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0">
                        <ccts:ComponentType>BBIE</ccts:ComponentType>
                        <ccts:DictionaryEntryName>Exchange Rate. Operator. Code</ccts:DictionaryEntryName>
                        <ccts:Definition>in cases where there is only one rate allowed but either multiplication or division by that code must be used, this code identifies whether the calculation operator used is Multiply or Divide</ccts:Definition>
                        <ccts:Cardinality>0..1</ccts:Cardinality>
                        <ccts:ObjectClass>Exchange Rate</ccts:ObjectClass>
                        <ccts:PropertyTerm>Operator</ccts:PropertyTerm>
                        <ccts:RepresentationTerm>Code</ccts:RepresentationTerm>
                        <ccts:DataType>Operator_ Code. Type</ccts:DataType>
                    </ccts:Component>
                </xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element ref="cbc:Date" minOccurs="0" maxOccurs="1">
            <xsd:annotation>
                <xsd:documentation>
                    <ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0">
                        <ccts:ComponentType>BBIE</ccts:ComponentType>
                        <ccts:DictionaryEntryName>Exchange Rate. Date</ccts:DictionaryEntryName>
                        <ccts:Definition>the date of the rate of exchange.</ccts:Definition>
                        <ccts:Cardinality>0..1</ccts:Cardinality>
                        <ccts:ObjectClass>Exchange Rate</ccts:ObjectClass>
                        <ccts:PropertyTerm>Date</ccts:PropertyTerm>
                        <ccts:RepresentationTerm>Date</ccts:RepresentationTerm>
                        <ccts:DataType>Date_Date Time. Type</ccts:DataType>
                    </ccts:Component>
                </xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element ref="ForeignExchangeContract" minOccurs="0" maxOccurs="1">
            <xsd:annotation>
                <xsd:documentation>
                    <ccts:Component xmlns:ccts="urn:oasis:names:specification:ubl:schema:xsd:CoreComponentParameters-1.0">
                        <ccts:ComponentType>ASBIE</ccts:ComponentType>
                        <ccts:DictionaryEntryName>Exchange Rate. Foreign Exchange_ Contract. Contract</ccts:DictionaryEntryName>
                        <ccts:Definition>identifies a foreign exchange contract in which a rate of exchange has been agreed.</ccts:Definition>
                        <ccts:Cardinality>0..1</ccts:Cardinality>
                        <ccts:ObjectClass>Exchange Rate</ccts:ObjectClass>
                        <ccts:PropertyTermQualifier>Foreign Exchange</ccts:PropertyTermQualifier>
                        <ccts:PropertyTerm>Contract</ccts:PropertyTerm>
                        <ccts:AssociatedObjectClass>Contract</ccts:AssociatedObjectClass>
                    </ccts:Component>
                </xsd:documentation>
            </xsd:annotation>
        </xsd:element>
    </xsd:sequence>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
SourceCurrencyCode cac:SourceCurrencyCode 1 1
SourceCurrencyBaseRate cbc:SourceCurrencyBaseRate 0 1
TargetCurrencyCode cac:TargetCurrencyCode 1 1
TargetUnitBaseRate cbc:TargetUnitBaseRate 0 1
ExchangeMarketID cac:ExchangeMarketID 0 1
CalculationRate cbc:CalculationRate 0 1
OperatorCode cac:OperatorCode 0 1
Date cbc:Date 0 1
ForeignExchangeContract cac:ForeignExchangeContract 0 1
Collapse Derivation Tree:
Collapse References:
cac:ExchangeRate