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.
error: the document is invalid
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
Context
/p:FatturaElettronica/FatturaElettronicaHeader/DatiTrasmissione/IdTrasmittente[IdPaese = 'IT']
Test
it:piva(IdCodice) or it:cf(IdCodice)
Checked with FatturaPA 1.2.3
Context
/s:FatturaElettronicaSemplificata/FatturaElettronicaHeader/DatiTrasmissione/IdTrasmittente[IdPaese = 'IT']
Test
it:piva(IdCodice) or it:cf(IdCodice)
Checked with FatturaPA simplified 1.0.2