AttestwireRule referenceBR-46

BR-46 Each VAT breakdown group must state a VAT amount

noun · EN 16931 · fatal · BT-117

For a sample invoice, the library reports: VAT breakdown group 1 of the document states no readable VAT category tax amount (BT-117): the element is missing, empty, or not a plain decimal number.

Business term
BT-117
Severity
fatal

The fix

State the VAT amount (BT-117) on every VAT breakdown group of the document. It is mandatory in the group whatever its value, zero included.

What the library returns

The full error returned by @attestwire/en16931. It includes the rule ID, affected field and suggested correction. Developers can use this object in their application:

TeachingError
{
  "rule": "BR-46",
  "field": "BT-117",
  "severity": "fatal",
  "message": "VAT breakdown group 1 of the document states no readable VAT category tax amount (BT-117): the element is missing, empty, or not a plain decimal number. Each VAT breakdown (BG-23) shall have one, even when it is zero — an absent amount and a zero amount are different claims, and BR-CO-14 sums these values into the document VAT total.",
  "fix": "State the VAT amount (BT-117) on every VAT breakdown group of the document. It is mandatory in the group whatever its value, zero included.",
  "xpath": "/ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal[1]/cbc:TaxAmount",
  "docsUrl": "https://attestwire.com/rules/BR-46"
}

xpath is always a UBL path. On a CII invoice, look for the matching CII field instead.