Skip to content

Commit

Permalink
fix remessa bb 400 - seu numero (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniospneto committed Jan 12, 2024
1 parent b537cfd commit 3aa3176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/brcobranca/remessa/cnab400/banco_brasil.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def monta_detalhe(pagamento, sequencial)
detalhe << tipo_cobranca.to_s.ljust(5, ' ') # tipo de cobranca 9[05] 102 a 106
detalhe << carteira # carteira 9[02] 107 a 108
detalhe << pagamento.identificacao_ocorrencia # comando / ocorrência 9[02] 109 a 110
detalhe << pagamento.nosso_numero.to_s.rjust(10, '0') # numero atribuido pela empresa X[10] 111 a 120
detalhe << pagamento.documento_ou_numero.to_s.rjust(10, '0') # numero atribuido pela empresa X[10] 111 a 120
detalhe << pagamento.data_vencimento.strftime('%d%m%y') # data de vencimento 9[06] 121 a 126
detalhe << pagamento.formata_valor # valor do titulo 9[13] 127 a 139
detalhe << cod_banco # numero do banco 9[03] 140 a 142
Expand Down

0 comments on commit 3aa3176

Please sign in to comment.