amount

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>.

//amount { "entity": "amount", "value": "33.78:EUR", "box": { "page": 1, "left": 535.0, "top": 395.0, "width": 25.0, "height": 10.0 } }

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

Format

Name

Type

Description

Name

Type

Description

entity

string

amount

value

string

Amount in the defined format.

box

bounding-box

Bounding box of the occurrence including the page number.

Valid feedback

Form

Example

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).