Skip to content
SmartFormular

SmartFormular › SmartFormular E-Invoice Start › Validation rules › PEPPOL-EN16931-R101

PEPPOL-EN16931-R101

A document reference in a line is allowed only as an object identifier (BT-128)

Validation rule of XRechnung 3.0.2 (KoSIT, Schematron 2.6.0) · Level: Error

What the message means

A document reference in a line is allowed only as an object identifier (BT-128).

What the issuer needs to change

Give other references at invoice level.

This rule is part of XRechnung, even though its name starts with PEPPOL.

Fields concerned

  • BT-128 invoice line object identifier

Your invoice reports PEPPOL-EN16931-R101? Check it with SmartFormular E-Invoice Start, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.

Check an e-invoice

Origin

Rule set
XRechnung 3.0.2 (KoSIT, Schematron 2.6.0)
Syntax
CII, UBL
Level
Error

Original rule text

Element Document reference can only be used for Invoice line object

Source: KoSIT, XRechnung Schematron 2.6.0, Apache License 2.0

Technical details for IT

UBL

Context: cac:InvoiceLine | cac:CreditNoteLine
Test: not((not(cac:DocumentReference) or (cac:DocumentReference/cbc:DocumentTypeCode='130')))

CII

Context: ram:IncludedSupplyChainTradeLineItem
Test: not((not(ram:SpecifiedLineTradeSettlement/ram:AdditionalReferencedDocument) or (ram:SpecifiedLineTradeSettlement/ram:AdditionalReferencedDocument/ram:TypeCode='130')))

Related rules

All validation rules

Technical explanation by SmartFormular, not tax or legal advice. Rules as of 31 August 2026 (KoSIT validator configuration).