fprintf(f, "%013lld", 0); /* TODO: pensão por invalidez */
fprintf(f, "%013lld", totais_get(dec, "POUPANCA"));
fprintf(f, "%013lld", 0); /* TODO: sócio ou titular de empresa */
- fprintf(f, "%013lld", 0); /* TODO: herança, transferências patrimoniais */
+ fprintf(f, "%013lld", totais_get(dec, "DOACOES")); /* herança, transferências patrimoniais */
fprintf(f, "%013lld", 0); /* TODO: outros rendimentos isentos */
fprintf(f, "%-60.60s", ""); /* FILLER1 */
fprintf(f, "%-13.13s", ""); /* FILLER2 */