Rule reference

BR-IC-07 The document level charge at charges[0] uses VAT category K (Intra-community supply), so its VAT rate (BT-103) must be 0 (zero), but it is 19

The document level charge at charges[0] uses VAT category K (Intra-community supply), so its VAT rate (BT-103) must be 0 (zero), but it is 19. The supply is zero-rated on despatch and acquired VAT is due from the customer in the destination member state at that state's rate. Quoting a rate here would assert a tax liability that arises in a jurisdiction this invoice does not settle.

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:

TeachingError
{
  "rule": "BR-IC-07",
  "field": "BT-103",
  "severity": "fatal",
  "message": "The document level charge at charges[0] uses VAT category K (Intra-community supply), so its VAT rate (BT-103) must be 0 (zero), but it is 19. The supply is zero-rated on despatch and acquired VAT is due from the customer in the destination member state at that state's rate. Quoting a rate here would assert a tax liability that arises in a jurisdiction this invoice does not settle.",
  "fix": "Set charges[0].vatRate to 0, or omit it — this library normalises the rate for category K either way. If you did mean to charge 19% VAT on this charge, the category should be S instead, and that will change which breakdown group it nets into.",
  "example": "\"vatCategory\": \"K\", \"vatRate\": 0",
  "xpath": "/ubl:Invoice/cac:AllowanceCharge[2]/cac:TaxCategory/cbc:Percent",
  "docsUrl": "https://attestwire.com/rules/BR-IC-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

the shape this field expects
"vatCategory": "K", "vatRate": 0

The fix

Set charges[0].vatRate to 0, or omit it — this library normalises the rate for category K either way. If you did mean to charge 19% VAT on this charge, the category should be S instead, and that will change which breakdown group it nets into.

Arrived from a stack trace? The docsUrl on every error links straight here. Something wrong on this page — tell us.