Settlement file layout


Record 0 - Header

Identifies the header of the Settlement File:

PositionFieldDescriptionSeller ExtractTypeSizeExample
1Record TypeIdentifies the header record type (start of the file).
0 - Header
Yesnumber20
2Layout VersionVersion of the layout used to generate the file.Yesnumber21
3Document NumberDocument number (CNPJ/CPF).Yesalphanumeric140000000000
4Generation DateIndicates the file generation date.Yesdatetime1720220119 09:43:10
5SequenceSequential number of the file.Yesnumber21
6File TypeExtract type.
Example: Settlement File
Yesnumber22
7Minimum Settlement Date*Earliest settlement date of receivables.Yesdate820220118
8Maximum Settlement Date*Latest settlement date of receivables.Yesdate820220118
9Minimum Expected Date*Earliest expected date of receivables settled on the day.Yesdate820220118
10Maximum Expected Date*Latest expected date of receivables settled on the day.Yesdate820220118
11ReprocessedIndicates if the file was generated through the reprocessing flow.Yesnumber10 (False) or 1 (True)

*Not required; may be empty if there is no movement on the day.

Record 1 - Receivable

Identifies the receivable and its settlement:

PositionFieldDescriptionSeller ExtractTypeSizeExample
1Record TypeIndicates the record type.
1 - Receivable
Yesnumber21
2Receivable IdentifierUnique identifier of the Receivable Unit (UR).YesGUID361B917293-8B8D-4180-B2D8-C514A1F8512D
3Expected Settlement DateExpected settlement date.Yesdate820220110
4Product CodeIdentifier of the product type. See https://docs.cielo.com.br/split/docs/tabela-iii-produtosYesnumber21
5Card Brand CodeIdentifier of the card brand or bank. See https://docs.cielo.com.br/split/docs/tabela-iv-bandeirasYesnumber21
6Total UR AmountAccumulated amount of the Receivable Unit.Yesnumber20R$ 10,000.00 = 1000000
7Total Previously Settled AmountTotal amount already settled for the UR in previous files.Yesnumber20R$ 10,000.00 = 1000000
8Settled AmountAmount settled for the UR in the current file.Yesnumber20R$ 10,000.00 = 1000000

Record 2 - Payment Groups

Identifies details of the receivable settlement:

PositionFieldDescriptionSeller ExtractTypeSizeExample
1Record TypeIdentifies the record type.
2 - Payment Group
Yesnumber12
2Settlement TypeIndicates the type of settlement. See Table VIII: https://docs.cielo.com.br/split/docs/tabela-viii-tipos-de-liquida%C3%A7%C3%A3oYesnumber21
3Settlement Status*Indicates the settlement status. See Table X: https://docs.cielo.com.br/split/docs/tabela-x-status-da-liquida%C3%A7%C3%A3oYesnumber21
4Settled Amount*Amount paid for the payment groupYesnumber2R$ 1,000.00 = 100000
5Settlement Date*Date on which the payment occurredYesdate820220118
6ISPB*ISPB code (Brazilian Payment System Identifier) of the bankYesalphanumeric801027058
7CompeCode*COMPE code of the bankYesalphanumeric3362
8Branch Number*Bank branch numberYesalphanumeric153452
9Branch Digit*Bank branch digitYesalphanumeric11
10Account Number*Bank account numberYesalphanumeric20256545
11Account Digit*Bank account digitYesalphanumeric11
12Account Type*Account type. See Table IX: https://docs.cielo.com.br/split/docs/tabela-ix-tipos-de-contasYesalphanumeric23
13Account Holder Name*Name of the account holderYesalphanumeric200ACCOUNT HOLDER NAME
14Account Holder Document Number*Document number of the account holder (CPF or CNPJ)Yesalphanumeric14234
15Beneficiary of Ownership Change**Document number of the beneficiary in case of ownership change (CPF or CNPJ)Yesalphanumeric140000000000
16Contract Protocol Number***Identifier of the protocol effect received from the registrar that informed the ownership changeYesGUID36485BDD77-BA55-4447-AC10-AA38F97CFC49

*Mandatory if the settlement type is different from ownership change.
**Mandatory if the settlement type is ownership change.
***Mandatory if the settlement type is different from Braspag.

