fprintf(f, "%-100.100s", ""); /* FILLER */
fprintf(f, "%-4.4s", ""); /* FILLER */
fprintf(f, "%-8.8s", ""); /* FILLER */
- fprintf(f, "%-4.4s", dec->contribuinte.ddd ?: "");
- fprintf(f, "%-9.9s", dec->contribuinte.telefone ?: "");
+ if (dec->ano >= 2018) {
+ fprintf(f, "%-13.13s", "");
+ } else {
+ fprintf(f, "%-4.4s", dec->contribuinte.ddd ?: "");
+ fprintf(f, "%-9.9s", dec->contribuinte.telefone ?: "");
+ }
fprintf(f, "%s", dec->retifica ? "S" : "N"); /* Retificadora */
fprintf(f, "%013lld", totais_get(dec, "RENDTRIB")); /* Total tributavel */
fprintf(f, "%013lld", dec->devido); /* Imposto devido */