Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remessa Bradesco #832

Open
WPita opened this issue Jan 20, 2020 · 0 comments
Open

Remessa Bradesco #832

WPita opened this issue Jan 20, 2020 · 0 comments

Comments

@WPita
Copy link

WPita commented Jan 20, 2020

Venho mais uma vez pedir ajuda de vocês, não sei como corrigir isso

O que esta indo antes de validar boleto 27435 depois de validar retorna em NossoNumero
009/00000027435-9

Ai quando ele vai fazer o arquivo de remessa acusa erro.

Banco_Bradesco.cs Linha 945 - O valor de boleto.NossoNumero 009/00000027435-9
_detalhe += Utils.FitStringLength(boleto.NossoNumero, 11, 11, '0', 0, true, true, true); //Nosso Numero (11)

Depois dessa linha fica assim o campo _detalhe
"100000 000000000000 0009027630018390314321-1 00000000009/0000002"

Depois disso ele cai em vários catch mas no primeiro
{System.FormatException: A cadeia de caracteres de entrada não estava em um formato correto.
em System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
em System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
em System.Convert.ToInt32(String value)
em BoletoNet.Banco_Bradesco.Mod11Bradesco(String seq, Int32 b) na Banco_Bradesco.cs:linha 457
em BoletoNet.Banco_Bradesco.GerarDetalheRemessaCNAB400(Boleto boleto, Int32 numeroRegistro, TipoArquivo tipoArquivo) na Banco_Bradesco.cs:linha 948}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant