Os rendimentos isentos no cabeçalho da declaração simplificada se
referem aos rendimentos do titular.
fprintf(f, "%s", dec->cpf); /* CPF: 11 dígitos */
fprintf(f, "%013lld", 0); /* TODO: carnê leão */
fprintf(f, "%013lld", 0); /* TODO: lucros e dividendos */
fprintf(f, "%s", dec->cpf); /* CPF: 11 dígitos */
fprintf(f, "%013lld", 0); /* TODO: carnê leão */
fprintf(f, "%013lld", 0); /* TODO: lucros e dividendos */
- /* rendimentos isentos */
- fprintf(f, "%013lld", totais_get(dec, "ISENTOS"));
+ /* rendimentos isentos titular */
+ fprintf(f, "%013lld", totais_get(dec, "ISENTOSTIT"));
/* rendimentos tributação exclusiva, exceto décimo terceiro */
fprintf(f, "%013lld", totais_get(dec, "EXCLUSIVOS_SEM_13o"));
/* 13o. */
/* rendimentos tributação exclusiva, exceto décimo terceiro */
fprintf(f, "%013lld", totais_get(dec, "EXCLUSIVOS_SEM_13o"));
/* 13o. */