# XV-IT-01

Source: https://xmlvalid.com/rules/XV-IT-01

> The transmitter's code 1.1.1.2 <IdCodice> is neither a partita IVA nor a codice fiscale with a valid check digit; the SdI rejects it with 00300.

- Level: error
- Rule sets: SdI checks (FatturaPA ordinary invoice) Specifiche tecniche 1.9.1
- Context: `/p:FatturaElettronica/FatturaElettronicaHeader/DatiTrasmissione/IdTrasmittente[IdPaese = 'IT']`
- Test: `it:piva(IdCodice) or it:cf(IdCodice)`

> The transmitter's code 1.1.1.2 <IdCodice> is neither a partita IVA nor a codice fiscale with a valid check digit; the SdI rejects it with 00300.

- Level: error
- Rule sets: SdI checks (FatturaPA simplified invoice) Specifiche tecniche 1.9.1
- Context: `/s:FatturaElettronicaSemplificata/FatturaElettronicaHeader/DatiTrasmissione/IdTrasmittente[IdPaese = 'IT']`
- Test: `it:piva(IdCodice) or it:cf(IdCodice)`

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