SDI-00475
Per il valore indicato nell'elemento 2.1.1.1 <TipoDocumento> deve essere presente l'elemento 1.4.1.1 <IdFiscaleIVA> del cessionario/committente
In English This document type (2.1.1.1) needs the buyer's VAT number (1.4.1.1).
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/FatturaElettronicaBody
Test
not($type = ('TD16', 'TD17', 'TD18', 'TD19', 'TD20', 'TD22', 'TD23', 'TD28', 'TD29')) or $buyer
Checked with FatturaPA 1.2.3