InfraLoka AcademyPathwayAI
PathwayAI

Module 1 · Start safely

Financial data that stays out of the model

5 min read6 min readReviewed 26 October 2026

In short

Account numbers, tax and national ids, payroll, customer and vendor data and unreleased results stay out of general AI services. Send structure and made-up samples; work on real data in your organisation's approved tool.

After this lesson you can

  • Name the financial data kept out of general AI services: accounts, tax and national ids, payroll, client and vendor data, unreleased results
  • Turn a request for finance help into a version that carries only structure, column names and made-up samples
  • Decide when a piece of finance work may only be done in the organisation's approved tool

Terms in this lesson

Understand

Finance work is full of data that is valuable to the wrong people. One bank statement holds account numbers, the names of payers and payees, and your organisation's payment patterns. One payroll list holds each person's pay. One unreleased profit and loss statement can move decisions by people outside the organisation. So before you use AI for finance work, first set what never goes into a general AI service, meaning a service you open with a personal or free account that is not covered by your organisation's contract.

The basic list is short and easy to remember:

  • Bank account and card numbers, belonging to the organisation, staff, customers or vendors.
  • Tax ids (NPWP) and national ids (NIK), including those printed on invoices, withholding slips or vendor registration forms.
  • Payroll data: pay per person, deductions, allowances and each employee's income tax detail.
  • Customer and vendor financial data: receivable balances per customer, payment history, contract prices, credit limits.
  • Unreleased results: monthly reports, projections, budgets and performance figures before they are approved and announced.
  • Passwords, internet banking access codes and one-time codes from SMS, an app or a bank security device, in any form.

Part of this list is personal data, such as pay, national ids and accounts held by people. Its protection is governed by the PDP Law (UU PDP), explained in the PDP Law basics lesson. Part of it is not personal data but an organisational secret: a vendor's contract price or this month's profit. Both follow the same rule here: they stay out of general services.

The good news is that almost all useful AI help for finance work needs no real data. The model does not need an account number to suggest how to match bank lines with the cash book. It only needs the structure: column names, date format, the kinds of transactions that usually appear, and two or three made-up sample rows. Nor does it need anyone's pay to write an overtime recap formula or a draft notice about a change to the payroll schedule.

So make three moves a habit before pasting anything:

  • Replace real data with structure. Write "column A date, column B description, column C debit, column D credit" instead of pasting the statement.
  • Make made-up samples. An invented vendor such as "PT Contoh Jaya", codes such as INV-0142, round figures that are clearly invented. Made-up samples also make the result easier to check, because you already know the answer.
  • Run it yourself on the real data. The formula, matching steps or template the model gives you, you apply in your organisation's spreadsheet or accounting system, on your computer.

Masking data with initials or removing names is often not enough. Unique amounts, dates and transfer descriptions can identify the person or vendor. How to mask properly, including the difference between pseudonymisation and anonymisation, is in the masking data lesson.

Some work does need real data: summarising a hundred vendor invoices, matching thousands of statement lines, or reading a contract with prices. For such work the question is not "may I use AI or not" but "in which tool". An approved tool is one your organisation chose and governs: a contract covers how data is stored and used, settings prevent the data from training the model, and someone is responsible for it. If no such tool exists yet, work with real data is done without AI for now, or with AI only on structure and made-up samples.

Ask three things before using any tool for real data: who approved this tool for financial data, where the data is processed and how long it is kept, and who can see the chats or files you upload. If you cannot answer all three, treat the tool as a general service.

Worked example

Before

The prompt

Here is the September bank statement, please match it with our cash book and find the differences. [pasted full statement: account number, payer and payee names, transfer descriptions, balances]

What came back

Example of bad output; figures and references invented by the model, do not use: I found 4 differences. A customer transfer on the 14th of Rp 12,400,000 is not in the cash book, and a bank fee of Rp 15,000 has not been booked...

After

The prompt

