Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

001 - Banco do Brasil

...

- Contas a Receber

...

- Arquivo de Remessa

...


Aviso
titleImportante

A coluna "

...

Opções de Edição"

...

contém as lista de possíveis valores para edição da expressão do "Conteúdo

...

". Os campos que não possuem listas de edição, não permitem edição no processo de download dos modelos.

Controle LinhasControle DetalhesControle SequencialPosição InicialPosição
Controle
LinhasControle
DetalhesControle
SequencialPosição
InicialPosição
FinalDecimalInformação
da Linha
Conteúdo
da LinhaValor Para edição
Opções de Edição
0H
      
Header de Arquivo                       

HEADER DE ARQUIVO                       .T.                                                                                                                                    
                                                                                                    

0T
      
TRAILLER

TRAILER DE
ARQUIVO  
ARQUIVO                      .T.                                                                                                                                    
1D1      
DETALHE SEGMENTO
P
P                      .T.                                                                                                                                    
                                                                                                    

1D2      
DETALHE SEGMENTO
Q
Q                      .T.                                                                                                                                    
                                                                                                    

1H
      
HEADER DE
LOTE
LOTE                          .T.                                                                                                                                    
                                                                                                    

1T
      
TRAILLER

TRAILER DE
LOTE
LOTE                         .T.                                                                                                                                    
                                                                                                    

0H
130COD. BANCO
COMP
COMP                         1
                                                                                                    

0H
470LOTE DE
SERVICO
SERVICO                         0
                                                                                                    

0H
880REG. HEADER
ARQ
ARQ                         0
                                                                                                    

0H
9170USO EXCL
CNAB
CNAB                           SPACE(9)                                                                                                                               
                                                                                                    

0H
18180TIPO INSCR.
EMP
EMP                         IIF(SM0->M0_TPINSC== 3,"1","2")                                                                                                        
                                                                                                    

0H
19320NRO  INSCR
EMPR
EMPR                         PADL(ALLTRIM(SM0->M0_CGC),14,"0")
                                                                                                    
                                                                                                      
0H
33410COD CONV
BANCO  
BANCO                          PADL(ALLTRIM(SEE->EE_CODEMP),9,"0")
                                                                                                    
0H
42450COD CEDENTE
BB 
BB                          14
                                                                                                    

0H
46470NRO CART COB
BB                                                                                                                                        
BB                         SPACE(2)                                                                                                                               
                                                                                                    

0H
48500NRO VAR CART
BB                                                                                                                                                                                                                                           
BB                         SPACE(3)                                                                                                                               
0H
51520USO EXCL
BCO
BCO                            
REPLICATE
SPACE(
"0",
2)
                                                                                                                       
                                                                                                                               
                                                                                                    

0H
53570AGENCIA
MANTENE 
MANTENE                         PADL(ALLTRIM(SEA->EA_AGEDEP),5,"0")
                                                                                                    
0H
58580DIGITO VER
AGEN
AGEN                         CNABDVAG()                                                                                                                             
                                                                                                    

0H
59700NRO CTA
CORRENT
CORRENT                         PADL(ALLTRIM(SEA->EA_NUMCON),12,"0")
                                                                                                    
                                                                                                   
0H
71710DIGITO VER
CONT
CONT                         CNABDVCC()                                                                                                                             
                                                                                                    

0H
72720DIGITO VER AG/
C
C                         SPACE(1)                                                                                                                               
                                                                                                    

0H
731020NOME
EMPRESA
EMPRESA                            PADR(ALLTRIM(SM0->M0_NOMECOM),30,"")                                                                                                   
                                                                                                    

0H
1031320NOME DO
BANCO
BANCO                           PADR("BANCO DO BRASIL S.A.",30,"")                                                                                                     
                                                                                                    

0H
1331420USO EXCL
CNAB
CNAB                           SPACE(10)                                                                                                                              
                                                                                                    

0H
1431430CODIGO REM/
RET
RET                          1
                                                                                                    

0H
1441510DT GER  ARQ                             GRAVADATA(DDATABASE,.F.,5)                                                                                                             
{"DATE()","DDATABASE"}                                                                              

0H
1521570HR GER 
ARQ 
ARQ                             STRTRAN(TIME(),":","")                                                                                                                 
                                                                                                    

0H
1581630NRO SEQ
ARQ 
ARQ                             PADL(
ALLTRIM(INCREMENTA())
SEE->EE_ULTDSK,6,"0")
                                                                                                                                                                                                          
                                                                                                             
0H
1641660NRO VER
LAYOUT 
LAYOUT                          REPLICATE("0",3)                                                                                                                       
                                                                                                    

