Each Preceding Invoice reference (BG-3) shall contain a Preceding Invoice reference (BT-25).
The referenced document does not contain a non-empty IssuerAssignedID. The preceding invoice identifier (BT-25) is therefore missing.
The preceding invoice identifier identifies the document to which the reference relates.
The reference to a preceding invoice does not include an invoice number. Add the identifier so that the referenced document can be identified.
- Check the entries in
InvoiceReferencedDocument. - Provide a non-empty
IssuerAssignedIDfor the preceding invoice. - Check the entry using
AddInvoiceReferencedDocument(...)or the stored values in_InvoiceReferencedDocuments. - Generate the invoice again and validate it.
<ram:InvoiceReferencedDocument> <ram:IssuerAssignedID/> </ram:InvoiceReferencedDocument>
<ram:InvoiceReferencedDocument> <ram:IssuerAssignedID>INV-123</ram:IssuerAssignedID> </ram:InvoiceReferencedDocument>
FacturXInvoice.GetInvoiceReferencedDocuments()(BG-3; Id: BT-25)FacturXInvoice._InvoiceReferencedDocuments(BG-3; Id: BT-25)FacturXInvoice.AddInvoiceReferencedDocument(id, IssueDateTime, TypeCode)(BG-3)
Technical details
Within the InvoiceReferencedDocument context, the value of IssuerAssignedID must not be an empty string.
The rule applies to each referenced document in InvoiceReferencedDocument within the settlement information.
rule/@context)assert/@test)