Error codes · EN 16931
Export-outside-EU VAT category taxable amount must equal the sum of line net amounts
The rule, in short: [BR-G-08] BR-G-08 fires when, in a VAT breakdown (BG-23) whose VAT category code (BT-118) is 'Export outside the EU' (code G), the VAT category taxable amount (BT-116) does not equal the sum of the invoice line net amounts (BT-131) assigned to category G, minus document-level allowances plus document-level charges for that category. It is the category-G member of the EN 16931 taxable-amount family (BR-S-08, BR-Z-08, BR-E-08, BR-AE-08, BR-IC-08, BR-O-08).
The schematron sums every G line cbc:LineExtensionAmount, subtracts category-G allowances (ChargeIndicator=false) and adds category-G charges (ChargeIndicator=true), then compares to BT-116 of the G TaxSubtotal. Failures: a line mapped to a different category; allowances/charges with missing/wrong category code; independent rounding; mixing export and domestic lines under one G subtotal; emitting gross instead of net line amount.
<cac:TaxSubtotal><cbc:TaxableAmount currencyID="EUR">5000.00</cbc:TaxableAmount><cbc:TaxAmount currencyID="EUR">0.00</cbc:TaxAmount><cac:TaxCategory><cbc:ID>G</cbc:ID><cbc:Percent>0</cbc:Percent><cac:TaxExemptionReasonCode>VATEX-EU-G</cac:TaxExemptionReasonCode><cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme></cac:TaxCategory></cac:TaxSubtotal>
<cac:TaxSubtotal><cbc:TaxableAmount currencyID="EUR">4750.00</cbc:TaxableAmount><cbc:TaxAmount currencyID="EUR">0.00</cbc:TaxAmount><cac:TaxCategory><cbc:ID>G</cbc:ID><cbc:Percent>0</cbc:Percent><cac:TaxExemptionReasonCode>VATEX-EU-G</cac:TaxExemptionReasonCode><cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme></cac:TaxCategory></cac:TaxSubtotal>