Skip to content

Commit

Permalink
adiciona mapeamento para o campo codigo_registro no retorno banco do …
Browse files Browse the repository at this point in the history
…brasil (kivanio#245)
  • Loading branch information
antoniospneto authored and jhenrique-esl committed May 30, 2023
1 parent 5024eba commit 7531be6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/brcobranca/retorno/cnab400/banco_brasil.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ def self.load_lines(file, options = {})
# :zeros, 1..2 # zeros
# :zeros, 3..16 #zeros

# :codigo_registro, 0..0 #identificação do registro
parse.field :codigo_registro, 0..0

# :agencia, 17..21 #agencia mantenedora da conta com digito
parse.field :agencia_com_dv, 17..21

Expand Down

0 comments on commit 7531be6

Please sign in to comment.