Faktura

UBL-CR-672

warningEN 16931syntax binding ruleUBL

A UBL credit note should not include the CreditNoteTypeCode listID

Why it fails

The credit note type code carries a listID.

How to fix it

Remove listID from cbc:CreditNoteTypeCode — the code list is fixed by the standard.

What the validator checks

UBL — context /ubl:Invoice | /cn:CreditNote

not(cbc:CreditNoteTypeCode/@listID)

Related rules

Part of UBL-CR — UBL restrictions.

Validate an invoice against this rule →