Tax representative VAT identifier is missing

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 has no non-empty ram:SpecifiedTaxRegistration/ram:ID with the attribute schemeID='VA'. This value is the tax representative’s VAT identifier (BT-63).

What the rule means

The rule requires each seller tax representative party to have a VAT identifier using the VA identification scheme.

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

No matching VAT identifier is provided for the seller’s tax representative. Add the identifier using the VA scheme.

What to do
  1. Add a non-empty ram:SpecifiedTaxRegistration/ram:ID with schemeID='VA' for ram:SellerTaxRepresentativeTradeParty.
  2. Check FacturXInvoice.SellerTaxRepresentativeTaxRegistration and LegalOrganization.ID for the tax representative details.
  3. Generate the invoice again and validate it once more.
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:SellerTaxRepresentativeTradeParty for ram:SpecifiedTaxRegistration/ram:ID with schemeID='VA' and checks that its value is non-empty.

Where the rule applies

The rule applies to the seller tax representative party in ram:SellerTaxRepresentativeTradeParty.

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