Record 3 - Financial Schedule / Transactional Event

Identifies the entries in the financial schedule based on the transactional event:

PositionFieldDescriptionSeller ExtractTypeSizeExample
1Record TypeIndicates the record type.
3 - Financial Schedule
Yesnumber23
2Event IdentifierUnique identifier of the event posted in the financial schedule.YesGUID364717A632-D6C4-4B74-9422-235905D1857D
3Origin IdentifierOriginator identifier of the financial schedule, identifier of the transactional event.YesGUID36D8D26880-7BBB-4761-A2A7-B4C835B4923C
4Establishment IdentifierEstablishment identifier.YesGUID365CB61E99-1B4D-4E7A-886F-6BFB4FF71219
5Document NumberIdentifies the CPF/CNPJ number of the participant.Yesalphanumeric1700000000000
6Installment NumberIdentifies the installment to be settled.Yesnumber210
7Event TypeIdentifies the type of event posted in the financial schedule. See Table VIYesnumber223
8Transactional Event TypeIdentifies the type of transactional event that originated the posting in the schedule.Yesnumber21
9Expected Settlement DateExpected settlement date.Yesnumber8AAAAMMDD
10Net Schedule AmountNet amount to be settled.Yesnumber20R$100,01 = 10001
11Transactional Event IdentifierTransactional event identifier. When it is a transaction, this field is equal to the Transaction Identifier.YesGUID36D6CDD768-CDFE-479A-B090-CD03253EEE2B
12Transactional Event DateDate when the operation occurred. For transactions, represents the authorization date. For others, represents the date of the operation.Yesdatetime1720220119 09:43:10
13Confirmation DateDate when the operation was completed.
Transaction - Capture
Cancellation - Cancellation confirmation.
Yesdate1720220119
14Schedule DateDate when the event was processed in the financial schedule.Yesdatetime1720220119 09:43:10
15Operation AmountOperation amount in cents. Can be positive or negative.Nonumber20R$100,01 = 10001
16Administrative Fee (MDR)Percentage applied to the gross operation amount.Nonumber20R$100,01 = 10001
17Administrative Fee AmountCalculated administrative fee amount in cents on the transactional event.Nonumber20R$100,01 = 10001
18Administrative Tariff (Fee)Fixed fee charged per transaction. Amount charged separately in the financial schedule.Nonumber20R$100,01 = 10001
19Fast Receive Fee AmountAmount deducted for sellers' advance payment by Fast Receive.Nonumber20R$100,01 = 10001
20Boleto TariffFee charged for boleto issued or paid for boleto transactions.Nonumber20R$100,01 = 10001
21Gross Direct Sale AmountGross direct sale amount of the Master, if the Master is a participant selling a product.Nonumber20R$100,01 = 10001
22Direct Sale Administrative Fee Amount**Calculated administrative fee amount, in cents, on direct sale.Nonumber20R$100,01 = 10001
23Net Direct Sale AmountNet direct sale amount.Nonumber20R$100,01 = 10001
24Gross Commission AmountGross commission amount received by the Master.Nonumber20R$100,01 = 10001
25Commission Administrative Fee AmountCalculated administrative fee amount, in cents, on commission, including Fast Receive fee.Nonumber20R$100,01 = 10001
26Net Commission AmountNet commission amount received from sellers.Nonumber20R$100,01 = 10001
27Transaction IdentifierTransaction identifier.YesGUID36D6CDD768-CDFE-479A-B090-CD03253EEE2B
28Authorization DateSale date.Yesdatetime1720220119 09:43:10
29Adjustment CodeCode identifying the financial adjustment posted in the schedule. See Table VIIYesalphanumeric4A001
30Capture DateTransaction confirmation date.Yesdate820220119
31Transaction AmountTransaction amount in cents.Yesnumber20R$100,01 = 10001
32Product CodeCode identifying the product. See Table IIIYesnumber22
33Brand CodeCode identifying the brand or bank. See Table IVYesnumber21
34Authorization CodeTransaction authorization code. This number is not unique and may repeat.Yesalphanumeric10251411
35NSU/DOCSequential transaction number, also known as DOC (document number), identifying the transaction on the day it occurred. Not unique and may repeat.Yesalphanumeric8053181
36Total InstallmentsTotal transaction installments.Yesnumber210
37Order NumberOrder number provided by the establishment in the transaction.Yesnumber501234567891011
38Truncated Card NumberTruncated card number used for the purchase.Yesalphanumeric19111111*******1111
39Acquirer Transaction IdentifierTransaction identifier at the acquirer for e-commerce transactions (TID).Yesalphanumeric2099999999111Q1A2A3A4A
40Terminal Logical NumberLogical terminal number where the transaction occurred.Yesalphanumeric5099999999
41Capture MethodMethod by which the transaction was captured. See Table VYesnumber21
42Commission IndicatorIndicates if the schedule entry refers to the Master's commission.
0 - No;
1 - Yes
Nonumber10
43EndToEndPix end-to-end codeYesstring36S3187249520241212151562W9Qb1L1us
⚠️

