Rule reference

BR-18 The invoice carries a seller tax representative group (BG-11), so it must carry the tax representative's name (BT-62)

The invoice carries a seller tax representative group (BG-11), so it must carry the tax representative's name (BT-62). A fiscal representative is the party that answers to the tax authority for this supply in a member state where the seller is not established — the name is what makes that liability attach to somebody. An unnamed representative leaves the VAT with nobody to account for it, which is the situation the whole group exists to prevent.

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-62
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-18",
  "field": "BT-62",
  "severity": "fatal",
  "message": "The invoice carries a seller tax representative group (BG-11), so it must carry the tax representative's name (BT-62). A fiscal representative is the party that answers to the tax authority for this supply in a member state where the seller is not established — the name is what makes that liability attach to somebody. An unnamed representative leaves the VAT with nobody to account for it, which is the situation the whole group exists to prevent.",
  "fix": "Set taxRepresentative.name to the legal name of the fiscal representative, or remove the taxRepresentative object if the seller is registered directly.",
  "example": "\"taxRepresentative\": { \"name\": \"Fiscal Rep France SARL\", \"vatId\": \"FR12345678901\" }",
  "xpath": "/ubl:Invoice/cac:TaxRepresentativeParty/cac:PartyName/cbc:Name",
  "docsUrl": "https://attestwire.com/rules/BR-18"
}

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
"taxRepresentative": { "name": "Fiscal Rep France SARL", "vatId": "FR12345678901" }

The fix

Set taxRepresentative.name to the legal name of the fiscal representative, or remove the taxRepresentative object if the seller is registered directly.

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