Error codes

UBL-CR-537: A UBL invoice should not include the InvoiceLine DocumentReference DocumentType

Severity: warning · Syntax: UBL

Official message

A UBL invoice should not include the InvoiceLine DocumentReference DocumentType

What this means

The official message is: A UBL invoice should not include the InvoiceLine DocumentReference DocumentType 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 /ubl:Invoice | /cn:CreditNote

UBL

not((cac:InvoiceLine|cac:CreditNoteLine)/cac:DocumentReference/cbc:DocumentType)

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate