Skip to content

Commit

Permalink
Fix cnab BB (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
danimaribeiro committed Oct 18, 2018
1 parent 87a7edb commit 6d4363f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions br_cnab/febraban/cnab_240/bancos/banco_brasil.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def _prepare_segmento(self, line):
# 3 (dias corridos, dias úteis ou não protestar, respectivamente)
if vals['codigo_protesto'] not in [1, 2, 3]:
vals['codigo_protesto'] = 3
vals['cobranca_emissaoBloqueto'] = 2
return vals

def nosso_numero(self, format):
Expand Down

0 comments on commit 6d4363f

Please sign in to comment.