---
app: erp
audience:
  - owner
  - admin
ui_only: false
agent_actions: []
agent_examples:
  - can Bakulai match bank transfers to invoices automatically?
  - how do I import my bank statement?
  - set up Moota with Bakulai
llm_weight: normal
title: Automatic bank reconciliation
description: Your bank mutations arrive by themselves, get matched to invoices
  by the Kode Bayar and the amount, and post — certain ones on their own,
  doubtful ones after your yes.
editUrl: true
head: []
template: doc
sidebar:
  order: 3
  hidden: false
  attrs: {}
pagefind: true
draft: false
---

import { Steps, Aside } from "@astrojs/starlight/components";
import { PlanBadge, Shot } from "@components";

<PlanBadge variant="block" />

**Who this is for:** an owner or bookkeeper who spends an hour a day matching transfers to invoices.

## How it works

1. Mutations enter Bakulai as **Bank Transactions** — from Moota, from a statement file you upload, or from your bank's notification emails.
2. The matching engine looks for the **[Kode Bayar](/erp/basics/document-numbers/)** in the transfer note, then the amount, the payer's name, the date window and your own rules.
3. What is certain is posted as a Payment Entry and reconciled. What is doubtful is only **suggested** and waits for you. Bank charges, interest and tax on interest are booked by rule; card and QRIS payouts are split into the net amount, the fee and the gross.

## Get the mutations in

<Steps>

1. Search for **Bakulai Bank Feed** and add one per bank account.

2. Pick the **Provider**:
   - **Moota** — paste the API token from your own Moota account and the account id. Mutations then arrive every few minutes.
   - **Manual** — no token; you upload a statement file whenever you like (CSV or XLSX from BCA, Mandiri, BRI or BNI).
   - **Email** (beta) — point it at the mailbox that receives your bank's notifications and list the sender addresses you trust.

3. Set **Initial Backfill (days)**, tick **Enabled**, save. **Last Synced At**, **Last Imported** and **Last Error** on the same form tell you whether it is working.

</Steps>

## Decide how much it may do alone

Search for **Bakulai Reconciliation Settings** (one document per company — the first time, press **+ Add**):

- **Mode** — *Auto*: certain matches post by themselves. *Confirm*: everything waits for your approval.
- **Accounts** — which account to book bank charges, interest income, rounding and payout fees to.
- **Rules** — a text pattern plus what to do with it: book to an account (*Journal*), treat it as a customer or supplier payment (*Party*), *Ignore* it, or treat it as a card/QRIS *Settlement* with a fee percentage. Bakulai seeds the usual Indonesian ones (BIAYA ADM, BUNGA, PAJAK BUNGA) and learns from what you approve.

## Approve what it asks

- **Every morning at 8**, one email lists up to ten questions with an **Approve** / **Not this one** link for each. The links are signed and valid for seven days.
- **In the Desk**, open **Bank Transaction**: the list has a *Pending reconciliation* button, and each transaction has **Approve**, **Reject**, **Match manually**, **Re-evaluate** and **Undo**.

<Shot src="erp/money/bank-transactions.jpg" alt="The Bank Transaction list with the Pending reconciliation button" />
- **From your phone**, [Bakulai Agent](/agent/) can ask you on WhatsApp or Telegram.

Every decision is written to a **Bakulai Reconciliation Log** with the score and the reason, and an automatic posting can always be undone.

<Aside type="caution" title="The Kode Bayar is what makes this work">
  Ask customers to put the six digits in the transfer note. Without it, a transfer of a round amount from an unknown name can only be a suggestion, never a certainty.
</Aside>

## Troubleshooting

- **Nothing arrives** — check *Enabled*, the token, and **Last Error** on the feed.
- **Everything ends up as a question** — the mode is *Confirm*, or the notes carry no code and several invoices share the amount.
- **A payment was matched to the wrong invoice** — open the Bank Transaction and press **Undo**, then **Match manually**.
- **Duplicate mutations after an upload** — they are de-duplicated per source; the same file uploaded twice adds nothing.

## Related

[Document numbers and the Kode Bayar](/erp/basics/document-numbers/) · [Expenses and cash](/erp/money/expenses-and-cash/)