This section describes the data types and formats used consistently in the Numeral API
Standard data types
Data type | Description |
---|---|
Amount | Unless indicated otherwise, any amount is expressed in absolute value, as an integer, in the currency's smallest unit. For euro, the smallest unit is cents. €20 is represented as 2000. |
Date | Date in YYYY-MM-DD format, e.g. 2021-04-25 . |
Datetime | Date and time with timezone information in ISO 8601 YYYY-MM-DDTHH:mm:ssZ format, e.g. 2021-04-25T17:22:18+0000 . Unless indicated otherwise, Numeral uses UTC. |
Country code | ISO 3166 alpha-2 country code, e.g. GB , FR , or US . |
Currency code | ISO 4217 currency code, e.g. GBP , EUR , or USD . See Currency codes and digits. |
Purpose code | Purpose code based on ISO's external category purpose codes. See Purpose codes. |