Skip to end of banner
Go to start of banner

Amount

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Describes an amount of money with a specific currency in the format <Amount>:<Currency Code>, where <Amount> is a decimal number with "." as a decimal separator and ":" as a delimiter between <Amount> and <Currency Code>.

The currency code should be given according to the list specified in ISO 4217.

Format

Name

Type

Description

entity

string

Must be amount.

value

string

Amount in the defined format.

box

bounding-box

Bounding box of the occurrence including the page number.

Valid feedback

Form

Example

<Number>:<Currency Code/Symbol>

12.3:EUR; 12,4:USD; 12.98:USD

<Number> <Currency Code/Symbol> (1-space-separation) 12,3 EUR; 12,4 USD; 12 € <Currency Code/Symbol> <Number> (1-space-separation) EUR 12.3; \$ 12.4

  • If there is no <Number> in the string, it is rejected.

  • If there is no <Currency Code/Symbol>, it is treated as default 'EUR' (default currency code).

  • No labels