Upload
duongthien
View
214
Download
0
Embed Size (px)
Citation preview
From Until
01.0 Bank Clearing Code 1 3 3 - Num '001'
02.0 Service Lot 4 7 4 - Num '0000'
03.0 Type of Service 8 8 1 - Num '0'
04.0 Exclusive Use FEBRABAN/CNAB 9 17 9 - Alpha Blanks
05.0 Company Registration Type 18 18 1 - NumCPF = 1
CNPJ = 2
06.0 Company Registration Number 19 32 14 - Num Registration number (CPF or CNPJ), right-aligned with leading zeros
07.0 Code of the Agreement in the Bank 33 52 20 - Alpha To facilitate understanding, this field was divided into BB1, BB2, BB3 and BB4
07.0 BB1 No. of Agreement 33 41 9 - Num Payment agreement, completing with leading zeros
07.0 BB2 Code 42 45 4 - Num '0126'
07.0 BB3 Reserved Use of the Bank 46 50 5 - Alpha Blanks
07.0 BB4 Test file 51 52 2 - AlphaIn production = Blanks
In test = 'TS'
08.0 Code Branch Keeping the Account 53 57 5 - Num Align right with leading zeros
09.0 DV Branch Verifier Digit 58 58 1 - Alpha In case of X, indicate in upper case
10.0 Number Checking Account Number 59 70 12 - Num Align right with leading zeros.
11.0 DV Account Verifier Digit 71 71 1 - Alpha In case of X, indicate in upper case.
12.0 Branch/Account Verifier Digit 72 72 1 - Alpha '0'
13.0 Company Number 73 102 30 - Alpha
14.0 Bank Name 103 132 30 - Alpha 'BANCO DO BRASIL'
15.0 Exclusive Use FEBRABAN/CNAB 133 142 10 - Alpha Blanks
16.0 Shipment / Return Code 143 143 1 - NumShipping File = '1'
Return File = '2'
17.0 File Generation Date 144 151 8 - Num DDMMYYYY
18.0 File Generation Time 152 157 6 - Num Zeros or HHMMSS
19.0 File Sequence Number 158 163 6 - NumInformation by the company. The field is not criticized by the Banco do Brasil system.
Inform Zeros OR a sequential number, incrementing with each new file header file.
20.0 File Layout Version No. 164 166 3 - NumField not criticized by the Banco do Brasil system. Inform file layout version number that
was used to format the fields.
21.0 File Recording Density 167 171 5 - Num '00000'
22.0 Reserved Use of the Bank 172 191 19 - Alpha
Shipping File = Blanks
File Return * (position 181-191) =
'PREVIA'
'PROCESSAMEN'
'CONSOLIDADO'
'RECUSADO'
'ESPORADICO'
'INTRADIA'
* When the Return is from the 'J' or 'O' Segment, field 191 is filled with 'J', overwriting the
last letter of the return name. Examples: 'PREVIA J', 'PROCESSAMEJ'.
23.0 For Company Reserved Use 192 211 20 - Alpha
25.0 Identification of collection without paper 223 225 3 - Alpha Blanks
26.0 Exclusive use of VANS 226 228 3 - Num '000'
27.0 Type of Service 229 230 2 - Num '00'
28.0 Events Codes 231 240 10 - Alpha '0000000000'
FILE HEADER
Generation Time
Sequence (NSA)
Field
F
i
l
e
Bank
Lot
CNAB
Type
Number
Agreement
Bank Name
CNAB
Code
Generation Date
DV
C
o
m
p
a
n
y
Identification
VANS control
Service
Events
File Layout
Density
Reserved Bank
Reserved Company
Name
Registration No
Checking
Account
Branch
Account
Dec
No.Format
Registration
Control
BB InstructionPosition Dig
No.
Translation No. 001 BB Particularities - CNAB240 Page No. 1 on August 2018
From Until
01.1 Bank Clearing Code 1 3 3 - Num '001'
02.1 Service Lot 4 7 4 - Num
If it is the first lot of the file, start with '0001'. This information must be the same in all records of this
lot, including its trailer. If the file has more than one lot, increment by 1 each lot. For example, the
second lot of the file is '0002', and so on.
03.1 Registration Type 8 8 1 - Num '1'
04.1 Type of Operation 9 9 1 - Alpha 'C'
05.1 Type of Service 10 11 2 - Num
Vendor Payment = '20'
Salary Payment = '30'
Other Payments = '98'
06.1 Entry Form 12 13 2 - Num
Checking Account = '01'
DOC/TED = '03'*
Savings = '05'
Wire Transfer Other Ownership = '41'*
Wire Transfer Same Ownership = '43'*
* Need to complement information from the 'Clearinghouse Code' field, positions 18 to 20
of Segment A.
07.1 Lot Layout Version No. 14 16 3 - NumField not criticized by the Banco do Brasil system. Inform file layout version number that
was used to format the fields.
08.1 Exclusive Use FEBRABAN/CNAB 17 17 1 - Alpha Blanks
09.1 Company Registration Type 18 18 1 - NumCPF = 1'
CNPJ = 2'
10.1 Company Registration Number 19 32 14 - Num Registration number (CPF or CNPJ), right-aligned with leading zeros
11.1 Code of the Agreement in the Bank 33 52 20 - Alpha To facilitate understanding, this field was divided into BB1, BB2, BB3 and BB4
11.1 BB1 No. of Agreement 33 41 9 - Num Payment agreement, completing with leading zeros
11.1 BB2 Code 42 45 4 - Num '0126'
11.1 BB3 Reserved Use of the Bank 46 50 5 - Alpha Blanks
11.1 BB4 Test file 51 52 2 - AlphaIn production = Blanks
In test = 'TS'
12.1 Code Branch Keeping the Account 53 57 5 - Num Align right with leading zeros
13.1 DV Branch Verifier Digit 58 58 1 - Alpha In case of X, indicate in upper case
14.1 Number Checking Account Number 59 70 12 - Num Align right with leading zeros.
15.1 DV Account Verifier Digit 71 71 1 - Alpha In case of X, indicate in upper case.
16.1 Branch/Account Verifier Digit 72 72 1 - Alpha '0'
17.1 Name of the Company 73 102 30 - Alpha
18.1 Message 103 142 40 - Alpha Blanks
19.1 Name of the Street, Av, Square, Etc 143 172 30 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
20.1 Location Number 173 177 5 - Num Optional field, not treated by Banco do Brasil. If not completed enter '00000'.
21.1 House, Apt, Room, Etc 178 192 15 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
22.1 City 193 212 20 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
23.1 CEP 213 217 5 - Num Optional field, not treated by Banco do Brasil. If not completed enter '00000'.
24.1 Complement of the CEP 218 220 3 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
25.1 State Abbreviation 221 222 2 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
26.1 Exclusive Use FEBRABAN/CNAB 223 230 8 - Alpha Blanks
27.1 Events Code for Return 331 240 10 - AlphaShipping File = '0000000000'
Return File = Events Code for Return*
*Access the 'Events Code for Return' worksheet to verify.
LOT AB HEADER
FieldPosition Dig
No.
Dec
No.Format BB Instruction
Control
Bank
Lot
Registration
Service
Operation
Service
Entry Form
Lot Layout
CNAB
C
o
m
p
a
n
y
Registration NoType
Number
Agreement
Checking
Account
Branch
Account
DV
CNAB
Events
Name
Information 1
Company
Address
Street
Number
Complementary Information
City
CEP
Complement CEP
State
Translation No. 001 BB Particularities - CNAB240 Page No. 2 on August 2018
From Until
01.1 Bank Clearing Code 1 3 3 - Num '001'
02.1 Service Lot 4 7 4 - NumIf it is the first lot of the file, start with '0001'. This information must be the same in all
records of this lot, including its trailer. If the file has more than one lot, increment by 1
each lot. For example, the second lot of the file is '0002', and so on.
03.1 Registration Type 8 8 1 - Num '1'
04.1 Type of Operation 9 9 1 - Alpha 'C'
05.1 Type of Service 10 11 2 - Num '30'
06.1 Entry Form 12 13 2 - Num Judicial Deposit in Checking Account = '71'
07.1 Lot Layout Version No. 14 16 3 - NumField not criticized by the Banco do Brasil system. Inform file layout version number that
was used to format the fields.
08.1 Exclusive Use FEBRABAN/CNAB 17 17 1 - Alpha Blanks
09.1 Company Registration Type 18 18 1 - NumCPF = '1'
CNPJ = '2'
10.1 Company Registration Number 19 32 14 - Num Registration number (CPF or CNPJ), right-aligned with leading zeros
11.1 Code of the Agreement in the Bank 33 52 20 - Alpha To facilitate understanding, this field was divided into BB1, BB2, BB3 and BB4
11.1 BB1 No. of Agreement 33 41 9 - Num Payment agreement, completing with leading zeros
11.1 BB2 Code 42 45 4 - Num '0126'
11.1 BB3 Reserved Use of the Bank 46 50 5 - Alpha Blanks
11.1 BB4 Test file 51 52 2 - AlphaIn production = Blanks
In test = 'TS'
12.1 Code Branch Keeping the Account 53 57 5 - Num Align right with leading zeros
13.1 DV Branch Verifier Digit 58 58 1 - Alpha In case of X, indicate in upper case
14.1 Number Checking Account Number 59 70 12 - Num Align right with leading zeros.
15.1 DV Account Verifier Digit 71 71 1 - Alpha In case of X, indicate in upper case.
16.1 Branch/Account Verifier Digit 72 72 1 - Alpha '0'
17.1 Name of the Company 73 102 30 - Alpha
18.1 Message 103 142 40 - Alpha Blanks
19.1 Name of the Street, Av, Square, Etc 143 172 30 - AlphaOptional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
20.1 Location Number 173 177 5 - Num Optional field, not treated by Banco do Brasil. If not completed enter '00000'.
21.1 House, Apt, Room, Etc 178 192 15 - AlphaOptional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
22.1 City 193 212 20 - AlphaOptional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
23.1 CEP 213 217 5 - Num Optional field, not treated by Banco do Brasil. If not completed enter '00000'.
24.1 Complement of the CEP 218 220 3 - AlphaOptional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
25.1 State Abbreviation 221 222 2 - AlphaOptional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
26.1 Exclusive Use FEBRABAN/CNAB 223 230 8 - Alpha Blanks
27.1 Events Code for Return 331 240 10 - AlphaShipping File = '0000000000'
Return File = Events Code for Return*
*Access the 'Events Code for Return' worksheet to verify.
LOT A - JUDICIAL DEPOSIT HEADER
Field Position Dig
No.
Dec
No.Format BB Instruction
Control
Bank
Lot
Registration
Service
Operation
Service
Entry Form
Lot Layout
CNAB
C
o
m
p
a
n
y
Registration NoType
Number
Agreement
Checking
Account
Branch
Account
DV
CNAB
Events
Name
Information 1
Company
Address
Street
Number
Complementary Information
City
CEP
Complement CEP
State
Translation No. 001 BB Particularities - CNAB240 Page No. 3 on August 2018
From Until
01.1 Bank Clearing Code 1 3 3 - Num '001'
02.1 Service Lot 4 7 4 - Num
If it is the first lot of the file, start with '0001'. This information must be the same in all
records of this lot, including its trailer. If the file has more than one lot, increment by 1
each lot. For example, the second lot of the file is '0002', and so on.
03.1 Registration Type 8 8 1 - Num '1'
04.1 Type of Operation 9 9 1 - Alpha 'C'
05.1 Type of Service 10 11 2 - Num Other Payments = '98'
06.1 Entry Form 12 13 2 - NumSlip BB = '30'
Slip Other Banks = '31'
07.1 Lot Layout Version No. 14 16 3 - NumField not criticized by the Banco do Brasil system. Inform file layout version number that
was used to format the fields.
08.1 Exclusive Use FEBRABAN/CNAB 17 17 1 - Alpha Blanks
09.1 Company Registration Type 18 18 1 - NumCPF = '1'
CNPJ = '2'
10.1 Company Registration Number 19 32 14 - Num Registration number (CPF or CNPJ), right-aligned with leading zeros
11.1 Code of the Agreement in the Bank 33 52 20 - Alpha To facilitate understanding, this field was divided into BB1, BB2, BB3 and BB4
11.1 BB1 No. of Agreement 33 41 9 - Num Payment agreement, completing with leading zeros
11.1 BB2 Code 42 45 4 - Num '0126'
11.1 BB3 Reserved Use of the Bank 46 50 5 - Alpha Blanks
11.1 BB4 Test file 51 52 2 - AlphaIn production = Blanks
In test = 'TS'
12.1 Code Branch Keeping the Account 53 57 5 - Num Align right with leading zeros
13.1 DV Branch Verifier Digit 58 58 1 - Alpha In case of X, indicate in upper case
14.1 Number Checking Account Number 59 70 12 - Num Align right with leading zeros.
15.1 DV Account Verifier Digit 71 71 1 - Alpha In case of X, indicate in upper case.
16.1 Branch/Account Verifier Digit 72 72 1 - Alpha '0'
17.1 Name of the Company 73 102 30 - Alpha
18.1 Message 103 142 40 - Alpha Blanks
19.1 Name of the Street, Av, Square, Etc 143 172 30 - AlphaOptional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
20.1 Location Number 173 177 5 - Num Optional field, not treated by Banco do Brasil. If not completed enter '00000'.
21.1 House, Apt, Room, Etc 178 192 15 - AlphaOptional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
22.1 City 193 212 20 - AlphaOptional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
23.1 CEP 213 217 5 - Num Optional field, not treated by Banco do Brasil. If not completed enter '00000'.
24.1 Complement of the CEP 218 220 3 - AlphaOptional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
25.1 State Abbreviation 221 222 2 - AlphaOptional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
26.1 Exclusive Use FEBRABAN/CNAB 223 230 8 - Alpha Blanks
27.1 Events Code for Return 331 240 10 - AlphaShipping File = '0000000000'
Return File = Events Code for Return*
*Access the 'Events Code for Return' worksheet to verify.
LOT J HEADER
Format BB InstructionField
Service
Position Dig
No.
Dec
No.
Control
Bank
Lot
Registration
Operation
Service
Events
Company
Address
CNAB
State
Complement CEP
CEP
City
Complementary Information
Number
Street
Information 1
Registration No
Entry Form
Lot Layout
C
o
m
p
a
n
y
Type
Number
Name
CNAB
Checking
Account
Branch
Account
DV
Agreement
Translation No. 001 BB Particularities - CNAB240 Page No. 4 on August 2018
From Until
01.1 Bank Clearing Code 1 3 3 - Num '001'
02.1 Service Lot 4 7 4 - Num
If it is the first lot of the file, start with '0001'. This information must be the same in all
records of this lot, including its trailer. If the file has more than one lot, increment by 1
each lot. For example, the second lot of the file is '0002', and so on.
03.1 Registration Type 8 8 1 - Num '1'
04.1 Type of Operation 9 9 1 - Alpha 'C'
05.1 Type of Service 10 11 2 - Num Other Payments = '98'
06.1 Entry Form 12 13 2 - Num
Segment O:
With bar code = '11'
Segment N (without bar code):
DARF Tax Normal = '16'
GSP Tax = '17'
DARF Tax Simple = '18'
DARJ Tax = '21'
GARE SP ICMS Tax = '22'
GARE SP DR Tax = '23'
GARE SP ITCMD Tax = '24'
07.1 Lot Layout Version No. 14 16 3 - NumField not criticized by the Banco do Brasil system. Inform file layout version number that
was used to format the fields.
08.1 Exclusive Use FEBRABAN/CNAB 17 17 1 - Alpha Blanks
09.1 Company Registration Type 18 18 1 - NumCPF = '1'
CNPJ = '2'
10.1 Company Registration Number 19 32 14 - Num Registration number (CPF or CNPJ), right-aligned with leading zeros
11.1 Code of the Agreement in the Bank 33 52 20 - Alpha To facilitate understanding, this field was divided into BB1, BB2, BB3 and BB4
11.1 BB1 No. of Agreement 33 41 9 - Num Payment agreement, completing with leading zeros
11.1 BB2 Code 42 45 4 - Num '0126'
11.1 BB3 Reserved Use of the Bank 46 50 5 - Alpha Blanks
11.1 BB4 Test file 51 52 2 - AlphaIn production = Blanks
In test = 'TS'
12.1 Code Branch Keeping the Account 53 57 5 - Num Align right with leading zeros
13.1 DV Branch Verifier Digit 58 58 1 - Alpha In case of X, indicate in upper case
14.1 Number Checking Account Number 59 70 12 - Num Align right with leading zeros.
15.1 DV Account Verifier Digit 71 71 1 - Alpha In case of X, indicate in upper case.
16.1 Branch/Account Verifier Digit 72 72 1 - Alpha '0'
17.1 Name of the Company 73 102 30 - Alpha
18.1 Message 103 142 40 - Alpha Blanks
19.1 Name of the Street, Av, Square, Etc 143 172 30 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
20.1 Location Number 173 177 5 - Num Optional field, not treated by Banco do Brasil. If not completed enter '00000'.
21.1 House, Apt, Room, Etc 178 192 15 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
22.1 City 193 212 20 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
23.1 CEP 213 217 5 - Num Optional field, not treated by Banco do Brasil. If not completed enter '00000'.
24.1 Complement of the CEP 218 220 3 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
25.1 State Abbreviation 221 222 2 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
26.1 Exclusive Use FEBRABAN/CNAB 223 230 8 - Alpha Blanks
27.1 Events Code for Return 331 240 10 - AlphaShipping File = '0000000000'
Return File = Events Code for Return*
*Access the 'Events Code for Return' worksheet to verify.
LOT ON HEADER
Field Position Dig
No.
Dec
No.Format BB Instruction
Control
Bank
Lot
Registration
Service
Operation
Service
Entry Form
Lot Layout
CNAB
C
o
m
p
a
n
y
Registration NoType
Number
Agreement
Checking
Account
Branch
Account
DV
CNAB
Events
Name
Information 1
Company
Address
Street
Number
Complementary Information
City
CEP
Complement CEP
State
Translation No. 001 BB Particularities - CNAB240 Page No. 5 on August 2018
From Until
01.3A Code in the Compensation Bank 1 3 3 - Num '001'
02.3A Service Lot 4 7 4 - NumEnter the lot number to which the record belongs. It must be equal to the number reported in the lot
Header.
03.3A Registration Type 8 8 1 - Num '3'
04.3A Lot Record Sequential Number 9 13 5 - Num Start with 00001 in the first detail record of the lot, and increment by 1 in each new detail record line.
05.3A Segment Code in Reg. Detail 14 14 1 - Alpha 'A'
06.3A Type of Activity 15 15 1 - NumInclusion = '0'
Exclusion = '9'
07.3A Instruction Code for Activity 16 17 2 - NumInclusion = '00'
Exclusion = '99'
08.3A Centralizing Camera Code 18 20 3 - Num
The return file will tell which camera was used for the payment:
TED (STR, CIP) = '018'
DOC (COMPE) = '700'
09.3A Beneficiary Bank Code 21 23 3 - Num Code provided by the Central Bank.
10.3A Code Branch of the Beneficiary Account 24 28 5 - Num Align right with leading zeros
11.3A DV Branch Verifier Digit 29 29 1 - Alpha In case of X, indicate in upper case
12.3A Number Checking Account Number 30 41 12 - Num Align right with leading zeros.
13.3A DV Checking Account Verifier Digit 42 42 1 - Alpha In case of X, indicate in upper case.
14.3A Branch/Account Verifier Digit 43 43 1 - Alpha
Banco do Brasil = blank
Other Banks = For beneficiaries of other banks that have accounts with two-digit verifiers (DV), fill this field
with the second verifier digit.
15.3A Name of the Beneficiary 44 73 30 - Alpha
16.3A Doc Number Assigned by the Company 74 93 20 - Alpha
The numbers placed in positions 74 to 79 will appear as document number in the beneficiary's statement,
and the numbers in positions 80 to 85 will be used as the document number in the payer's statement.
Remarks: Since entries in the payer's account are bundled in the same lot, positions 80 through 85 of all
details must be the same, otherwise only the number in the first detail record of each lot will be
considered. Positions 86 to 93 are not treated by the system. The information imposed on this position will
return the same in the return file.
17.3A Payment Date 94 101 8 - Num DDMMYYYY
18.3A Currency Type 102 104 3 - Alpha 'BRL'
19.3A Amount of Currency 105 119 10 5 Num '000000000000000'
20.3A Payment Amount 120 134 13 2 Num
21.3A Doc Number Assigned by the Bank 135 154 20 - Alpha Blanks
22.3A Actual Date of the Payment 155 162 8 - Num Return File = DDMMYYYY
23.3A Actual Amount of the Payment 163 177 13 2 Num Return File = Actual payment amount
24.3A Other Information 178 217 40 - AlphaIf possiotions 178 and 179 are filled with '11', the system will assume Savings Account modality.
It will only be in the notice or document identified by the detail.
25.3A Compl. Service Type 218 219 2 - AlphaCode adopted by FEBRABAN to identify the purpose of DOC.
It will be passed on to the beneficiary Bank as informed, without treatment.
26.3A TED Purpose Code 220 224 5 - AlphaCode adopted by the Central Bank to identify the purpose of the TED.
It will be passed on to the beneficiary Bank as informed, without treatment.
27.3A Payment Purpose Complement 225 226 2 - Alpha
28.3A Exclusive Use Febraban 227 229 3 - Alpha Blanks
29.3A Supplier Notice 230 230 1 - Num '0'
30.3A Events Code for Return 231 240 10 - AlphaShipping File = '0000000000'
Return File = Events Code for Return*
*Access the 'Events Code for Return' worksheet to verify.
Actual Amount
Information 2
C
r
e
d
i
t
Events
DOC Purpose Code
TED Purpose Code
Complementary Purpose Code
CNAB
Notice
Account
DV
Payment Amount
Our number
Actual Date
Your number
Payment Date
Type
AmountCurrency
B
e
n
e
f
i
c
i
a
r
yName
Bank
Clearing
Control
Service
Bank
Lot
Registration
Registration No
Segment
Code
Type
Activity
Checking
Account
Branch
SEGMENT A
FieldPosition Dig
No.
Dec
No.Format BB Instruction
Translation No. 001 BB Particularities - CNAB240 Page No. 6 on August 2018
From Until
01.3A Code in the Compensation Bank 1 3 3 - Num '001'
02.3A Service Lot 4 7 4 - NumEnter the lot number to which the record belongs. It must be equal to the number reported in the lot
Header.
03.3A Registration Type 8 8 1 - Num '3'
04.3A Lot Record Sequential Number 9 13 5 - Num Start with 00001 in the first detail record of the lot, and increment by 1 in each new detail record line.
05.3A Segment Code in Reg. Detail 14 14 1 - Alpha 'A'
06.3A Type of Activity 15 15 1 - NumInclusion = '0'
Exclusion = '9'
07.3A Instruction Code for Activity 16 17 2 - NumInclusion = '00'
Exclusion = '99'
08.3A Centralizing Camera Code 18 20 3 - Num
TED (STR, CIP) = '018'
DOC (COMPE) = '700'
TED (STR/CIP) = '988'
Used when it is necessary to send TED using the ISPB code of the Target Financial Institution. In this case,
the field "ISPB Code" is required". Field 26.3B, of the Payment Segment, as described in Note P015
09.3A Beneficiary Bank Code 21 23 3 - Num Code provided by the Central Bank.
10.3A Code Branch of the Beneficiary Account 24 28 5 - Num Align right with leading zeros
11.3A DV Branch Verifier Digit 29 29 1 - Alpha In case of X, indicate in upper case
12.3A Number Checking Account Number 30 41 12 - Num Align right with leading zeros.
13.3A DV Checking Account Verifier Digit 42 42 1 - Alpha In case of X, indicate in upper case.
14.3A Branch/Account Verifier Digit 43 43 1 - Alpha
Banco do Brasil = blank
Other Banks = For beneficiaries of other banks that have accounts with two-digit verifiers (DV), fill this field
with the second verifier digit.
15.3A Name of the Beneficiary 44 73 30 - Alpha
16.3A Doc Number Assigned by the Company 74 93 20 - Alpha
The numbers placed in positions 74 to 79 will appear as document number in the beneficiary's statement,
and the numbers in positions 80 to 85 will be used as the document number in the payer's statement.
Remarks: Since entries in the payer's account are bundled in the same lot, positions 80 through 85 of all
details must be the same, otherwise only the number in the first detail record of each lot will be
considered. Positions 86 to 93 are not treated by the system. The information imposed on this position will
return the same in the return file.
17.3A Payment Date 94 101 8 - Num DDMMYYYY
18.3A Currency Type 102 104 3 - Alpha 'BRL'
19.3A Amount of Currency 105 119 10 5 Num '000000000000000'
20.3A Payment Amount 120 134 13 2 Num
21.3A Doc Number Assigned by the Bank 135 154 20 - Alpha Blanks
22.3A Actual Date of the Payment 155 162 8 - Num Return File = DDMMYYYY
23.3A Actual Amount of the Payment 163 177 13 2 Num Return File = Actual payment amount
24.3A Other Information 178 217 40 - Alpha Inform the identification of the Judicial Deposit (deposit ID).
25.3A Compl. Service Type 218 219 2 - Alpha Blanks
26.3A TED Purpose Code 220 224 5 - Alpha Blanks
27.3A Payment Purpose Complement 225 226 2 - Alpha
28.3A Exclusive Use Febraban 227 229 3 - Alpha Blanks
29.3A Supplier Notice 230 230 1 - Num '0'
30.3A Events Code for Return 231 240 10 - AlphaShipping File = '0000000000'
Return File = Events Code for Return*
*Access the 'Events Code for Return' worksheet to verify.
SEGMENT A JUDICIAL DEPOSIT
FieldPosition Dig
No.
Dec
No.Format BB Instruction
Control
Bank
Lot
Registration
Service
Registration No
Segment
Activity
Type
Code
B
e
n
e
f
i
c
i
a
r
y
Clearing
Bank
Checking
Account
Branch
Account
DV
Name
C
r
e
d
i
t
Your number
Payment Date
CurrencyType
Amount
Payment Amount
Our number
Actual Date
Actual Amount
Events
Information 2
DOC Purpose Code
TED Purpose Code
Complementary Purpose Code
CNAB
Notice
Translation No. 001 BB Particularities - CNAB240 Page No. 7 on August 2018
FromUntil
01.3B Code in the Compensation Bank 1 3 3 - Num '001'
02.3B Service Lot 4 7 4 - NumEnter the lot number to which the record belongs. It must be equal to the number reported in
the lot Header.
03.3B Registration Type 8 8 1 - Num '3'
04.3B Lot Record Sequential Number 9 13 5 - Num Blanks
05.3B Reg. Segment Code Detail 14 14 1 - Alpha
06.3B Exclusive Use FEBRABAN/CNAB 15 17 3 - Alpha Blanks
07.3B Type Type of Beneficiary Enrollment 18 18 1 - NumCPF = '1'
CNPJ = '2'
08.3B Number No. of Beneficiary Enrollment 19 32 14 - Num Registration number (CPF or CNPJ), right-aligned with leading zeros
09.3B Name of the Street, Av, Square, Etc 33 62 30 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
10.3B Location No 63 67 5 - Num Optional field, not treated by Banco do Brasil. If not completed enter '00000'.
11.3B House, Apt, Etc 68 82 15 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
12.3B Neighborhood Name 83 97 15 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
13.3B Name of the city 98 117 20 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
14.3B CEP 118 122 5 - Num Optional field, not treated by Banco do Brasil. If not completed enter '00000'.
15.3B Complement of the CEP 123 125 3 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
16.3B State Abbreviation 126 127 2 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
17.3B Due Date (Nominal) 128 135 8 - Num Optional field, not treated by Banco do Brasil. If not completed enter '00000000'.
18.3B Document Amount (Nominal) 136 150 13 2 Num Optional field, not treated by Banco do Brasil. If not completed enter '0000000000000'.
19.3B Rebate Amount 151 165 13 2 Num Optional field, not treated by Banco do Brasil. If not completed enter '0000000000000'.
20.3B Discount Amount 166 180 13 2 Num Optional field, not treated by Banco do Brasil. If not completed enter '0000000000000'.
21.3B Penalty Amount 181 195 13 2 Num Optional field, not treated by Banco do Brasil. If not completed enter '0000000000000'.
22.3B Fine Amount 196 210 13 2 Num Optional field, not treated by Banco do Brasil. If not completed enter '0000000000000'.
23.3B Beneficiary Code/Document 211 225 15 - Alpha Optional field, not treated by Banco do Brasil. If not completed enter 'blanks'.
24.3B Notice to the Beneficiary 226 226 1 - Num '0'
25.3B Exclusive Use for SIAPE 227 232 6 - Num Optional field, not treated by Banco do Brasil. If not completed enter '000000'.
26.3B ISPB code 233 240 6 - Num Blanks
*Access the 'Events Code for Return' worksheet to verify.
CNAB
Street
Number
Complementary Information
CEP
Neighborhood
City
Notice
Centralized UG Code
Identification of the Bank in SPB
Document Amount
Rebate
Beneficiary Code/Doc
Fine
C
o
m
p
l
e
m
e
n
t
a
r
y
D
a
t
a
B
e
n
e
f
i
c
i
a
r
y
P
m
t
Registration No
CEP Complement
State
Due date
Discount
Late Payment Penalty
Control
Bank
Lot
Registration
Registration NoService
Segment
SEGMENT B
FieldPosition Dig
No.
Dec
No.Format BB Instruction
Translation No. 001 BB Particularities - CNAB240 Page No. 8 on August 2018
FromUntil
01.3J Code in the Compensation Bank 1 3 3 - Num '001'
02.3J Service Lot 4 7 4 - NumEnter the lot number to which the record belongs. It must be equal to the number
reported in the lot Header.
03.3J Registration Type 8 8 1 - Num '3'
04.3J Lot Record Sequential Number 9 13 5 - NumStart with 00001 in the first detail record of the lot, and increment by 1 in each new
detail record line.
05.3J Segment Code in Reg. Detail 14 14 1 - Alpha 'J'
06.3J Type Type of Activity 15 15 1 - NumInclusion = '0'
Exclusion = '9'
07.3J Code Instruction Code for Activity 16 17 2 - NumInclusion = '00'
Exclusion = '99'
08.3J Bar code 18 61 44 - NumInform the barcode as captured by the optical reader. Do not inform the line to be
typed.
09.3J Beneficiary Name 62 91 30 - Alpha
10.3J Due Date (Nominal) 92 99 8 - Num DDMMYYYY
11.3J Slip Amount (Nominal) 100 114 13 2 Num
12.3J Discount + Rebate Amount 115 129 13 2 Num
13.3J Late Penalty + Fine Amount 130 144 13 2 Num
14.3J Payment Date 145 152 8 - Num DDMMYYYY
15.3J Payment Amount 153 167 13 2 Num Total amount of the slip payment, with deductions and extras if any.
16.3J Amount of Currency 168 182 10 5 Num '000000000000000'
17.3J Doc Number Assigned by the Company 183 202 20 - Alpha The information sent by the shipping file will return in the return file.
18.3J Doc Number Assigned by the Bank 203 222 20 - Alpha
19.3J Currency Code 223 224 2 - Num '09'
20.3J CNAB 225 230 6 - Alpha Blanks
21.3J Events Code for Return 231 240 10 - AlphaShipping File = '0000000000'
Return File = Events Code for Return*
*Access the 'Events Code for Return' worksheet to verify.
SEGMENT J
BB Instruction
Control
Service
P
a
y
m
e
n
t
Activity
Bank
Lot
Registration
Registration No
Segment
Additions
FieldPosition Dig
No.
Dec
No.Format
Events
CNAB
Currency Code
Bar code
Beneficiary Name
Due Date
Slip Amount
Discount
Payment Date
Payment Amount
Amount of Currency
Reference Payer
Our number
Translation No. 001 BB Particularities - CNAB240 Page No. 9 on August 2018
FromUntil
01.4.J52 Bank Clearing Code 1 3 3 - Num '001'
02.4.J52 Service Lot 4 7 4 - NumEnter the lot number to which the record belongs. It must be equal to the number
reported in the lot Header.
03.4.J52 Registration Type 8 8 1 - Num '3'
04.4.J52 Lot Record Sequential Number 9 13 5 - NumStart with 00001 in the first detail record of the lot, and increment by 1 in each new
detail record line.
05.4.J52 Segment Code of Record Detail 14 14 1 - Alpha 'J'
06.4.J52 Exclusive Use FEBRABAN/CNAB 15 15 1 - Alpha Blanks
07.4.J52 Shipping Activity Code 16 17 2 - NumInclusion = '00'
Exclusion = '99'
08.4.J52 Optional Registration Identification 18 19 2 - Num '52'
09.4.J52 Type Type of Registration 20 20 1 - Num
Mandatory for slips with amount equal to or high than BRL 250k
CPF = 1
CNPJ = 2
10.4.J52 Number Registration Number 21 35 15 - NumMandatory for slips with amount equal to or high than BRL 250k
Registration number (CPF or CNPJ), right-aligned with leading zeros
11.4.J52 Name 36 75 40 - Alpha
12.4.J52 Type Type of Registration 76 76 1 - Num
Mandatory for slips with amount equal to or high than BRL 250k
CPF = 1
CNPJ = 2
13.4.J52 Number Registration Number 77 91 15 - NumMandatory for slips with amount equal to or high than BRL 250k
Registration number (CPF or CNPJ), right-aligned with leading zeros
14.4.J52 Name 92 131 40 - Alpha
15.4.J52 Type Type of Registration 132 132 1 - Num
No Payer Guarantor = 0
CPF = 1
CNPJ = 2
16.4.J52 Number Registration Number 133 147 15 - NumRegistration number (CPF or CNPJ) of the Guarantor Payer. If there is not, fill with
'000000000000000'.
17.4.J52 Name 148 187 40 - Alpha Name of Guarantor Payer. If there is not, fill with blanks.
18.4.J52 Exclusive Use FEBRABAN/CNAB 188 240 53 - Alpha Blanks
SEGMENT J52
BB Instruction
Control
Payer's Data
Beneficiary
Data
FieldPosition Dig
No.
Dec
No.Format
Bank
Registration
Lot
Service
Registration No
Registration No
Code Mov
CNAB
Segment
CNAB
Name
Name
Name
Operational Reg. Code
Payer
Guarantor's
Data
Registration No
Registration No
Translation No. 001 BB Particularities - CNAB240 Page No. 10 on August 2018
FromUntil
01.3N Code in the Compensation Bank 1 3 3 - Num '001'
02.3N Service Lot 4 7 4 - NumEnter the lot number to which the record belongs. It must be equal to the number
reported in the lot Header.
03.3N Registration Type 8 8 1 - Num '3'
04.3N Lot Record Sequential Number 9 13 5 - NumStart with 00001 in the first detail record of the lot, and increment by 1 in each new
detail record line.
05.3N Segment Code in Reg. Detail 14 14 1 - Alpha 'N'
06.3N Type Type of Activity 15 15 1 - NumInclusion = '0'
Exclusion = '9'
07.3N Code Instruction Code for Activity 16 17 2 - NumInclusion = '00'
Exclusion = '99'
08.3N Doc Number Assigned by the Company 18 37 20 - Alpha The information sent by the shipping file will return in the return file.
09.3N Doc Number Assigned by the Bank 38 57 20 - Alpha
10.3N Taxpayer’s Name 58 87 30 - Alpha
11.3N Payment Date 88 95 8 - Num DDMMYYYY
12.3N Total Payment Amount 96 110 13 2 Num
13.3N Additional information according to the respective tax111 230 120 - Alpha
14.3N Events Code for Return 231 240 10 - AlphaShipping File = '0000000000'
Return File = Events Code for Return*
*Access the 'Events Code for Return' worksheet to verify.
P
m
t
Events
Additional Information
Your number
Our number
Taxpayer
Payment Date
Payment Amount
Control
Bank
Lot
Registration
Service
Registration No
Segment
Activity
SEGMENT N
FieldPosition Dig
No.
Dec
No.Format BB Instruction
Translation No. 001 BB Particularities - CNAB240 Page No. 11 on August 2018
FromUntil
01.3.N1 Income Tribute Revenue Code 111 116 6 - Alpha
Enter the revenue code right-aligned and zeros to the left. It must be obtained according
to the GPS Filling Manual, which can be found on the INSS website at:
http://www.mpas.gov.br.
02.3.N1 Taxpayer Identification Type Taxpayer Identification Type 117 118 2 - Num
CNPJ = '1'
CPF = '2'
NIT/PIS/PASEP = '3'
CEI = '4'
NB = '6'
Voter's Card = '7'
DEBCAD = '8'
Reference = '9'
03.3.N1 Taxpayer Identification Taxpayer Identification 119 132 14 - Num
04.3.N1 Tax Identification Tax Identification Code 133 134 2 - Alpha '17'
05.3.N1 Accrual basis Month and Year of Accrual 135 140 6 - Num MMYYYY
06.3.N1 Tax Amount Estimated amount of INSS payment 141 155 13 2 NumIt is forbidden to use the GPS to collect Revenues of less than the total amount
stipulated in the INSS / PR Resolution.
07.3.N1 Amount Other Entities Amount of Other Entities 156 170 13 2 Num
08.3.N1 Inflation Adjustment Inflation Adjustment 171 185 13 2 Num
09.3.N1 CNAB Exclusive Use FEBRABAN/CNAB 186 230 45 - Alpha Blanks
SEGMENT N1 - GPS
Variable FieldsPosition Dig
No.
Dec
No.Format BB Instruction
Translation No. 001 BB Particularities - CNAB240 Page No. 12 on August 2018
FromUntil
01.3.N2 Income Tribute Revenue Code 111 116 6 - Alpha
Enter the revenue code right-aligned and zeros to the left. It must be obtained according
to the GPS Filling Manual, which can be found on the INSS website at:
http://www.mpas.gov.br.
02.3.N2 Taxpayer Identification Type Taxpayer Identification Type 117 118 2 - Num
CNPJ = '1'
CPF = '2'
NIT/PIS/PASEP = '3'
CEI = '4'
NB = '6'
Voter's Card = '7'
DEBCAD = '8'
Reference = '9'
03.3.N2 Taxpayer Identification Taxpayer Identification 119 132 14 - Num
04.3.N2 Tax Identification Tax Identification Code 133 134 2 - Alpha '16'
05.3.N2 Period Determination Period 135 142 8 - Num DDMMYYYY
06.3.N2 Reference Reference number 143 159 17 - Num
07.3.N2 Main Amount Main Amount 160 174 13 2 Num
08.3.N2 Fine Amount Fine Amount 175 189 13 2 Num
09.3.N2 Interest/Charges Interest/Charges Amount 190 204 13 2 Num
10.3.N2 Due Date Due Date 205 212 8 - Num DDMMYYYY
11.3.N2 CNAB Exclusive Use FEBRABAN/CNAB 213 230 18 - Alpha Blanks
SEGMENT N2 - DARF
Variable FieldsPosition Dig
No.
Dec
No.Format BB Instruction
Translation No. 001 BB Particularities - CNAB240 Page No. 13 on August 2018
FromUntil
01.3.N3 Income Tribute Revenue Code 111 116 6 - Alpha
Enter the revenue code right-aligned and zeros to the left. It must be obtained according
to the GPS Filling Manual, which can be found on the INSS website at:
http://www.mpas.gov.br.
For situations where the company is included in the "SIMPLES" for payment of DARF, the
Revenue code is unique "6106”.
02.3.N3 Taxpayer Identification Type Taxpayer Identification Type 117 118 2 - Num
CNPJ = '1'
CPF = '2'
NIT/PIS/PASEP = '3'
CEI = '4'
NB = '6'
Voter's Card = '7'
DEBCAD = '8'
Reference = '9'
03.3.N3 Taxpayer Identification Taxpayer Identification 119 132 14 - Num
04.3.N3 Tax Identification Tax Identification Code 133 134 2 - Alpha '18'
05.3.N3 Period Determination Period 135 142 8 - Num DDMMYYYY
06.3.N3 Gross Revenue Amount of Accumulated Gross Revenue 143 127 13 2 Num
07.3.N3 PercentagePercentage over Accumulated Gross
Revenue158 164 5 2 Num
08.3.N3 Main Amount Main Amount 165 179 13 2 Num
09.3.N3 Fine Amount Fine Amount 180 194 13 2 Num
10.3.N3 Interest/Charges Interest/Charges Amount 195 209 13 2 Num
11.3.N3 CNAB Exclusive Use FEBRABAN/CNAB 210 230 21 - Alpha Blanks
SEGMENT N3 - SIMPLE DARF
Variable FieldsPosition Dig
No.
Dec
No.Format BB Instruction
Translation No. 001 BB Particularities - CNAB240 Page No. 14 on 22/Jan/2018
FromUntil
01.3.N4 Income Tribute Revenue Code 111 116 6 - Alpha
Enter the revenue code right-aligned and zeros to the left. It must be obtained according
to the GPS Filling Manual, which can be found on the INSS website at:
http://www.mpas.gov.br.
02.3.N4 Taxpayer Identification Type Taxpayer Identification Type 117 118 2 - Num
CNPJ = '1'
CPF = '2'
NIT/PIS/PASEP = '3'
CEI = '4'
NB = '6'
Voter's Card = '7'
DEBCAD = '8'
Reference = '9'
03.3.N4 Taxpayer Identification Taxpayer Identification 119 132 14 - Num
04.3.N4 Tax Identification Tax Identification Code 133 134 2 - Alpha
GARE SP ICMS Tax = '22'
GARE SP DR Tax = '23'
GARE SP ITCMD Tax = '24'
05.3.N4 Due date Due Date 135 142 8 - Num DDMMYYYY
06.3.N4 IE/MUNIC/DECLARState Registration/Municipal
Code/Statement Number143 154 12 - Num Required information.
07.3.N4 Active Debt/Tag Active Debt/Tag Number 155 167 13 - Num
08.3.N4 Reference Reference Period 168 173 6 - Num MMYYYY
09.3.N4 Installment/Notification No. Installment/Notification Number 174 186 13 - Num
10.3.N4 Income Revenue Value 187 201 13 2 Num
11.3.N4 Interest Amount Interest/Charges Amount 202 215 12 2 Num
12.3.N4 Fine Amount Fine Amount 216 229 12 2 Num
13.3.N4 CNAB Exclusive Use FEBRABAN/CNAB 230 230 1 - Alpha Blanks
SEGMENT N4 - GARE SP
Variable FieldsPosition Dig
No.
Dec
No.Format BB Instruction
Translation No. 001 BB Particularities - CNAB240 Page No. 15 on 22/Jan/2018
FromUntil
01.3.N5 Income Tribute Revenue Code 111 116 6 - Alpha Not treated by BB
02.3.N5 Taxpayer Identification Type Taxpayer Identification Type 117 118 2 - Num Not treated by BB
03.3.N5 Taxpayer Identification Taxpayer Identification 119 132 14 - Num Not treated by BB
04.3.N5 Tax Identification Tax Identification Code 133 134 2 - Alpha Not treated by BB
05.3.N5 Ref. Year Reference Year 135 138 4 - Num Not treated by BB
06.3.N5 Renavam Renavam Code 139 147 9 - Num Not treated by BB
07.3.N5 State State 148 149 2 - Alpha Not treated by BB
08.3.N5 City City Code 150 154 5 - Num Not treated by BB
09.3.N5 Plate Vehicle Plate 155 161 7 - Alpha Not treated by BB
10.3.N5 Payment Option Payment Option 162 162 1 - Alpha Not treated by BB
11.3.N5 New Renavam Renavam Code 163 174 12 - Num Not treated by BB
12.3.N5 CNAB Exclusive Use FEBRABAN/CNAB 175 230 55 - Alpha Not treated by BB
SEGMENT N5 - IPVA
Variable FieldsPosition Dig
No.
Dec
No.Format BB Instruction
Translation No. 001 BB Particularities - CNAB240 Page No. 16 on 22/Jan/2018
FromUntil
01.3.N6 Income Tribute Revenue Code 111 116 6 - Alpha Not treated by BB.
02.3.N6 Taxpayer Identification Type Taxpayer Identification Type 117 118 2 - Num Not treated by BB.
03.3.N6 Taxpayer Identification Taxpayer Identification 119 132 14 - Num Not treated by BB.
04.3.N6 Tax Identification Tax Identification Code 133 134 2 - Alpha Not treated by BB.
05.3.N6 Ref. Year Reference Year 135 138 4 - Num Not treated by BB.
06.3.N6 Renavam Renavam Code 139 147 9 - Num Not treated by BB.
07.3.N6 State State 148 149 2 - Alpha Not treated by BB.
08.3.N6 City City Code 150 154 5 - Num Not treated by BB.
09.3.N6 Plate Vehicle Plate 155 161 7 - Alpha Not treated by BB.
10.3.N6 Payment Option Payment Option 162 162 1 - Alpha Not treated by BB.
11.3.N6 New Renavam Renavam Code 163 174 12 - Num Not treated by BB.
12.3.N6 CNAB Exclusive Use FEBRABAN/CNAB 175 230 55 - Alpha Not treated by BB.
SEGMENT N6 - DPVAT
Variable FieldsPosition Dig
No.
Dec
No.Format BB Instruction
Translation No. 001 BB Particularities - CNAB240 Page No. 17 on 22/Jan/2018
FromUntil
01.3.N7 Income Tribute Revenue Code 111 116 6 - Alpha Not treated by BB.
02.3.N7 Taxpayer Identification Type Taxpayer Identification Type 117 118 2 - Num Not treated by BB.
03.3.N7 Taxpayer Identification Taxpayer Identification 119 132 14 - Num Not treated by BB.
04.3.N7 Tax Identification Tax Identification Code 133 134 2 - Alpha Not treated by BB.
05.3.N7 Ref. Year Reference Year 135 138 4 - Num Not treated by BB.
06.3.N7 Renavam Renavam Code 139 147 9 - Num Not treated by BB.
07.3.N7 State State 148 149 2 - Alpha Not treated by BB.
08.3.N7 City City Code 150 154 5 - Num Not treated by BB.
09.3.N7 Plate Vehicle Plate 155 161 7 - Alpha Not treated by BB.
10.3.N7 Payment Option Payment Option 162 162 1 - Alpha Not treated by BB.
11.3.N7 Withdrawal Option Withdrawal Option of CRVL 163 163 1 Alpha Not treated by BB.
12.3.N7 New Renavam Renavam Code 164 175 12 - Num Not treated by BB.
13.3.N7 CNAB Exclusive Use FEBRABAN/CNAB 176 230 54 - Alpha Not treated by BB.
SEGMENT N7 - LICENSING
Variable FieldsPosition Dig
No.
Dec
No.Format BB Instruction
Translation No. 001 BB Particularities - CNAB240 Page No. 18 on August 2018
FromUntil
01.3.N8 Income Tribute Revenue Code 111 116 6 - Alpha
Enter the revenue code right-aligned and zeros to the left. It must be obtained according
to the GPS Filling Manual, which can be found on the INSS website at:
http://www.mpas.gov.br.
02.3.N8 Taxpayer Identification Type Taxpayer Identification Type 117 118 2 - Num
CNPJ = '1'
CPF = '2'
NIT/PIS/PASEP = '3'
CEI = '4'
NB = '6'
Voter's Card = '7'
DEBCAD = '8'
Reference = '9'
03.3.N8 Taxpayer Identification Taxpayer Identification 119 132 14 - Num
04.3.N8 IE/City/StatementState Registration/Municipal
Code/Statement Number133 140 8 - Alpha
05.3.N8 Origin Origin Document Number 141 156 16 - Num
06.3.N8 Amount Main Amount 157 171 13 2 Num
07.3.N8 Inflation Adjustment Inflation Adjustment Amount 172 186 13 2 Num
08.3.N8 Late Payment Penalty Penalty Amount 187 201 13 2 Num
09.3.N8 Fine Fine Amount 202 216 13 2 Num
10.3.N8 Due Date Due Date 217 224 8 - Num DDMMYYYY
11.3.N8 Period or Installment Reference Period or Installment Number 225 230 6 - Num MMYYYY
SEGMENT N8 - DARJ
Variable FieldsPosition Dig
No.
Dec
No.Format BB Instruction
Translation No. 001 BB Particularities - CNAB240 Page No. 19 on August 2018
FromUntil
01.3O Code in the Compensation Bank 1 3 3 - Num '001'
02.3O Service Lot 4 7 4 - NumEnter the lot number to which the record belongs. It must be equal to the number
reported in the lot Header.
03.3O Registration Type 8 8 1 - Num '3'
04.3O Lot Record Sequential Number 9 13 5 - NumStart with 00001 in the first detail record of the lot, and increment by 1 in each new
detail record line.
05.3O Segment Code in Reg. Detail 14 14 1 - Alpha 'O'
06.3O Type Type of Activity 15 15 1 - NumInclusion = '0'
Exclusion = '9'
07.3O Code Instruction Code for Activity 16 17 2 - NumInclusion = '00'
Exclusion = '99'
08.3O Bar code 18 61 44 - AlphaInform the barcode as captured by the optical reader. Do not inform the line to be
typed.
09.3OName of the Concessionaire / Public
Agency62 91 30 - Alpha
10.3O Nominal Due Date 92 99 8 - Num DDMMYYYY
11.3O Payment Date 100 107 8 - Num DDMMYYYY
12.3O Payment Amount 108 122 13 2 Num
13.3O Doc Number Assigned by the Company 123 142 20 - Alpha The information sent by the shipping file will return in the return file.
14.3O Doc Number Assigned by the Bank 143 162 20 - Alpha
15.3O Exclusive Use FEBRABAN/CNAB 163 230 68 - Alpha Blanks
16.3O Events Code for Return 231 240 10 - AlphaShipping File = '0000000000'
Return File = Events Code for Return*
*Access the 'Events Code for Return' worksheet to verify.
CNAB
Events
Payment Amount
Your number
P
m
t
Bar code
Concessionaire Name
Due Date
Payment Date
Our number
Control
Bank
Lot
Registration
Service
Registration No
Segment
Activity
Segment O
FieldPosition Dig
No.
Dec
No.Format BB Instruction
Translation No. 001 BB Particularities - CNAB240 Page No. 20 on August 2018
FromUntil
01.3W Bank Code in the Compensation Bank 1 3 3 - Num '001'
02.3W Lot Service Lot 4 7 4 - NumEnter the lot number to which the record belongs. It must be equal to the number
reported in the lot Header.
03.3W Registration Registration Type 8 8 1 - Num '3'
04.3W Registration No Lot Record Sequential Number 9 13 5 - NumStart with 00001 in the first detail record of the lot, and increment by 1 in each new
detail record line.
05.3W Segment Segment Code in Reg. Detail 14 14 1 - Alpha 'W'
06.3W Seq Number Complementary Registration 15 15 1 - Num
07.3W Identifies Use of Information 1 and 2 16 16 1 - Alpha
08.3W Complementary Information 1 17 96 80 - Alpha
09.3W Complementary Information 2 97 176 80 - Alpha
10.3W Tax Identification 177 178 2 - Alpha FGTS = '01'
11.3W Complementary Tax Information 179 228 48 - Alpha
12.3W CNAB/FEBRABAN Use 229 230 2 - Alpha
13.3W Events Code for Return 231 240 10 - AlphaShipping File = '0000000000'
Return File = Events Code for Return*
Remarks: The agreement regarding FGTS code 0181 (FEBRABAN) is not accepted by Banco do Brasil for payment through file.
*Access the 'Events Code for Return' worksheet to verify.
Service
SEGMENT W
Field
Complementary Information 3
Reserved
Control
Position Dig
No.
Dec
No.Format BB Instruction
Events
Registration Complement
Identifies Use of Information 1
Complementary Information 1
Complementary Information 2
Translation No. 001 BB Particularities - CNAB240 Page No. 21 on August 2018
FromUntil
10.3W Tax Identifier Tax Identifier 177 178 2 - Alpha FGTS = '01'
10.3W Income Tribute Revenue Code 179 184 6 - Alpha
CNPJ = '1'
CPF = '2'
NIT/PIS/PASEP = '3'
CEI = '4'
NB = '6'
Voter's Card = '7'
DEBCAD = '8'
Reference = '9'
10.3W Taxpayer Identification Type Taxpayer Identification Type 185 186 2 - Alpha
10.3W Taxpayer Identification Taxpayer Identification 187 200 14 - Alpha
10.3W Identifier FGTS Identifier field 201 216 16 - Alpha
10.3W Seal Seal of Social Connectivity 217 225 9 - Alpha For more information, consult the website of the managing body: www.caixa.gov.br.
10.3W Seal Digit Digit of the Social Connectivity Sealing 226 227 2 - Alpha
10.3W Reserved CNAB/FEBRABAN Use 228 228 1 - Alpha Blanks
SEGMENT W1
Variable FieldsPosition Dig
No.
Dec
No.Format BB Instruction
Translation No. 001 BB Particularities - CNAB240 Page No. 22 on August 2018
FromUntil
01.3Z Bank Code in the Compensation Bank 1 3 3 - Num '001'
02.3Z Lot Service Lot 4 7 4 - Num
Enter the lot number to which the record belongs. It must be equal to the number
reported in the lot Header.
03.3Z Registration Registration Type 8 8 1 - Num '3'
04.3Z Registration No Lot Record Sequential Number 9 13 5 - Num
Start with 00001 in the first detail record of the lot, and increment by 1 in each new
detail record line.
05.3Z Segment Segment Code in Reg. Detail 14 14 1 - Alpha 'Z'
06.3Z Authentication to meet Legislation 15 78 64 - Alpha
07.3ZBank / Protocol Authentication
79 103 25 - Alpha
08.3ZCNAB/FEBRABAN Use
104 230 127 - Alpha Blanks
09.3Z Events Code for Return 231 240 10 - Alpha
Shipping File = '0000000000'
Return File = Events Code for Return*
If it is in the company's interest, ask for the rel ationship agency.
*Access the 'Events Code for Return' worksheet to verify.
SEGMENT Z
FieldPosition Dig
No.
Dec
No.Format BB Instruction
Remarks: The detail record "Z" will only be generat ed if the service registration has the option Retur n with authentication.
Control
Service
Authentication
Banking Control
Reserved
Events
Translation No. 001 BB Particularities - CNAB240 Page No. 23 on August 2018
FromUntil
01.5 Bank Bank Clearing Code 1 3 3 - Num '001'
02.5 Lot Service Lot 4 7 4 - Num Inform same lot header number.
03.5 Registration Registration Type 8 8 1 - Num '5'
04.5 Exclusive Use FEBRABAN/CNAB 9 17 9 - Alpha Blanks
05.5 Number of Records Quantity of Lot Records 18 23 6 - NumSum of type 1, 3 and 5 records. If incorrectly reported, the entire lot will be
rejected.
06.5 Amount Sum of Amounts 24 41 16 2 Num
Sum of slip payment amounts (pos. 153 to 167) of the detail records
(Record = '3' / Segment Code = 'J').
If incorrectly reported, the entire lot will be rejected.
Reg. Types 3
07.5 Qty. Currency Sum of Currency Amount 42 59 13 5 Num '000000000000000000'
08.5 Debit Notification Number 60 65 6 - Num '000000'
09.5 Exclusive Use FEBRABAN/CNAB 66 230 165 - Alpha Blanks
10.5 Return Events Codes 231 240 10 - AlphaShipping File = '0000000000'
Return File = Events Code for Return*
*Access the 'Events Code for Return' worksheet to verify.
LOT TRAILER
BB Instruction
Events
Field
Control
Total
CNAB
Debit Notification Number
CNAB
Position Dig
No.
Dec
No.Format
Translation No. 001 BB Particularities - CNAB240 Page No. 24 on August 2018
FromUntil
01.9 Bank Bank Clearing Code 1 3 3 - Num '001'
02.9 Lot Service Lot 4 7 4 - Num '9999'
03.9 Registration Registration Type 8 8 1 - Num '9'
04.9 Exclusive Use FEBRABAN/CNAB 9 17 9 - Alpha Blanks
05.9 Number of Lots Number of File Lots 18 23 6 - Num Sum of type 1 records. If incorrectly informed, the file will be rejected.
06.9 Number of Records Number of File Records 24 29 6 - Num
Sum of type 0, 1, 3, 5 and 9 records. If incorrectly informed, the file will be
rejected.
07.9 Number of Concil Accounts Number of Accounts for Conc. (Lots) 30 35 6 - Num '000000'
08.9 Exclusive Use FEBRABAN/CNAB 36 240 205 - Alpha Blanks
FILE TRAILER
BB Instruction
Total
CNAB
Field
Control
CNAB
Dig
No.
Position Dec
No.Format
Translation No. 001 BB Particularities - CNAB240 Page No. 25 on August 2018
*Events Code for Return
Code adopted by FEBRABAN to identify events detected during processing.
You can enter up to 5 events simultaneously, each of which is coded with two digits, as listed below.
Domain:
'00' = This code indicates that the payment was confirmed
'01' = Insufficiency of Funds - Debit Not Completed
02' = Credit or Debit Canceled by the Payer/Lender
'03' = Debit Authorized by the Branch - Completed
'AA' = Invalid Control
'AB' = Invalid Type of Operation
'AC' = Invalid Service Type
'AD' = Invalid Entry Form
'AE' = Invalid Enrollment Type/Number
'AF' = Invalid Agreement Code
'AG' = Invalid Branch/Checking Account/DV
'AH' = Invalid Sequential Number of the Record in the Lot
'AI' = Invalid Detail Segment Code
'AJ' = Invalid Activity Type
'AK' = Invalid Code for Clearing Camera of Beneficiary/Depositary Bank
'AL' = Invalid Code for Beneficiary or Depositary Bank
'AM' = Invalid Branch of the Beneficiary's Checking Account
'AN' = Invalid Beneficiary's Checking Account/DV
'AO' = Name of Beneficiary Not Informed
'AP' = Invalid Entry Date
'AQ' = Invalid Currency Type/Amount
'AR' = Invalid Entry Amount
'AS' = Notice to the Beneficiary - Invalid Identification
'AT' = Invalid Beneficiary's Enrollment Type/Number
'AU' = Beneficiary's Street Not Informed
'AV' = Beneficiary's Address Number Not Informed
'AW' = Beneficiary's City Not Informed
'AX' = Invalid Beneficiary's CEP/Address Complement
'AY' = Invalid Beneficiary's State Abbreviation
'AZ' = Invalid Depositary Bank Code/Name
'BA' = Depositary Branch Code/Name Not Informed
'BB' = Your Number Invalid
'BC' = Our Number Invalid
'BD' = Successful Inclusion
'BE' = Successful Change
'BF' = Successful Deletion
'BG' = Legally Blocked Branch/Account
'BH' = Company did not pay salary
'BI' = Borrower's death
'BJ' = Company did not send the borrower's delivery
'BK' = Company did not send delivery by the due date
'BL' = Invalid installment amount
'BM' = Invalid contract identification
Translation No. 001 BB Particularities - CNAB240 Page No. 26 on August 2018
'BN' = Consignment Operation Successfully Included
'BO' = Consignment Operation Successfully Changed
'BP' = Consignment Operation Successfully Deleted
'BQ' = Consignment Operation Successfully Liquidated
'BR' = Reactivation Done Successfully
'BS' = Successful Suspension
'CA' = Bar Code - Invalid Bank Code
'CB' = Bar Code - Invalid Currency Code
'CC' = Bar Code - Invalid General Verifier Digit
'CD' = Bar Code - Invalid Slip Amount
'CE' = Bar Code - Invalid Free Field
'CF' = Invalid Document Amount
'CG' = Invalid Rebate Amount
'CH' = Invalid Discount Amount
'CI' = Invalid Late Penalty Amount
'CJ' = Invalid Fine Amount
'CK' = Invalid Income Tax Amount
'CL' = Invalid ISS Amount
'CM' = Invalid IOF Amount
'CN' = Other Deductions Amount Invalid
'CO' = Other Additions Amount Invalid
'CP' = Invalid INSS Amount
'HA' = Lot Not Accepted
'HB' = Invalid Company Registration for Contract
'HC' = Non-Existing/Invalid Agreement with the Company for the Contract
'HD' = Non-Existing/Invalid Branch/Checking Account of Company of the Contract
'HE' = Invalid Service Type for Contract
'HF' = Company's Checking Account with Insufficient Balance
'HG' = Service Lot Out of Sequence
'HH' = Invalid Service Lot
'HI' = File not accepted
'HJ' = Invalid Registration Type
'HK' = Invalid Delivery / Return Code
'HL' = Invalid layout version
'HM' = Unidentified Borrower
'HN' = Benefit type does not allow loan
'HO' = Terminated/Suspended Benefit
'HP' = Benefit has legal representative
'HQ' = Benefit is type PA (Alimony or Child Support)
'HR' = Number of contracts allowed exceeded
'HS' = Benefit does not belong to the informed bank
'HT' = Beginning of the informed discount already exceeded
'HU' = Invalid installment number
'HV' = Invalid installment amount
'HW' = Loan margin exceeded for the borrower within the term of the contract
'HX' = Loan already registered
'HY' = Non-existent loan
'HZ' = Loan already closed
'H1' = File without trailer
'H2' = Borrower without credit in ref. year
Translation No. 001 BB Particularities - CNAB240 Page No. 27 on August 2018
'H3' = Not discounted - other reasons
'H4' = Unpaid Credit Return
'H5' = Retroactive loan cancellation
'H6' = Other Reasons for Rejection
'H7' = Loan margin exceeded for the borrower beyond the term of the contract
'H8' = Borrower no longer with employer
'H9' = Borrower out due to a license
'IA' = First name of the borrower other than the first name of the census movement or different from the holder's Benefit database
'IB' = Benefit suspended/terminated by APS or Sisobi
'IC' = Benefit suspended per calculation dependency
'ID' = Benefit suspended/terminated by the inspection/audit
'IE' = Benefit blocked for loan by the beneficiary
'IF' = Benefit blocked for loan by TBM
'IG' = Benefit is in the stage of granting PA or unfolding
'IH' = Benefit terminated by death
'II' = Benefit terminated due to fraud
'IJ' = Benefit terminated by grant of another benefit
'IK' = Benefit terminated: civil servant transferred to the origin agency
'IL' = Loan suspended by APS
'IM' = Loan canceled by the bank
'IN' = Credit transformed into PAB
'IO' = End of consignment changed
'IP' = End of loan occurred during suspension or concession period
'IQ' = Loan suspended by bank
of quota of the
dependent benefit holder
'TA' = Lot Not Accepted - Lot Totals with Difference
'YA' = Slip Not Found
'YB' = Invalid Optional Record Identifier
'YC' = Invalid Default Code
'YD' = Invalid Event Code
'YE' = Invalid Event Complement
'YF' = Allegation already Informed
'ZA' = Replaced Beneficiary Branch/Account - Note: Events started with 'ZA' are only informative for the client
'ZB' = Divergence between the first and last name of the beneficiary versus first and last name in the IRS
'ZC' = Confirmation of Anticipation of Amount
'ZD' = Partial amount anticipation
'ZE' = Slip locked on base
'ZF' = Contingency System - slip amount greater than reference
'ZG' = Contingency System - overdue slip
'ZH' = Contingency System - indexed slip
'ZI' = Divergent beneficiary
'ZJ' = Partial payment limit exceeded
'ZK' = Slip already paid
Translation No. 001 BB Particularities - CNAB240 Page No. 28 on August 2018