Attention

Fields from position 11 to 41 will not be displayed if the Event Type is equal to 41, 42, or 43.

Record 4 - Balance Adjustment

PositionFieldDescriptionSeller ExtractTypeSizeExample
1Record TypeIndicates the record type.
4 - Balance Adjustment
Yesnumber24
2Position DateDate of the negative balance position.Yesdate820220119
3Product CodeCode identifying the product. See Table IIIYesnumber21
4Brand CodeCode identifying the brand or bank. See Table IVYesnumber21
5Initial ValueInitial value of the negative balance.Yesnumber20R$100,01 = 10001
6Posted ValueValue posted in the balancing process.Yesnumber20R$100,01 = 10001
7Final ValueFinal value of the negative balance after balancing.Yesnumber20R$100,01 = 10001

Record 5 - Balance Adjustment by Establishment

PositionFieldDescriptionSeller ExtractTypeSizeExample
1Record TypeIndicates the record type.
5 - Balance Adjustment by Establishment
Yesnumber25
2Establishment IdentifierIdentifies the establishment.YesGUID365CB61E99-1B4D-4E7A-886F-6BFB4FF71219
3Initial ValueInitial value of the negative balance.Yesnumber20R$100,01 = 10001
4Posted ValueValue posted in the balancing process.Yesnumber20R$100,01 = 10001
5Final ValueFinal value of the negative balance after balancing.Yesnumber20R$100,01 = 10001

Record 6 - Pix Transfer

PositionFieldDescriptionSeller ExtractTypeSizeExample
1Record TypeIdentifies the record type.
6 – Pix Transfers
Yesnumber26
2Transfer IDTransaction identificationYesGUID361B9172938B8D-4180-B2D8C514A1F8512D
3Expected DateExpected settlement dateYesdate820001121
4Product CodeCode identifying the product. See Table IIIYesnumber24
5Brand CodeCode identifying the brand or bank. See Table IVYesnumber227
6Total ValueTotal transfer valueYesnumberR$100,01 = 10001
7StatusTransfer status. See Table XIYesnumber1
8Settlement DateSettlement dateYesnumber820001121
9ISPBISPB code (Brazilian Payment System Identifier) of the bankYesalphanumeric801027058
10Bank NameBank nameYesalphanumeric200ITAU
11CompeCodeCOMPE code of the bank.Yesalphanumeric3362
12Branch NumberBank branch number.Yesalphanumeric153452
13Branch DigitBank branch digit.Yesalphanumeric11
14Account NumberBank account number.Yesalphanumeric20256545
15Account DigitAccount digit.Yesalphanumeric11
16Account TypeAccount type. See Table IXYesalphanumeric23
17Merchant IDMerchant IDYesGUID361B9172938B8D-4180-B2D8C514A1F8512D
18Trade NameTrade name of the account holderYesalphanumeric50
19Account Holder Document NumberDocument number of the account holder (CPF or CNPJ).Yesalphanumeric14234

Record 9 - Footer

PositionFieldDescriptionSeller ExtractTypeSizeExample
1Record TypeIndicates the record type.
9 - Footer (End of file)
Yesnumber29
2Record CountNumber of records in the file excluding the header and footer.Yesnumber201000