XRechnung 2.4.0 · CII

BR-DEX-15

XRechnung 2.4.0 · CII

warningcountry

Original rule text

[BR-DEX-15] This CII file might use the concept of Sub Invoice Lines. However XRechnung does not support this.

Stored validation assertion
not(exists(//ram:ParentLineID))

What this rule requires

For invoices that declare themselves as an XRechnung extension (the $isExtension variable), the rule checks that the invoice does not contain any ram:ParentLineID element. The test is not(exists(//ram:ParentLineID)), so if any ram:ParentLineID appears anywhere, the rule reports a warning. ram:ParentLineID indicates use of sub invoice lines, which XRechnung does not support. Since severity is warning, the document is not rejected but the validator advises against this.

How to fix

Remove all ram:ParentLineID elements from the invoice, or restructure the line items so no sub invoice lines are used.

Guidance on this rule. The original text above is authoritative.