AttestwireRule referenceBR-O-07

BR-O-07 A charge not subject to VAT must not have a VAT rate at all

noun · EN 16931 · fatal · BT-103

For a sample invoice, the library reports: The document level charge at charges[0] uses VAT category O (Not subject to VAT), so its VAT rate (BT-103) must not be present at all — not even as 0 — but it is 0.

Business term
BT-103
Severity
fatal

The fix

Remove vatRate from charges[0]. If the charge relates to a supply that is inside the scope of VAT but taxed at nothing, use category Z, which does carry a rate of 0.

A passing value

the shape this field expects
"vatCategory": "O"

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-O-07",
  "field": "BT-103",
  "severity": "fatal",
  "message": "The document level charge at charges[0] uses VAT category O (Not subject to VAT), so its VAT rate (BT-103) must not be present at all — not even as 0 — but it is 0. A transaction outside the scope of VAT has no rate at all, which is a different claim from a rate of zero: zero means \"taxed, at nothing\", absent means \"not taxed\". EN 16931 keeps the distinction because the two are reported differently on a VAT return.",
  "fix": "Remove vatRate from charges[0]. If the charge relates to a supply that is inside the scope of VAT but taxed at nothing, use category Z, which does carry a rate of 0.",
  "example": "\"vatCategory\": \"O\"",
  "xpath": "/ubl:Invoice/cac:AllowanceCharge[2]/cac:TaxCategory/cbc:Percent",
  "docsUrl": "https://attestwire.com/rules/BR-O-07"
}

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