AF-0055
Es wurde kein Wert angegeben. Es muss eine Bestellpositionsnummer angegeben werden, wenn die Auftragsreferenz eine Bestellnummer ist.
In English An order position number is missing on a line: when the order reference is an order number, each line must name the position of the order it bills.
Why it fails
- ebInterface: a
ListLineItemhas noInvoiceRecipientsOrderReference/OrderPositionNumber. UBL: an invoice line has nocac:OrderLineReference/cbc:LineID(BT-132).
How to fix it
Give each line the number of the order position it bills (10, 20, 30 as in the order). With an order number the reference on the line should be the same as the one in the header.
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 != ''
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 != ''
Checked with Austria e-Rechnung.gv.at Peppol Invoice, Austria e-Rechnung.gv.at Peppol Credit Note