BR-O-07 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
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.
This rule is implemented and its error payload below is real, but the long-form write-up — normative text, worked example, divergence note — is not written yet. Everything the library knows about this rule is on this page. Ask and we will prioritise it.
- Business term
BT-103- Severity
fatal
What the library returns
The exact object in result.errors when this rule fires.
Generated by running @attestwire/en16931, not transcribed:
{
"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 locates the element in the generated UBL document,
which is where a KoSIT or Peppol validator will report the same problem.
A passing value
"vatCategory": "O"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.