XRechnung 2.0.0 · UBL

BR-DE-14

XRechnung 2.0.0 · UBL

fatalcountry

Original rule text

[BR-DE-14] Das Element "VAT category rate" (BT-119) muss übermittelt werden.

Stored validation assertion
cac:TaxCategory/cbc:Percent[boolean(normalize-space(.))]

What this rule requires

This rule requires the element "VAT category rate" (BT-119) to be transmitted. In UBL, each cac:TaxSubtotal must contain cac:TaxCategory/cbc:Percent with a non-empty value (not only whitespace). In CII, each ram:ApplicableTradeTax must contain ram:RateApplicablePercent with a non-empty value. Because the severity is fatal, an invoice without this element fails validation.

How to fix

Ensure the VAT rate is present and non-empty for each applicable tax breakdown. In UBL, set cac:TaxCategory/cbc:Percent to the applicable VAT rate within every cac:TaxSubtotal. In CII, set ram:RateApplicablePercent to the applicable VAT rate within every ram:ApplicableTradeTax. If the element exists but is empty or contains only whitespace, provide the actual rate value.

Guidance on this rule. The original text above is authoritative.