# BR-KSA-71

Source: https://xmlvalid.com/rules/BR-KSA-71

> If the Invoice is a simplified invoice type and is a summary invoice (KSA-2, position 1 and 2 = 02, position 6 = 1),then the buyer name must be present.

- Level: warning
- Rule sets: ZATCA e-invoicing rules (Saudi Arabia) SDK 3.4.6
- Context: `cbc:InvoiceTypeCode[substring(@name, 1, 2) = '02']`
- Test: `not(exists(//cac:AccountingCustomerParty/cac:Party//cac:PartyLegalEntity/cbc:RegistrationName) and //cac:AccountingCustomerParty/cac:Party//cac:PartyLegalEntity/cbc:RegistrationName !='')`

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