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 |
---|---|---|
|
|
|
|
| Amount in the defined format. |
| bounding-box | Bounding box of the occurrence including the page number. |
Valid feedback
Form | Example |
---|---|
| 12.3:EUR; 12,4:USD; 12.98:USD |
| 12,3 EUR; 12,4 USD; 12 € |
| 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).