# IT-R-001

Source: https://xmlvalid.com/rules/IT-R-001

> BT-32 (Seller tax registration identifier) - For Italian suppliers BT-32 minimum length 11 and maximum length shall be 16. Per i fornitori italiani il BT-32 deve avere una lunghezza tra 11 e 16 caratteri

- Level: error
- Rule sets: Peppol BIS Billing 3.0 rules 3.0.21
- Context: `cac:AccountingSupplierParty/cac:Party[$supplierCountry = 'IT']/cac:PartyTaxScheme[normalize-space(cac:TaxScheme/cbc:ID) != 'VAT']`
- Test: `matches(normalize-space(cbc:CompanyID),'^[A-Z0-9]{11,16}$')`

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