0H
1671710DENS. GRAV. ARQ                         REPLICATE("0",5)                                                                                                                       
                                                                                                    

0H
1721910PARA USO BANCO                          REPLICATE("0",20)                                                                                                                      
                                                                                                    

0H
1922110PARA USO EMPRES                         SPACE(20)                                                                                                                              
                                                                                                    

0H
2122400USO FEBRA/CNAB3                         SPACE(29)                                                                                                                              
                                                                                                    

0T
130COD BCO COMPENS                         1
                                                                                                    

0T
470LOTE SERVICO                            9999
                                                                                                    

0T
880REG TRAIL ARQUI                         9
                                                                                                    

0T
9170USO FEBRA/CNAB1                         SPACE(9)                                                                                                                               
                                                                                                    

0T
18230QTD LOTES ARQUI                         
1                                                                                                    
STRZERO(FNLOTECNAB(),6)                                                                                                                
0T
24290QTD REG ARQUIVO                         
PADL
STRZERO(FNLINCNAB(
NTOTCNAB2*3
)
+4
,6
,"0"
)
                                                                                                            
                                                                                                                 
                                                                                                    

0T
30350QTD CONTAS CONC                         REPLICATE("0",6)                                                                                                                       
                                                                                                    

0T
362400USO EXCL CNAB                           SPACE(205)                                                                                                                             
                                                                                                    

1D1130COD BCO COMPENS                         1
                                                                                                                                                                                                        

1D1470LOTE DE SERVICO                         
1
STRZERO(FNLOTECNAB(),4)                                                                                                                
1D1880REGISTRO DETALH                         3
                                                                                                    

1D19130NRO SEQ LOTE                            PADL(
INCREMENTA
FNTITLOTE()
-1
,5,"0")
                                                                                                                                                                                                                
                                                                                                                
1D114140COD SEG DETALHE                         P                                                                                                                                    
                                                                                                    

1D115150USO EXCL CNAB                           SPACE(1)                                                                                                                               
                                                                                                    

1D116170COD MOV REMESSA                         1
                                                                                                    

1D118220AGENCIA MANTENE                         PADL(ALLTRIM(SEA->EA_AGEDEP),5,"0")                                                                                                    
                                                                                                    

1D123230DIGIT VERIF AGE                         CNABDVAG()                                                                                                                             
                                                                                                    

1D124350NRO CTA CORRENT                         PADL(ALLTRIM(SEA->EA_NUMCON),12,"0")                                                                                                   
                                                                                                    

1D136360DIGIT VERIF CON                         CNABDVCC()                                                                                                                             
                                                                                                    

1D137370DIGIT VER AG/CO                         SPACE(1)                                                                                                                               
                                                                                                    

1D138570IDENT. TIT.
BCO                         PADR((PADL(ALLTRIM(SEE->EE_CODEMP),7,"0") + PADL(ALLTRIM(INCREMENTA()),10,"0")),20,"")                                                 
BCO                         SPACE(20)                                                                                                                              
                                                                                                    

1D158580COD CARTEIRA                            SE1->E1_SITUACA                                                                                                                        
                                                                                                    

1D159590FORMA CAD. TIT.                         SPACE(1)                                                                                                                               
                                                                                                    

1D160600TIPO DOCUMENTO                          SPACE(1)                                                                                                                               
                                                                                                                                                                                                        

1D161610IDENT. EMIS BLO                         
                                                                                                                                       
SPACE(1)                                                                                                                               
1D162620IDENT. DISTRIB.                         
                                                                                                                                                                                                                                           
SPACE(1)                                                                                                                               
1D163770NO. DOC. COBRAN                         PADR(ALLTRIM(SE1->E1_NUMBCO),15,"")                                                                                                    
                                                                                                    

1D178850DATA VENC TITUL                         GRAVADATA(SE1->E1
_VENCTO,.F.,5)                                                                                                        {"E1
_VENCREA
","E1_EMISSAO","E1_VENCTO"}                                                             
,.F.,5)                                                                                                       
1D1861002VL. NOMINAL TIT                         PADL(SE1->(E1_SALDO+E1_MULTA+E1_JUROS-E1_DESCONT)*100,15,"0")                                                                          
                                                                                                    

1D11011050AGENCIA ENC COB                         REPLICATE("0",5)                                                                                                                       
                                                                                                    

1D11061060DIGIT VERIF AGE                         SPACE(1)                                                                                                                               
                                                                                                                                                                                                        

