View raw Markdown
type: datatypedatatype: Money

Money

Overview

See also Examples, Detailed Descriptions, Mappings, Profiles and Extensions

An amount of currency.

[%dt Money 4%]

The value contains the amount of the currency, including an implicit precision. Precision is always important for financial amounts. The currency element contains an ISO 4217 code for the currency.

Money is used in the following places: [%dtusage Money%]

Alternate Representation

There are also circumstances where a financial amount must be represented as the numerator or denominator in a Ratio, where the type is currency. In this context, the Money amount is represented as a Quantity, using the MoneyQuantity constraint:

Profile NameRulesFormal Definitions
Money Quantity[%dt.constraints MoneyQuantity%]XML, JSON
Usage: [%dtusage MoneyQuantity%]

Note that the profile is different from the other specializations because it is not a type, just rules applied where the Quantity type is used to represent Money amounts.

Elements

Bindings

Requirements

Comments

Mappings