VAT identifier of the seller’s tax representative

Error BR-56 EN 16931

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

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

The tax representative is missing a non-empty VAT identifier in ram:SpecifiedTaxRegistration/ram:ID with schemeID VA.

What the rule means

Every seller’s tax representative must provide a VAT identifier. It is represented by a tax registration with the scheme code VA.

Affected fields BG-11 BT-63
Please add the seller’s tax representative VAT identifier

No VAT identifier with scheme code VA is provided for the seller’s tax representative. Add it to the representative’s tax registration.

What to do
  1. Add a non-empty ram:SpecifiedTaxRegistration/ram:ID with schemeID VA.
  2. Check the call to GetSellerTaxRepresentativeTaxRegistration() and the SellerTaxRepresentativeTaxRegistration value.
  3. Regenerate the invoice and check it again.
What it looks like
✗ Triggers the message
<ram:SellerTaxRepresentativeTradeParty>
  <ram:SpecifiedTaxRegistration>
    <ram:ID schemeID="VA"/>
  </ram:SpecifiedTaxRegistration>
</ram:SellerTaxRepresentativeTradeParty>
✓ Correct
<ram:SellerTaxRepresentativeTradeParty>
  <ram:SpecifiedTaxRegistration>
    <ram:ID schemeID="VA">DE123456789</ram:ID>
  </ram:SpecifiedTaxRegistration>
</ram:SellerTaxRepresentativeTradeParty>
Check in FactoorSharp
  • FacturXInvoice.GetSellerTaxRepresentativeTaxRegistration() (BT-63)
  • FacturXInvoice.GetShipToTaxRegistration() (BT-63)
  • FacturXInvoice.SellerTaxRepresentativeTaxRegistration (BT-63)
  • LegalOrganization.ID (SellerTaxRepresentativeTradeParty: BT-63)
  • FacturXInvoice.SellerTaxRepresentative (BG-11)
Technical details

The test looks under ram:SpecifiedTaxRegistration for a ram:ID with schemeID VA whose value is non-empty.

Where the rule applies

The rule applies to ram:SellerTaxRepresentativeTradeParty and its tax registration with schemeID VA.

Context (rule/@context)
//ram:SellerTaxRepresentativeTradeParty
Test expression (assert/@test)
(ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']!='')