BR-56

This id stands for 2 different rules, one per rule set below: Factur-X numbers its rules in each profile separately.

error: the document is invalid Peppol documentation ↗

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element

Message

Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63).

Context
//ram:SellerTaxRepresentativeTradeParty
Test
normalize-space(ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']) != ''

Checked with EN 16931 Invoice (CII)

Message

Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63).   

Context
cac:TaxRepresentativeParty
Test
exists(cac:PartyTaxScheme[cac:TaxScheme/cbc:ID = 'VAT']/cbc:CompanyID)

Checked with Portugal CIUS-PT Invoice (UBL), Portugal CIUS-PT Credit Note (UBL)

Message

Each Seller tax representative party (BG-11) shall have a Seller tax representative VAT identifier (BT-63).

Context
//ram:SellerTaxRepresentativeTradeParty
Test
(ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']!='')

Checked with France Factur-X BASIC WL, Factur-X / ZUGFeRD BASIC WL