PEPPOL-EN16931-R101: Element Additional referenced document can only be used for Invoice line object.
Severity: fatal · Syntax: CII, UBL
Official message
Element Additional referenced document can only be used for Invoice line object.
What this means
The official message is: Element Additional referenced document can only be used for Invoice line object. This page does not add a further obligation.
Typical cause
The assertion in the context above failed for this file.
How to fix it
Adjust the file so the assertion succeeds, then validate it again. This page helps you read the rule.
Business term
—
Related rules
Context and assertion
UBL cac:InvoiceLine | cac:CreditNoteLine
CII ram:IncludedSupplyChainTradeLineItem
UBL
(not(cac:DocumentReference) or (cac:DocumentReference/cbc:DocumentTypeCode='130'))CII
(not(ram:SpecifiedLineTradeSettlement/ram:AdditionalReferencedDocument) or (ram:SpecifiedLineTradeSettlement/ram:AdditionalReferencedDocument/ram:TypeCode='130'))
Check a file now, free of charge
curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate