SDI-00403

2.1.1.3 <Data> successiva alla data di ricezione

In English The invoice date (2.1.1.3) is after the day the SdI receives the file.

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
$date le current-date() + xs:dayTimeDuration('P1D')

Checked with FatturaPA 1.2.3

Context
/s:FatturaElettronicaSemplificata/FatturaElettronicaBody
Test
$date le current-date() + xs:dayTimeDuration('P1D')

Checked with FatturaPA simplified 1.0.2