1D11071080ESPECIE TITULO                          
                                                                                                                                       
SPACE(2)                                                                                                                               
1D11091090IDENT ACEI/NACE                         A                                                                                                                                    
                                                                                                    

1D11101170DATA EMIS TITUL                         GRAVADATA(SE1->E1_EMISSAO,.F.,5)                                                                                                       
{"E1_VENCREA","E1_EMISSAO","E1_VENCTO"}                                                             

1D11181180COD JUROS MORA                          
                                                                                                                                       
                                                                                                    
0
1D11191260DATA JUROS MORA                         
                                                                                                                                                                                                                                                                                                                                               
REPLICATE("0",8)                                                                                                                       
1D11271412JUROS MORA/D/TA                         
                                                                                                                                       
REPLICATE("0",15)                                                                                                                      
1D11421420CODIGO DESC 1                           
                                                                                                                                       
IIF(EMPTY(SE1->E1_DESCONT),"0","1")                                                                                                    
1D11431500DATA DESC 1                             
                                                                                                                                       
GRAVADATA(SE1->E1_VENCTO,.F.,5)                                                                                                        
                                                                                                    

1D11511652VALOR/PERC CONC                         
                                                                                                                                                                                                                                           
PADL(SE1->E1_DESCONT*100,15,"0")                                                                                                       
1D11661802VALOR IOF RECOL                         
                                                                                                                                                                                                                                           
REPLICATE("0",15)                                                                                                                      
1D11811952VALOR ABATIMENT                         PADL(SE1->E1_
DESCONT
DECRESC*100,15,"0")                                                                                                       
                                                                                                    

1D11962200IDENT. TIT. EMP                         PADR(ALLTRIM(SE1->E1_IDCNAB),25,"")                                                                                                    
                                                                                                    

1D12212210CODIGO PROTESTO                         
                                                                                                                                       
0
                                                                                                                                                                                                        

1D12222230NO. DIAS PROTES                         
                                                                                                                                       
0
1D12242240COD. BAIXA DEV.                         
                                                                                                                                       
0
                                                                                                    

1D12252270N. DIAS BAI/DEV                         
                                                                                                                                       
                                                                                                    
0
1D12282290CODIGO MOEDA                            9
                                                                                                    

1D12302390N. CONT. OP CRE                         REPLICATE("0",10)                                                                                                                      
                                                                                                    

1D12402400USO FEBRA/CNAB2                         
SPACE(
1
)                                                                                                                               
                                                                                                    

1D2130COD BCO COMPENS                         1
                                                                                                                                                                                                        

1D2470LOTE SERVICO                            
1
STRZERO(FNLOTECNAB(),4)                                                                                                                
1D2880REGISTRO DETALH                         3
                                                                                                    

1D29130N. SEQ REG LOTE                         PADL(
INCREMENTA
FNTITLOTE()
-1
,5,"0")
                                                                                                                                                                                                                
                                                                                                                
1D214140COD. SEG. DETAL                         Q                                                                                                                                    
                                                                                                    

1D215150USO EXCL CNAB                           SPACE(1)                                                                                                                               
                                                                                                    

1D216170CODIGO MOVIMENT                         1
                                                                                                    

1D218180TIPO INSCRICAO                          IIF(SA1->A1_PESSOA == "J","2","1")                                                                                                     
                                                                                                    

1D219330NUMERO INSCRICA                         PADL(ALLTRIM(SA1->A1_CGC),15,"0")                                                                                                      
                                                                                                    

1D234730NOME                                    PADR(ALLTRIM(SA1->A1_NOME)
,40,"")                                                                                                      {"A1_NREDUZ","A1_NOME"}                                                                             
,40,"")                                                                                                      
1D2741130ENDERECO                                PADR(ALLTRIM(SA1->A1_ENDCOB),40,"")
                                                                                                    
                                                                                                    
1D21141280BAIRRO                                  PADR(ALLTRIM(SA1->A1_BAIRROC),15,"")                                                                                                   
                                                                                                    

1D2129
136
1330CEP                                     PADR(ALLTRIM(SA1->A1_CEP),
8
5,"")                                                                                                        

1D21341360SUFIXO DO CEP                           PADR(SUBSTR(ALLTRIM(SA1->A1_CEP),6,3),3,"")                                                                                            
                                                                                                    

1D21371510CIDADE                                  PADR(ALLTRIM(SA1->A1_MUNC),15,"")                                                                                                      
                                                                                                    

1D21521530UNID. FEDERACAO                         SA1->A1_EST                                                                                                                            
                                                                                                    

