KSEF-XSD-MAXOCCURS
The element … occurs … times; the FA(3) schema allows at most ….
Official rule text
The element … occurs … times; the FA(3) schema allows at most ….
Where the rule applies
| Rule set | Document type | Severity |
|---|---|---|
| KSeF FA(3) (XML schema) (FA3-1-0E) Polish Ministry of Finance | KSeF FA(3) | fatal |
Fatal and error findings make the invoice invalid (valid: false); warnings and information do not.
Technical check
- Syntax
- KSEF · KSeF FA(3) (XML schema) (FA3-1-0E)
- Test (must be true)
count(fa:{$element}) le {$max}
How the API reports this rule
Every finding of POST /v1/validate carries the rule id, severity, message, location (XPath) and rule set, and links this page (docUrl):
{
"severity": "fatal",
"ruleId": "KSEF-XSD-MAXOCCURS",
"message": "The element … occurs … times; the FA(3) schema allows at most ….",
"xpath": "/…",
"source": "schematron:ksef@FA3-1-0E",
"docUrl": "https://einvoice-api.eu/rules/ksef-xsd-maxoccurs.html"
}Check an invoice against this rule and every other rule of the rule set – in the browser, without sign-up.
Rule text and severity are taken unchanged from the official rule set; this page is generated from the API's configuration. Not legal advice.