VRBL-INV-EN16931-M-133

Basic Info

Rule The Seller Tax ID used for VAT ID and/or Seller ID and/or Seller Legal Registration ID must be present.
Context /ubl:Invoice/cac:AccountingSupplierParty
Pattern vrbl-invoice-en16931-ubl-model
Severity fatal

Implementation

boolean(cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID='VAT']/cbc:CompanyID)
or
boolean(cac:Party/cac:PartyIdentification/cbc:ID)
or
boolean(cac:Party/cac:PartyLegalEntity/cbc:CompanyID)