impactro / Boleto-Test

Testes funcionais de compatibilidade para validação das rotinas de remessa e retorno
2 stars 2 forks source link

Remessa Banco do Brasil #18

Closed diogolovizon closed 8 years ago

diogolovizon commented 8 years ago

Posições 101 a 107: Preencher com o sequencial da remessa (ALINHAR À DIREITA E PREENCHER COM ZEROS À ESQUERDA)

01REMESSA01COBRANCA       08427000223751000000EDIFICIO ALAMO 21.853.654/0001001BANCODOBRASIL  16042811                           2723548                                                                                                                                                                                                                                                                  000001
70221853654000138084270002237512723548                         272354800000003340000       0190000000     1701334       06051600000000000020010000 01N040416000000000000000000000000000000000000000000000000000000000000000100032946287300ACOLWEB                                 RUA MARILIA - ATE 1199/1200             LUTHER KING 85605140FRANCISCO BELTRPR                                           000002
70221853654000138084270002237512723548                         272354800000003350000       0190000000     1701335       29041600000000000020010000 01N040416000000000000000000000000000000000000000000000000000000000000000100032946287300ACOLWEB                                 RUA MARILIA - ATE 1199/1200             LUTHER KING 85605140FRANCISCO BELTRPR                                           000003
70221853654000138084270002237512723548                         272354800000003360000       0190000000     1701336       22041600000000000020010000 01N040416000000000000000000000000000000000000000000000000000000000000000100032946287300ACOLWEB                                 RUA MARILIA - ATE 1199/1200             LUTHER KING 85605140FRANCISCO BELTRPR                                           000004
70221853654000138084270002237512723548                         272354800000003370000       0190000000     1701337       15041600000000000020010000 01N040416000000000000000000000000000000000000000000000000000000000000000100032946287300ACOLWEB                                 RUA MARILIA - ATE 1199/1200             LUTHER KING 85605140FRANCISCO BELTRPR                                           000005
70221853654000138084270002237512723548                         272354800000003380000       0190000000     1701338       08041600000000000020010000 01N040416000000000000000000000000000000000000000000000000000000000000000100032946287300ACOLWEB                                 RUA MARILIA - ATE 1199/1200             LUTHER KING 85605140FRANCISCO BELTRPR                                           000006
9                                                                                                                                                                                                                                                                                                                                                                                                         000007

OBS: tentei usar o mesmo esquema do Sicredi. Exemplo:

boleto.SetRegEnumValue(RegType.P9, 7);

Sabe me informar qual é a configuração para o Banco do Brasil?

Value, abraço!

impactro commented 8 years ago

Estranho, mas já está certo no layout do Banco do Brasil, pode conferir em: \Cobranca\Layout\CNAB400\CNAB400BB.cs

    [RegFormat(RegType.P9, 7)] // 101
    Remessa,

Você está usando a ultima versão?