# UBL-CR-674

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

> A UBL invoice should not include the PrimaryAccountNumberID schemeID

- Level: warning
- Rule sets: EN 16931 rules (UBL) 1.3.17
- Context: `/ubl:Invoice | /cn:CreditNote`
- Test: `not(//cbc:PrimaryAccountNumberID/@schemeID)`

> A UBL invoice should not include the PrimaryAccountNumber schemeID

- Level: warning
- Rule sets: EN 16931 rules 1.3.16 (UBL), EXTENDED-CTC-FR rules (UBL) 1.4.0.04
- Context: `/ubl:Invoice | /cn:CreditNote`
- Test: `not(//cbc:PrimaryAccountNumberID/@schemeID)`

> A UBL invoice should not include the PrimaryAccountNumber schemeID

- Level: warning
- Rule sets: Romanian RO e-Factura rules (UBL) 1.0.9
- Context: `/ubl:Invoice | /cn:CreditNote`
- Test: `not(//cbc:PrimaryAccountNumber/@schemeID)`

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