Problem
- codeType: enumrequired
Stable. New codes may be added; existing ones are never renamed.
values- field
_missing - field
_invalid - total
_sign _invalid - client
_unknown - version
_conflict - stale
_version - line
_id _duplicate - client
_not _onboarded
- field
- scopeType: "document" or "line" or "lines"enumrequired
document: a document field is wrong, and the problem shows on every line.line: this line alone.lines: found on several lines checked together, for example a VAT total per rate that does not add up. It shows on each line involved. - severityType: "error" or "warning"enumrequired
- fieldType: string
The field concerned, for example
counterparty_vat_numberorlines[0].tax_code. - messageType: string
English, for developers and logs. Show users your own text, keyed by
code. - paramsType: objectProperties: 1
Values to fill your own message text.