einvoicecheck
Menu

Rules / UBL-CR-180 · Markdown

Peppol BIS Billing 3.0 · rule

UBL-CR-180

Layer en16931·Checked against Peppol BIS Billing 3.0 2026.5

What does UBL-CR-180 mean? A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CompanyLegalFormCode

Why did my invoice fail UBL-CR-180?

This EN 16931 rule warns when the UBL element cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyLegalFormCode is present: the invoice should not include a coded company legal form for the seller. EN 16931 carries additional legal information about the seller as free text (BT-33, cbc:CompanyLegalForm); the coded variant CompanyLegalFormCode is not part of the core model. The element is not forbidden by UBL itself, but it lies outside the EN 16931 core invoice model, so remove it to keep the invoice fully conformant and interoperable.

Official rule text

A UBL invoice should not include the AccountingSupplierParty Party PartyLegalEntity CompanyLegalFormCode

Common causes

How do I fix it?

<cac:PartyLegalEntity>
  <cbc:RegistrationName>Example Ltd</cbc:RegistrationName>
  <!-- use the text element (BT-33), not CompanyLegalFormCode -->
  <cbc:CompanyLegalForm>Private limited company, share capital EUR 50,000</cbc:CompanyLegalForm>
</cac:PartyLegalEntity>

Related rules

UBL-CR-001 · UBL-CR-002 · UBL-CR-003 · UBL-CR-004 · UBL-CR-005 · UBL-CR-006 · UBL-CR-007 · UBL-CR-008

Check your invoice against this rule

Paste it into the live demo, or call POST /v1/validate. See the quickstart.