AF-0056
Der angegebene Wert '…' ist ungültig. Die angegebene Bestellpositionsnummer muss eine positive Ganzzahl und darf maximal 5 stellig sein.
In English The order position number must be a positive whole number of at most five digits.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
/*:Invoice/*:Details/*:ItemList/*:ListLineItem
not(at:order-number($order)) or $position = '' or (matches($position, '^[0-9]{1,5}$') and xs:integer($position) gt 0)
Checked with Austria e-Rechnung.gv.at (ebInterface 6.1), Austria e-Rechnung.gv.at (ebInterface 6.0)
/ubl:Invoice/cac:InvoiceLine | /cn:CreditNote/cac:CreditNoteLine
not(at:order-number($order)) or $position = '' or (matches($position, '^[0-9]{1,5}$') and xs:integer($position) gt 0)
Checked with Austria e-Rechnung.gv.at Peppol Invoice, Austria e-Rechnung.gv.at Peppol Credit Note