Skip to content

Commit b5cd00e

Browse files
committed
[FIX] Ajuste no spec do nosso número no retorno do cnab
1 parent 8db21b1 commit b5cd00e

File tree

2 files changed

+24
-17
lines changed

2 files changed

+24
-17
lines changed

cnab240/bancos/sicoob/specs/segmento_t.json

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -91,119 +91,126 @@
9191
"13.3T": {
9292
"nome": "nosso_numero",
9393
"posicao_inicio": 38,
94-
"posicao_fim": 57,
94+
"posicao_fim": 46,
9595
"formato": "alfa"
9696
},
9797

9898
"14.3T": {
99+
"nome": "nosso_numero_complemento",
100+
"posicao_inicio": 47,
101+
"posicao_fim": 57,
102+
"formato": "alfa"
103+
},
104+
105+
"15.3T": {
99106
"nome": "cobranca_carteira",
100107
"posicao_inicio": 58,
101108
"posicao_fim": 58,
102109
"formato": "num"
103110
},
104111

105-
"15.3T": {
112+
"16.3T": {
106113
"nome": "numero_documento",
107114
"posicao_inicio": 59,
108115
"posicao_fim": 73,
109116
"formato": "alfa"
110117
},
111118

112-
"16.3T": {
119+
"17.3T": {
113120
"nome": "vencimento_titulo",
114121
"posicao_inicio": 74,
115122
"posicao_fim": 81,
116123
"formato": "num"
117124
},
118125

119-
"17.3T": {
126+
"18.3T": {
120127
"nome": "valor_lancamento",
121128
"posicao_inicio": 82,
122129
"posicao_fim": 96,
123130
"formato": "num",
124131
"decimais": 2
125132
},
126133

127-
"18.3T": {
134+
"19.3T": {
128135
"nome": "banco_cobrador",
129136
"posicao_inicio": 97,
130137
"posicao_fim": 99,
131138
"formato": "num",
132139
"default": 0
133140
},
134141

135-
"19.3T": {
142+
"20.3T": {
136143
"nome": "agencia_cobradora",
137144
"posicao_inicio": 100,
138145
"posicao_fim": 104,
139146
"formato": "num"
140147
},
141148

142-
"20.3T": {
149+
"21.3T": {
143150
"nome": "agencia_cobradora_dv",
144151
"posicao_inicio": 105,
145152
"posicao_fim": 105,
146153
"formato": "num"
147154
},
148155

149-
"21.3T": {
156+
"22.3T": {
150157
"nome": "identificacao_titulo",
151158
"posicao_inicio": 106,
152159
"posicao_fim": 130,
153160
"formato": "alfa"
154161
},
155162

156-
"22.3T": {
163+
"23.3T": {
157164
"nome": "codigo_moeda",
158165
"posicao_inicio": 131,
159166
"posicao_fim": 132,
160167
"formato": "num"
161168
},
162169

163-
"23.3T": {
170+
"24.3T": {
164171
"nome": "sacado_inscricao_tipo",
165172
"posicao_inicio": 133,
166173
"posicao_fim": 133,
167174
"formato": "num"
168175
},
169176

170-
"24.3T": {
177+
"25.3T": {
171178
"nome": "sacado_inscricao_numero",
172179
"posicao_inicio": 134,
173180
"posicao_fim": 148,
174181
"formato": "num"
175182
},
176183

177-
"25.3T": {
184+
"26.3T": {
178185
"nome": "sacado_nome",
179186
"posicao_inicio": 149,
180187
"posicao_fim": 188,
181188
"formato": "alfa"
182189
},
183190

184-
"26.3T": {
191+
"27.3T": {
185192
"nome": "vazio9",
186193
"posicao_inicio": 189,
187194
"posicao_fim": 198,
188195
"formato": "num"
189196
},
190197

191-
"27.3T": {
198+
"28.3T": {
192199
"nome": "valor_tarifas",
193200
"posicao_inicio": 199,
194201
"posicao_fim": 213,
195202
"formato": "num",
196203
"decimais": 2
197204
},
198205

199-
"28.3T": {
206+
"29.3T": {
200207
"nome": "motivo_ocorrencia",
201208
"posicao_inicio": 214,
202209
"posicao_fim": 223,
203210
"formato": "alfa"
204211
},
205212

206-
"29.3T": {
213+
"30.3T": {
207214
"nome": "vazio11",
208215
"posicao_inicio": 224,
209216
"posicao_fim": 240,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name='python3-cnab',
6-
version='1.0.5',
6+
version='1.0.6',
77
author='Trustcode',
88
author_email='suporte@trustcode.com.br',
99
url='https://github.com/Trust-Code/python-cnab',

0 commit comments

Comments
 (0)