Attestwire › Rule reference › BR-18
BR-18 A seller tax representative must be named
noun · EN 16931 · fatal · BT-62
For a sample invoice, the library reports: The invoice carries a seller tax representative group (BG-11), so it must carry the tax representative's name (BT-62).
- Business term
BT-62- Severity
fatal
The fix
Set taxRepresentative.name to the legal name of the fiscal representative, or remove the taxRepresentative object if the seller is registered directly.
A passing value
"taxRepresentative": { "name": "Fiscal Rep France SARL", "vatId": "FR12345678901" }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:
{
"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 is always a UBL path. On a CII invoice, look for the
matching CII field instead.