Error codes

UBL-CR-666: A UBL invoice shall not include an AdditionalDocumentReference simultaneously re

Severity: fatal · Syntax: UBL

Official message

A UBL invoice shall not include an AdditionalDocumentReference simultaneously referring an Invoice Object Identifier and an Attachment

What this means

The official message is: A UBL invoice shall not include an AdditionalDocumentReference simultaneously referring an Invoice Object Identifier and an Attachment 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:AdditionalDocumentReference[cbc:DocumentTypeCode = '130']/cac:Attachment)

Check a file now, free of charge

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