# UBL-CR-259

Source: https://xmlvalid.com/rules/UBL-CR-259

> A UBL invoice should not include the AccountingCustomerParty Party ServiceProviderParty

- Level: warning
- Rule sets: EN 16931 rules (UBL) 1.3.17, EN 16931 rules 1.3.16 (UBL), Romanian RO e-Factura rules (UBL) 1.0.9
- Context: `/ubl:Invoice | /cn:CreditNote`
- Test: `not(cac:AccountingCustomerParty/cac:Party/cac:ServiceProviderParty)`

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