# UBL-SR-23

Source: https://xmlvalid.com/rules/UBL-SR-23

> Seller tax representative VAT identifier shall occur maximum once, if the Seller has a tax representative

- Level: error
- Rule sets: EN 16931 rules (UBL) 1.3.17, EN 16931 rules 1.3.16 (UBL), EXTENDED-CTC-FR rules (UBL) 1.4.0.04
- Context: `cac:TaxRepresentativeParty`
- Test: `(count(cac:PartyTaxScheme/cbc:CompanyID) <= 1)`

> Seller tax representative VAT identifier shall occur maximum once, if the Seller has a tax representative

- Level: error
- Rule sets: Romanian RO e-Factura rules (UBL) 1.0.9
- Context: `cac:TaxRepresentativeParty`
- Test: `(count(cac:Party/cac:PartyTaxScheme/cbc:CompanyID) <= 1)`

Validate a document against these rules: https://xmlvalid.com/validate
