Skip to main content

Responces

Validation errors

Error messageCode
"object with the given fiscal ID not found"NO_OBJECT_FOUND
"certificate not found""NO_CERT_FOUND"
"incorrect date and time of operation""WRONG_DATE_TIME"
"parent fiscal num must be present""MISSING_PARENT_FISCAL_NUM"
"the date and time is less than the last invoice time""WRONG_DATE_TIME_FOR_LAST_INV"
"amount due does not equal total amount minuse the sum of all payments""WRONG_AMOUNT_DUE"
"amount due is positive, but neither a payment due dat nor payment terms are provided""NO_PAYMENT_DUE_DETAILS"
"total net amount does not match the sum of all item amounts""WRONG_TOTAL_NET_AMOUNT"
"amount does not equal price * quantity for item with name/lineId %s""WRONG_ITEM_AMOUNT"
"tax amount for tax code '%s' (rate %.2f) does not equal base * rate for item with name/lineId '%s'""WRONG_TAX_AMOUNT"
"these tax codes with rates are invalid: (list of tax codes-rates)""NO_TAX_CODES_RATES_FOUND"
"these taxes with rates are missing from total taxes: (list of tax codes-rates)""UNEXPECTED_TAXES"
"these taxes with rates are unexpected in total taxes: (list of tax codes-rates)""MISSING_TAXES"
"these taxes with tax rates have incorrect total amounts: (list of tax codes-rates)""WRONG_TOTAL_TAX_AMOUNTS"
"vatTotalAC does not equal to sum of taxTotal tax amounts""WRONG_VAT_TOTAL_AC"
(required fields are missing or have a wrong format)WRONG_FORMAT
Other errorsOTHER

Example:

{
"fiscalNumbersCnt": 99,
"fiscalRanges": [
{
"prefix": "FA",
"startNum": 19318,
"stopNum": 19399
},
{
"prefix": "FA",
"startNum": 19400,
"stopNum": 19498
},
{
"prefix": "FA",
"startNum": 19499,
"stopNum": 19597
}
]
}