Error codes

BR-CO-04: Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT categor

Severity: fatal · Syntax: CII, UBL

Official message

Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151).

What this means

The official message is: Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151). 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

BG-25, BT-151

Related rules

Context and assertion

UBL cac:InvoiceLine | cac:CreditNoteLine

CII //ram:IncludedSupplyChainTradeLineItem

UBL

(cac:Item/cac:ClassifiedTaxCategory[cac:TaxScheme/(normalize-space(upper-case(cbc:ID))='VAT')]/cbc:ID)

CII

(ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax[upper-case(ram:TypeCode) = 'VAT']/ram:CategoryCode)

Check a file now, free of charge

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