Skip to main content

CNAB 500 layout — settlement

Layout of the settlement remittance file in CNAB 500. It accepts only two occurrences, both paid by the drawee: settlement (77) and partial payment (14). For a rebate, repurchase by the assignor or extension, use the CNAB 444 or the CSV.

Where this file is used

In the flow described in Settlement by file.

Step by step​

  1. Start the header with 01REMESSA01 and fill in the file date (95–100).
  2. For each settlement, fill in the participant control number, the amount paid, the occurrence, the document number, the maturity and the species.
  3. Start the trailer with 9 followed by 6 spaces.
  4. Check that every line, including the header and the trailer, has 500 characters.

Filling rules​

RuleDetail
LengthEvery line has 500 characters, not counting the line break
Header and trailerThe header starts with 01REMESSA01 and the trailer with 9 followed by 6 spaces
Line breakCRLF or LF, with no blank line after the trailer
EncodingUTF-8 or Latin-1 (Windows-1252)
Amounts2 implied decimal places: 0000104590 = 1,045.90
Fields not listedFree. Use spaces
PositionLen.FieldReq.Accepted content
001–01111PrefixYes01REMESSA01
012–09483Service, originator and bankNoFree. E.g.: COBRANCA + spaces
095–1006File dateYesValid DDMMAA (day, month, 2-digit year)
101–494394FreeNoSpaces
495–5006Record sequence numberYesE.g.: 000001

Detail​

PositionLen.FieldReq.Accepted content
0011Record identificationYes1
038–06225Participant control numberYesIdentifier of the asset (credit rights) or of the installment (CCB, commercial paper and contracts), the same as in the assignment. Cannot be blank
083–09210Amount paidYesDigits only, 2 implied decimal places
109–1102OccurrenceYes77 settlement or 14 partial payment
111–12010Document numberYesContract number (CCB, commercial paper and contracts). Cannot be blank, not even for credit rights
121–1266MaturityYesValid DDMMAA. It does not change the settlement date
148–1492SpeciesYesSee Species
495–5006Record sequence numberYesDigits only

Trailer​

PositionLen.FieldReq.Accepted content
001–0077PrefixYes9 + 6 spaces
008–495488FreeNoSpaces
496–5005End of the sequence numberYesCannot be blank

Occurrences and identification​

OccurrenceCredit operations, commercial paper and contractsCredit rights
77Settlement of the installmentSettlement of the asset
14Partial payment of the installmentPartial payment of the asset
  • CCB, commercial paper and contracts: the asset is found by the document number (111–120, the contract number) and the installment by the control number (038–062).
  • Credit rights: the asset is found only by the control number (038–062). The document number is required in the file, but is not used.

Species​

SpeciesAsset type
01Duplicata mercantil
14Duplicata de serviços
53CT-e
51, 52, 87Check
02, 06Promissory note
63Discounted contract
65Credit card bill
67Closed-loop card receivable
41, 70, 71, 72, 74, 90 to 95CCB
79, 82Commercial paper
60, 61Installment contract
62Debt acknowledgment

Do not use 99 nor the species 03, 04, 05, 10, 11, 13, 21 and 64: they do not correspond to a portfolio asset type.

Example​

Settlement of the installment CCB-7781-P03 of the contract CCB7781 (77), partial payment of the installment CCB-7781-P04 (14) and settlement of the duplicata DM-000123 (77), identified only by the control number.

baixa_500.rem
01REMESSA01COBRANCA 00000000000000000000FIDC EXEMPLO 000QI DTVM 021226 MX 000001
1 CCB-7781-P03 0000104590 77CCB7781 101226 41 000002
1 CCB-7781-P04 0000050000 14CCB7781 101126 41 000003
1 DM-000123 0000250000 77DM000123 151226 01 000004
9 000005

Download the example.

Errors​

These reject the whole file. The positions in the report start at 0.

MessageHow to fix
Invalid line length. Expected: 500, current length: NPad the line, including the header and the trailer, up to 500 positions
Invalid date format. Expected: 'DDMMAA'Fix the file date in the header
The participant 'control number field' cannot be emptyFill in 038–062
This field only accepts numbersAmount paid (083–092) with digits only
This field accepts these values: ['77', '14']Use 77 or 14
Invalid document numberFill in 111–120
Invalid date format, expected (DDMMAA)Fix the maturity (121–126)
This field accepts these values: [...]Use a species from the table
This field cannot be empty.Fill in the trailer sequence number