The element "Buyer reference" (BT-10) shall be transmitted.
The ram:BuyerReference element is missing or contains no text after leading and trailing whitespace is removed. The buyer reference BT-10 must be provided as a non-empty value.
The buyer reference associates the invoice with the buyer’s reference. It must be provided as the required item BT-10.
The buyer reference is missing from your invoice or contains only whitespace. Add a non-empty reference to the invoice header.
- Add a non-empty buyer reference to
ram:BuyerReference. - Check the value using
ReferenceOrderNo. - Generate the invoice again and validate it once more.
<ram:ApplicableHeaderTradeAgreement> <ram:BuyerReference/> </ram:ApplicableHeaderTradeAgreement>
<ram:ApplicableHeaderTradeAgreement> <ram:BuyerReference>REF-123</ram:BuyerReference> </ram:ApplicableHeaderTradeAgreement>
FacturXInvoice.ReferenceOrderNo(BT-10)
Technical details
The test requires ram:BuyerReference under ram:ApplicableHeaderTradeAgreement and checks that its normalized content is not empty.
The rule applies to the agreement information in the invoice header under ram:ApplicableHeaderTradeAgreement.
rule/@context)assert/@test)