AF-0126
Der angegebene Wert ist ungültig. Die Auftragsreferenz '…' ist ungültig.
In English The order reference is not valid: it must be an order number (ten digits), a buyer group (three letters or digits) or a buyer group, a colon and a reference of up to 50 characters.
Why it fails
- The reference is an internal number of the buyer or of the seller, or a buyer group was given with spaces or with a hyphen instead of a colon.
How to fix it
Use the form the federal office gave you: 4700012345, Z01 or Z01:111599. Mind the difference between the letter O and the digit 0.
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
$order = '' or at:order-number($order) or matches($order, '^[A-Za-z0-9]{3}(:.{1,50})?$')
Checked with Austria e-Rechnung.gv.at (ebInterface 6.1), Austria e-Rechnung.gv.at (ebInterface 6.0)
/ubl:Invoice | /cn:CreditNote
$order = '' or at:order-number($order) or matches($order, '^[A-Za-z0-9]{3}(:.{1,50})?$')
Checked with Austria e-Rechnung.gv.at Peppol Invoice, Austria e-Rechnung.gv.at Peppol Credit Note