diff --git a/src/tf/tf0100.cpp b/src/tf/tf0100.cpp index c8a9b45e0..f279ee988 100644 --- a/src/tf/tf0100.cpp +++ b/src/tf/tf0100.cpp @@ -1178,7 +1178,7 @@ bool TTrFa_app::tff0400(TSheet_field& sheet) tff0400f.set("P4_FISCIVAPAESE", "OO"); tff0400f.set("P4_FISCIVACOD", "99999999999"); } - else if (cedeprest.stato_partita_IVA().full() && cedeprest.partita_IVA().full()) + else if (cedeprest.stato_partita_IVA().full() && cedeprest.partita_IVA().full() && cedeprest.partita_IVA()[0] != '8' && cedeprest.partita_IVA()[0] != '9') { tff0400f.set("P4_FISCIVAPAESE", cedeprest.stato_partita_IVA()); tff0400f.set("P4_FISCIVACOD", cedeprest.partita_IVA());