# API Conventions
# Date times
Date times are in Y-m-d\TH:i:sP
, i.e. 2023-06-22T13:30:12+03:00
format
# Money values
Money values are objects consisting of amount
and currency
fields, e.g.
{
"amount": "500",
"currency": "EUR"
}
The amount is usually in EURO cents, e.g. 5 EUR * 100 = 500 cents. The only
exception to the rule is Invoice.rows[...].unit_price
which is as fractions
so 5 EUR * 1000 = 5000 because some industries are invoicing with that
precision.
NOTE: Currently only EUR is supported as currency.