An Invoice shall have an Invoice number (BT-1).
The ram:ID within ram:ExchangedDocument is empty. The invoice number BT-1 is therefore missing.
BT-1 identifies the invoice as an individual document. The invoice number makes it possible to refer to that specific invoice.
The invoice number is missing from ram:ExchangedDocument. You can enter the number in ram:ID.
- Check the value of
FacturXInvoice.InvoiceNo. - Ensure that the invoice number in
ram:ExchangedDocument/ram:IDis not empty. - Generate the invoice again and validate it again.
<ram:ExchangedDocument> <ram:ID/> </ram:ExchangedDocument>
<ram:ExchangedDocument> <ram:ID>INV-2026-001</ram:ID> </ram:ExchangedDocument>
FacturXInvoice.InvoiceNo(BT-1)
Technical details
The XPath checks whether ram:ExchangedDocument/ram:ID contains a non-empty value.
The rule applies to ram:ID in the invoice document ram:ExchangedDocument.
rule/@context)assert/@test)