We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b683ae commit ffb3a0aCopy full SHA for ffb3a0a
PyFePA/serializer.py
@@ -97,7 +97,7 @@ def globalvalidation(fattura):
97
and fattura.FatturaElettronicaHeader.CedentePrestatore.DatiAnagrafici.Anagrafica.Denominazione is None:
98
raise ValidateException('Denominazione Azienda Mancante')
99
for feb in fattura.FatturaElettronicaBody:
100
- if feb.DatiGenerali.DatiGeneraliDocumento.Data > datetime.datetime.today():
+ if feb.DatiGenerali.DatiGeneraliDocumento.Data > datetime.date.today():
101
print(feb.DatiGenerali.DatiGeneraliDocumento.Data, '- TODAY -', datetime.date.today())
102
raise ValidateException('00403 - Data Fattura non puo essere nel futuro')
103
for ln in feb.DatiBeniServizi.DettaglioLinee:
0 commit comments