Problems·HTTP 422
unknown-ruleset
There is no such ruleset.
What it means
The ruleset asked for is not one this API validates against.
What to do
GET /v1/rulesets lists them. Leave ruleset out to use the current one.
Example
Sent as application/problem+json (RFC 9457). Branch on type, which is stable. Never branch on title or detail, which are prose and may change.
{ "type": "https://www.einvoicing.dev/problems/unknown-ruleset", "title": "There is no such ruleset.", "status": 422, "detail": "…"}All problem types
Every error the API can return, with what to do about each.
API reference
Every operation, its parameters and the errors it can answer with.