accepted – The result: true means accepted. An accepted invoice can still carry findings with the severity “warning” or “information”. So always read the result from this field, never from an empty list of findings.
scenario – The rule set chosen automatically, e.g. “XRechnung 3.0 CII”.
input – xml or pdf, depending on what you sent.
findings – The findings. Each names the rule, its severity, the text, the place in the invoice as XPath, the fields concerned (BT and BG) and an explanation in your language.
report – The full validation report in the format of the KoSIT validator, as XML text.
engine and rulesets – Name and version of the validation engine, and the rule sets with their edition, e.g. “XRechnung-UBL@3.0.2”.
When something goes wrong
Status 400 – The request was empty.
Status 401 – A key was sent, but it is unknown or blocked.
Status 415 – The content is neither XML nor PDF.
Status 422 – The XML could not be read, or the PDF carries no invoice.
Status 429 – The quota is used up. The header Retry-After tells you when it works again.