<xs:element name="Amount" type="xs:decimal" nillable="false"/>
<xs:element name="Currency" type="CurrencyCodeType" nillable="false" minOccurs="0"/>
Amount with according currency
<xs:complexType name="CurrencyAmountType"> <xs:annotation> <xs:documentation>Amount with according currency</xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="Amount" type="xs:decimal" nillable="false"/> <xs:element name="Currency" type="CurrencyCodeType" nillable="false" minOccurs="0"/> </xs:sequence> </xs:complexType>
<xs:simpleType name="CurrencyCodeType"> <xs:restriction base="xs:string"> <xs:length value="3"/> </xs:restriction> </xs:simpleType>