Skip to content
WorkAlio
EN 16931 core rules

BR-CO-11: Sum of allowances on document level (BT-107) must match the invoice's other totals

What this rule requires

Sum of allowances on document level (BT-107) must match the invoice's other totals.

ExampleEN 16931 (UBL)

An invoice built like a valid one, except for this:

<cac:LegalMonetaryTotal>
  <cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount>
  <cbc:TaxExclusiveAmount currencyID="EUR">95.00</cbc:TaxExclusiveAmount>
  <cbc:TaxInclusiveAmount currencyID="EUR">114.00</cbc:TaxInclusiveAmount>
  <cbc:AllowanceTotalAmount currencyID="EUR">5.00</cbc:AllowanceTotalAmount>
  <cbc:PayableAmount currencyID="EUR">114.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>

The validator says: Sum of allowances on document level (BT-107) is 5.00, but the other amounts on the invoice add up to 10.00.

How to fix it

Recalculate Sum of allowances on document level so it matches the sum of the invoice's other amounts.

Frequently asked questions

What does BR-CO-11 mean?
Sum of allowances on document level (BT-107) must match the invoice's other totals. The rule runs under EN 16931 (UBL), Peppol BIS 3.0, and XRechnung 3.0 (UBL).
How do I fix BR-CO-11?
Recalculate Sum of allowances on document level so it matches the sum of the invoice's other amounts. In UBL the element is /Invoice/cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount.

Runs under these profiles

  • EN 16931 (UBL)
  • Peppol BIS 3.0
  • XRechnung 3.0 (UBL)

Element path

  • Sum of allowances on document level (BT-107)UBL /Invoice/cac:LegalMonetaryTotal/cbc:AllowanceTotalAmountCII /CrossIndustryInvoice/SupplyChainTradeTransaction/ApplicableHeaderTradeSettlement/SpecifiedTradeSettlementHeaderMonetarySummation/AllowanceTotalAmountRead from what WorkAlio's CII parser accepts — there is no CII writer yet, so this path is not independently verified the way the UBL path is.