Automated bank reconciliation in Brazil is the process in which your system reads the bank statement, finds the receivable or payable behind each credit and debit, and puts only the lines that did not match into a single exception queue. The promise is a daily bank close with no keying. In practice, the result depends on two things the subsidiary controls: the keys that tie each payment to an open item, and the discipline of working the queue the automation leaves behind. For a controller who reports to headquarters, that is the difference between a cash balance you can sign off on at month-end and a list of “unidentified” items that grows every period.
How does automatic bank reconciliation work?
It works in three steps: capture the bank data, match it to open items by rule, and handle what did not match.
The first step is capture. Bank data can arrive as a downloaded file (OFX is a standard statement format offered by many banks), as a collection return file in the CNAB standard (the Brazilian banking layout for payment and collection files), through the bank’s own API, or through Open Finance, the Central Bank-regulated data-sharing framework in which the company authorizes one participating institution to receive data held by another. Our guide to Open Finance and AI bank reconciliation in Brazil covers that route, including its limits. The fewer files someone downloads by hand, the lower the chance of importing the wrong statement, or the same statement twice.
The second step is matching. The system compares each statement line with the open items in accounts receivable and accounts payable, using rules: item identifier, amount, date and counterparty. When a rule finds a single pair, the system clears the item and creates the journal entry.
The third step is the exception queue: everything that found no pair, or more than one. That is where the real work sits, and it is where reconciliation is usually abandoned when nobody owns the task of emptying the queue.
Which payments can be matched automatically?
Mostly the payments that carry a key. Matching on amount and date alone works until the morning two customers pay R$ 1,500.00 each. A reliable rule uses an identifier that was born with the charge and comes back with the payment:
| Payment method | Key that allows the match | Where it usually fails |
|---|---|---|
| Registered boleto (bank payment slip) | Nosso número, the bank’s identification of the item, returned in the collection return file | Payment with interest, discount or abatement: the amount paid differs from the face value |
| Pix (the Central Bank’s instant payment system) with a dynamic QR Code charge | txid, the transaction identifier created for each Pix charge | A customer who pays with the Pix key instead of the QR Code: the payment arrives without the charge’s txid |
| Printed static QR Code (fixed, no amount) | A fixed txid, when one exists, the same for every payment | Many payments carry the same identifier, so only amount and time help |
| Bank transfer or Pix to your Pix key | No structured key: payer name, amount and date | Payment by a third party, or one amount covering several invoices |
| Card (acquirer settlement) | The acquirer’s report, which links each sale to the deposit | The bank shows the net amount of several sales, after fees and, if receivables were advanced, after the advance discount |
The Central Bank’s Pix initiation manual (version 2.10.0, the current one when we checked on November 11, 2026) describes the txid in exactly these terms. For a dynamic QR Code charge, the txid has 26 to 35 characters (letters and digits only) and exists so that the receiver’s bank can offer payment reconciliation, associating the Pix with its charge. The txid must be unique for each receiver’s tax ID (CPF or CNPJ) at a given bank, and it can never be reused, even if the original charge was cancelled or settled. For a static QR Code, the txid is optional and limited to 25 characters.
The manual is also candid about the limits of static codes. The receiver’s bank cannot guarantee that a txid is not repeated on static QR Codes, because they are not generated through the Pix API, so the consistency of those payments is left entirely to the receiver. For the case of a fixed static code with no amount, the manual says reconciliation, if needed, can only be done in a very simplified way, without handling parallel transactions. When the sales system generates a new static QR Code for each sale, with a unique txid, reconciliation has a key again.
The practical conclusion is that how you charge decides how much of the reconciliation can be automatic. Moving a recurring customer from Pix by key to a boleto or a dynamic QR Code often pays off more than changing software. One more detail for the technical team: the Pix API’s webhook, which tells the receiver in real time that a Pix was credited, reports only Pix payments associated with a txid.
Example: the boleto that arrives different
In the hypothetical example below, a customer pays an R$ 8,000.00 boleto late. The bank’s return shows R$ 176.00 of fine and interest and an R$ 2.90 collection fee. In this example the amount paid already includes the surcharges: R$ 8,176.00. If the contract deducts the fee from the credit, the bank account receives R$ 8,173.10.
The return file carries these numbers in separate fields. In the CNAB 240 return layout published by Unicred, for example, the “T” record holds the nosso número, the face value and the fee, while the “U” record holds interest and fine, discount, abatement, IOF collected (the federal tax on financial operations), amount paid, net amount to be credited, the occurrence date and the scheduled credit date. Layouts differ by bank and by collection agreement, so the reconciliation rule should read the separate fields and confirm with the bank how the amount paid and the net amount are built for your portfolio.
A well-configured system uses the nosso número to find the item, applies the receipt to the R$ 8,000.00 receivable, books the R$ 176.00 as financial income and the R$ 2.90 as a bank fee, and the cash entry is R$ 8,173.10 (8,000.00 + 176.00 − 2.90). A poorly configured system searches for an item of R$ 8,173.10, finds nothing, and the receipt lands in the exception queue every month. How the surcharges are classified is a policy decision for your chart of accounts and your group accounting manual.
Dates deserve the same care. The payment date and the date the money becomes available are different fields in the return (the occurrence date and the credit date in the layout above) and may not coincide. Someone who reconciles on the wrong date sees a balance difference that fixes itself one or more days later and loses trust in the process.
What should you still check when everything is automatic?
- Closing balance equals the bank. Every day, the system balance should match the statement balance for the same date. Reconciling every line and still missing the balance points to a duplicated statement, a missing line or a manual entry outside the statement.
- Age of the exceptions. An exception that is more than a few days old becomes a closing problem. An aging list (up to 3 days, up to 15, over 15) shows whether the queue is being worked.
- Matches made on amount only. Sample them, because they are the ones that can settle the wrong customer’s invoice without producing any difference.
- Clearing account. Amounts booked to an “unidentified” account must reach zero at close. A balance that grows month after month is a hidden exception.
- Recurring fees and automatic debits. They become rules once checked, and the rule needs review when the bank contract changes.
- Who changes the rules. The person who creates matching rules should not be the person who approves payments. This is the same segregation of duties we describe in payment fraud controls for a Brazilian subsidiary.
Reconciling receipts depends on the same care at the other end: the payable must be registered with the right document, due date and payee. That is the subject of accounts payable automation in Brazil, from invoice to payment. If your current system neither reads the bank return nor accepts rules, the problem may be the ERP, and the criteria in choosing an ERP for a Brazilian subsidiary are worth applying before you buy a parallel tool.
Frequently asked questions
Does automatic bank reconciliation remove the need for human review?
No. Automation resolves the payments that carry a key and a consistent amount. The exceptions, the matches made on amount alone and the closing balance need a responsible person with a deadline to resolve them.
How often should a subsidiary reconcile its bank accounts?
Daily, or at least before every payment decision. Reconciling only at month-end piles up exceptions, delays the accounting close and undermines the cash forecast that goes to headquarters.
What is the difference between the bank statement and the collection return file?
The statement (OFX, for example) shows what entered and left the account. The CNAB return file, sent by the bank that handles the collection, explains each boleto: the nosso número, the face value, surcharges, discounts, fee and credit date. To settle items safely, the system needs both.
Where should you start?
Split one month of receipts by payment method and count how many arrived with a key (nosso número or txid) and how many without. That number shows the ceiling of automation before any investment. Once the data is reconciled daily, the cash-flow view that headquarters sees is built on balances you have checked: see cash flow management for Brazilian subsidiaries.
How Solidy can help
Solidy already serves subsidiaries of multinational companies in Brazil. Our finance operations team handles routine work such as bank and card reconciliation, integrated with the accounting, and every automation we build goes live with an owner, monitoring and a plan for what happens when something falls outside the pattern.
Talk to Our Finance Operations Team
Related guides
Sources
- Central Bank of Brazil, Pix initiation standards manual (Manual de Padrões para Iniciação do Pix), version 2.10.0: QR Code types (item 2.4), txid in the static QR Code (item 2.6.2), Pix API without static QR Code creation (item 2.6.4), charge payload and txid field (item 2.7.1.1), txid lifecycle (Annex I, items 5.3.1 and 5.3.2), webhook only for Pix with a txid (Annex I, item 5.1, definition IV), and use case of the fixed static QR Code without an amount (Annex I, item 6.1.1). Checked November 11, 2026. bcb.gov.br
- Unicred, Collection beneficiary web, CNAB 240 return layout for boletos (Layout de Retorno de Boletos, CNAB 240 posições): “T” and “U” detail records (nosso número, face value, fee, interest and fine, discount, abatement, amount paid, net amount, occurrence date, scheduled credit date). Last revised March 9, 2023. A bank-specific layout, used here as an example of the standard fields. unicred.com.br
Information only, updated November 2026. The numerical example is hypothetical. Not a substitute for advice on your specific case.

