# SDI-00472

Source: https://xmlvalid.com/rules/SDI-00472

> Per il valore indicato nell'elemento 2.1.1.1 <TipoDocumento> il cedente/prestatore deve essere uguale al cessionario/committente

- Level: error
- Rule sets: SdI checks (FatturaPA ordinary invoice) Specifiche tecniche 1.9.1
- Context: `/p:FatturaElettronica/FatturaElettronicaBody`
- Test: `not($type = ('TD21', 'TD27') and $buyer and not($seller/IdPaese = $buyer/IdPaese and $seller/IdCodice = $buyer/IdCodice))`

In English: For this document type (2.1.1.1, TD21 or TD27) the seller and the buyer must be the same.

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