An Invoice shall have an Invoice number (BT-1).
The invoice number in rsm:ExchangedDocument/ram:ID is missing or empty.
The invoice number identifies the invoice and allows it to be referenced unambiguously.
Your invoice is missing an invoice number. Add a value so that the invoice can be identified.
- Add the invoice number through
InvoiceNo. - Generate the invoice again and validate it once more.
<rsm:ExchangedDocument> <ram:ID/> </rsm:ExchangedDocument>
<rsm:ExchangedDocument> <ram:ID>INV-2026-001</ram:ID> </rsm:ExchangedDocument>
FacturXInvoice.InvoiceNo(BT-1)
Technical details
The test checks whether rsm:ExchangedDocument/ram:ID is not equal to the empty string.
The rule applies to ram:ID within rsm:ExchangedDocument in the invoice header.
rule/@context)assert/@test)