Goal: I need working steps to match bank statement lines with the cash book in a spreadsheet, which I will run myself. Reader: me, the finance staff member who does the monthly reconciliation. Material: the statement has columns Date, Description, Debit, Credit, Balance. The cash book has Date, Voucher No, Narrative, In, Out. Made-up sample: 05/09 | TRF IN PT CONTOH JAYA | 0 | 2,500,000 and 05/09 | BKM-017 | Settlement INV-0142 | 2,500,000 | 0. Limits: do not guess real data; steps and formulas only. Shape: numbered steps, a formula for the matching key, and a list of the usual kinds of difference. Check: show how to make sure each line is matched only once.

What came back

1. Align the date and amount formats in both tables. 2. Build a key column in both: date and net amount joined. Statement: =TEXT(A2,"yyyymmdd")&"-"&(D2-C2). Cash book: =TEXT(A2,"yyyymmdd")&"-"&(D2-E2). 3. Look up each statement key in the cash book and mark matches. 4. For keys that appear twice, match by hand using the description. 5. Group what is left: deposits in transit, uncashed cheques, bank charges, recording errors. Check: count matched rows on both sides; the counts must be equal, except one-to-many pairs such as a combined deposit; for those, compare the totals too.

What changed

  • The first version sends account numbers, counterparties and balances to a general service, then gets figures that cannot be checked without redoing everything.
  • The second carries only column names and two made-up rows, and the result is steps you run yourself on the real data.
  • The Check line asks for a way to prove no double matching, so you know what to inspect.

Common mistake

Mistake
Replacing vendor names with initials, then pasting the full payables list with amounts, dates and invoice numbers.
Why it hurts
Unique amounts, dates and invoice numbers can still identify the vendor and its contract price. The data is still an organisational secret, and it left the moment it was sent.
Do this instead
Send only the column structure and two or three invented rows with round figures. Ask for a formula or steps, then run them on the real list in your spreadsheet.

Try

Sorting card

Sort: may this go to a general AI service, or not?

  1. Per-employee payroll recap to check a PPh 21 (employee income tax) formula

  2. A general question on cash versus accrual

  3. A vendor registration form with tax id and account

  4. Last month's bank statement as a PDF

  5. This month's profit, not yet approved by the board

  6. Cash book column names and two made-up rows

6 cards left

Your manager wants a hundred vendor invoices summarised by due date. Your organisation has no approved AI tool yet. What is the right step?

Take home

Before pasting anything into AI

  • Is there any account, card, tax id or national id number? If so, remove it or replace it with structure.
  • Is there pay or deductions per person? If so, use made-up samples.
  • Are there customer or vendor balances, prices or payment history? If so, do not send.
  • Has this figure been approved and released? If not, do not send.
  • Is this tool approved by the organisation for financial data? If unsure, treat it as a general service.
  • Is what I am asking for a formula, steps or a template I can run myself?

What went wrong for us

How we work

Raw bank statements and ledgers stay out of general AI services

Context
The apps we build and run hold our customers' financial data: bills, payments and destination accounts. When the team uses AI to write formulas, reports or code around that data, the easiest temptation is to paste a sample of real data so the model "understands".
What tends to go wrong
This is a rule we keep. Bank statements, ledgers, bill lists and database exports holding real financial data are never pasted into a general AI service. What goes to the model is column names, formats and made-up sample rows.
What it costs if ignored
Financial data holds accounts, identities and payment patterns of people and organisations. Once sent, it cannot be pulled back, and deleting the chat does not undo the sending.
Root cause
A real data sample feels faster and more accurate than making an invented one, and the risk is invisible at that moment.
How we do it
We keep made-up samples ready for each kind of data we often use, so there is no reason to reach for real data. Work that truly needs real data is done in an environment we control.
The rule we keep
Before sending anything to a model, we ask: is this structure, or data? If it is data, it is not sent.

The lessonGive the model structure and made-up samples; real financial data stays where it is.

What it means for your workKeep one file of made-up samples for your bank statement, cash book and bill list, and use it every time you ask AI for help.