Erro ao emitir documentos histórico e boletim