Faktura

PEPPOL-EN16931-R101

fatalPeppol BIS Billing 3.0profileCIIUBL

Element Document reference can only be used for Invoice line object

Why it fails

A document reference is used somewhere other than an invoice line object reference.

How to fix it

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).

What the validator checks

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'))

Related rules

Part of PEPPOL-EN16931 — Peppol BIS Billing 3.0.

Validate an invoice against this rule →

This is a Peppol BIS Billing 3.0 rule: an invoice can be perfectly valid EN 16931 and still be rejected by it.