1D21541540TIPO INSCRICAO                          0
                                                                                                    

1D21551690NUMERO INSCRICA                         REPLICATE("0",15)                                                                                                                      
                                                                                                    

1D21702090NOME SAC/AVALIS                         SPACE(40)                                                                                                                              
                                                                                                    

1D22102120COD. BCO CORRES                         REPLICATE("0",3)                                                                                                                       
                                                                                                    

1D22132320NOSSO NUM. BCO.                         SPACE(20)                                                                                                                              
                                                                                                    

1D22332400USO EXCL CNAB                           SPACE(8)                                                                                                                               
                                                                                                    

1H
130COD BCO COMPENS                         1
                                                                                                    

1H
470LOTE DE SERVICO                         
1                                                                                                    
STRZERO(FNLOTECNAB(),4)                                                                                                                
1H
880REG HEADER LOTE                         1
                                                                                                    

1H
990TIPO OPERACAO                           R                                                                                                                                    
                                                                                                    

1H
10110TIPO SERVICO                            1
                                                                                                    

1H
12130USO EXCL CNAB                           SPACE(2)                                                                                                                               
                                                                                                    

1H
14160NRO VER LAYOUT                          REPLICATE("0",3)                                                                                                                       
                                                                                                    

1H
17170USO EXCL CNAB                           SPACE(1)                                                                                                                               
                                                                                                    

1H
18180TIPO INSC EMPRE                         IIF(SM0->M0_TPINSC== 3,"1","2")                                                                                                        
                                                                                                    

1H
19330NO. INSCR EMPRE                         PADL(ALLTRIM(SM0->M0_CGC),15,"0")                                                                                                      
                                                                                                    

1H
34420COD
CONV BCO                                                                                                                                                                                                                                                                       
CONV BCO                            PADR(ALLTRIM(SEE->EE_CODEMP),9,"")                                                                                                     
1H
43460COB CEDENTE BB                          14
                                                                                                                                                                                                        

1H
47480NRO CART COB BB                         
                                                                                                                                       
SPACE(2)                                                                                                                               
1H
49510NRO VAR COB BB                          
                                                                                                                                                                                                                                           
SPACE(3)                                                                                                                               
1H
52530CPO ID REMES TS                         TS                                                                                                                                   
                                                                                                    

1H
54580AGENCIA MAN CON                         PADL(ALLTRIM(SEA->EA_AGEDEP),5,"0")
                                                                                                    
                                                                                                    
1H
59590DIGIT VER AGENC                         CNABDVAG()                                                                                                                             
                                                                                                    

1H
60710NO. CONTA CORRE                         PADL(ALLTRIM(SEA->EA_NUMCON),12,"0")                                                                                                   
                                                                                                    

1H
72720DIGIT VER CONTA                         CNABDVCC()                                                                                                                             
                                                                                                    

1H
73730DIGIT VER AG/CO                         SPACE(1)                                                                                                                               
                                                                                                    

1H
741030NOME DA EMPRESA                         PADR(ALLTRIM(SM0->M0_NOMECOM),30,"")                                                                                                   
                                                                                                    

1H
1041430MENSAGEM 1                              SPACE(40)                                                                                                                              
                                                                                                    

1H
1441830MENSAGEM 2                              SPACE(40)                                                                                                                              
                                                                                                    

1H
1841910NRO REM /
RET                           INCREMENTA()                                                                                                                           
RET                           PADL(SEE->EE_ULTDSK,8,"0")                                                                                                             
                                                                                                    

1H
1921990DT GRAV REM/RET                         GRAVADATA(DDATABASE,.F.,5)                                                                                                             
{"DATE()","DDATABASE"}                                                                              

1H
2002070DATA CREDITO                            REPLICATE("0",8)                                                                                                                       
                                                                                                    

1H
2082400USO EXCL CNAB                           SPACE(33)                                                                                                                              
                                                                                                    

1T
130COD BCO COMPENS                         1
                                                                                                    

1T
470LOTE SERVICO                            
1                                                                                                    
STRZERO(FNLOTECNAB(),4)                                                                                                                
1T
880REG. TRAIL LOTE                         5
                                                                                                    

1T
9170USO EXCL CNAB                           SPACE(9)                                                                                                                               
                                                                                                    

1T
18230QTD REG. LOTE                           PADL(FNLINLOTE(
NTOTCNAB2*3
)
+3
,6,"0")
                                                                                                            
                                                                                                                
                                                                                                    

1T
242400ZEROS                                   SPACE(217)