Error codes

BR-G-05: In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is

Severity: fatal · Syntax: CII, UBL

Official message

In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" the Invoiced item VAT rate (BT-152) shall be 0 (zero).

What this means

The official message is: In an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" the Invoiced item VAT rate (BT-152) shall be 0 (zero). 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, BT-152

Related rules

Context and assertion

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

CII //rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode = 'G'][upper-case(ram:TypeCode) = 'VAT']

UBL

(xs:decimal(cbc:Percent) = 0)

CII

ram:RateApplicablePercent = 0

Check a file now, free of charge

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