fatalPeppol BIS Billing 3.0profileCIIUBL
Element Document reference can only be used for Invoice line object
A document reference is used somewhere other than an invoice line object reference.
On a line, cac:DocumentReference is only for the invoiced object identifier (BT-128). Move other references to document level (BG-24 additional supporting documents).
CII — context —
(not(ram:SpecifiedLineTradeSettlement/ram:AdditionalReferencedDocument) or (ram:SpecifiedLineTradeSettlement/ram:AdditionalReferencedDocument/ram:TypeCode='130'))
UBL — context —
(not(cac:DocumentReference) or (cac:DocumentReference/cbc:DocumentTypeCode='130'))