# Match bank payments to invoices and keep the Excel statement of account in step.

> Plain-text copy of https://workflowlab.sg/demos/payment-soa-desk/ for AI assistants and readers. Same content as the web page.

Sample desk · Custom Ops Desks

This is the Bank Remittance to Excel SOA Matching Desk, a sample demo. It reads each bank advice line and proposes the open invoices that the payment clears. An accounts clerk confirms, and the statement of account (SOA) updates.

- Open the desk: go to the section "Try the desk" below.
- How the matching decides: go to the section "How the matching decides" below.

## Try the desk

Sample data: all companies, people, numbers and documents on this page are sample data. Sample date: 1 Dec 2026. The button "Reset sample data" restores the start state.

The web page holds an interactive desk. It runs in the browser on sample data. This section describes each screen, each action and the sample data.

### Stats row

The top row shows 4 figures. They change after each action.

| Figure | Value at the start |
|---|---|
| Payments to review | Clear 3, Likely 4, Needs you 5 |
| Total received | S$38,983.50 |
| Total allocated | S$0.00 |
| Total unallocated | S$38,983.50 |

### Screen 1: Bank advice

The left side lists the 12 bank advice lines. Filter chips show the count for each lane: All, Clear, Likely, Needs you and Applied. The right side is the working area for the selected payment. It shows the lane, the reason line with the arithmetic, the customer, and that customer's open items with tick boxes.

The 12 sample payments, with the lane and the reason line that the desk shows at the start:

| Bank advice line | Date | Payer name as the bank printed it | Reference | Amount | Lane | Reason |
|---|---|---|---|---|---|---|
| S-ADV-0901 | 24 Nov 2026 | EXAMPLE HARDWARE PTE LTD | INV S-INV-1042 S-INV-1047 LESS CN S-CN-0031 | S$4,320.00 | Clear | The reference names these documents and the amounts agree: S$4,320.00 = S-INV-1042 (S$2,820.00) + S-INV-1047 (S$1,800.00) − S-CN-0031 (S$300.00). |
| S-ADV-0902 | 24 Nov 2026 | SAMPLE MARINE SUPPLIES PTE. LTD. | S-INV-1038 / 1044 | S$6,675.80 | Clear | The reference names these documents and the amounts agree: S$6,675.80 = S-INV-1038 (S$5,400.00) + S-INV-1044 (S$1,275.80). |
| S-ADV-0903 | 25 Nov 2026 | SAMPLE BUILDERS PTE LTD | S-INV-1036 | S$7,000.00 | Needs you | Short payment. The reference names S-INV-1036 (S$7,850.00). The payment is S$7,000.00. S$7,850.00 − S$7,000.00 = S$850.00 short. |
| S-ADV-0904 | 25 Nov 2026 | EXAMPLE CAFE GROUP PTE LTD | OCT INVOICE | S$1,460.00 | Needs you | No invoice number in the reference. More than 1 combination of open items equals the payment: S$1,460.00 = S-INV-1049 (S$1,460.00), or S$1,460.00 = S-INV-1056 (S$1,460.00). |
| S-ADV-0905 | 26 Nov 2026 | EXAMPLE PRINT SHOP | TRF | S$748.20 | Clear | No invoice number in the reference. Exactly 1 open invoice of this customer equals the payment: S$748.20 = S-INV-1062 (S$748.20). |
| S-ADV-0906 | 26 Nov 2026 | SAMPLE MARINE SUPPLIES PTE LTD | (none) | S$2,620.00 | Likely | No invoice number in the reference. Exactly 1 combination of open items equals the payment: S$2,620.00 = S-INV-1058 (S$640.00) + S-INV-1063 (S$1,980.00). |
| S-ADV-0907 | 27 Nov 2026 | SAMPLE BUILDER PTE LTD | (none) | S$3,300.00 | Likely | The bank printed “SAMPLE BUILDER PTE LTD”. That name is close to Sample Builders Pte Ltd. No invoice number in the reference. Exactly 1 open invoice of this customer equals the payment: S$3,300.00 = S-INV-1045 (S$3,300.00). Confirm the customer. |
| S-ADV-0908 | 27 Nov 2026 | EXAMPLE HARDWARE PTE LTD | PAYMENT S-INV-1019 | S$1,250.00 | Needs you | Possible double payment. The reference names S-INV-1019, which is already paid in full. The payment is S$1,250.00. |
| S-ADV-0909 | 30 Nov 2026 | EXAMPLE CAFE GROUP PTE LTD | S-INV-1060 LESS CREDIT | S$2,220.00 | Likely | The reference names only S-INV-1060 (S$2,340.00). Exactly 1 combination of open items equals the payment: S$2,220.00 = S-INV-1060 (S$2,340.00) − S-CN-0034 (S$120.00). |
| S-ADV-0910 | 30 Nov 2026 | EXAMPLE PRINT SHOP | SINV1041 & 1053 | S$2,600.00 | Needs you | Overpayment. The reference names S-INV-1041 (S$560.00) + S-INV-1053 (S$1,935.00) = S$2,495.00. The payment is S$2,600.00. S$2,600.00 − S$2,495.00 = S$105.00 over. |
| S-ADV-0911 | 1 Dec 2026 | SAMPLE HOLDINGS 88 | PAYMENT NOV | S$2,675.00 | Needs you | Unknown payer. “SAMPLE HOLDINGS 88” is not in the customer list. Pick the customer. |
| S-ADV-0912 | 1 Dec 2026 | EXAMPLE HARDWARE PTE LTD | (none) | S$4,114.50 | Likely | No invoice number in the reference. Exactly 1 combination of open items equals the payment: S$4,114.50 = S-INV-1055 (S$964.50) + S-INV-1061 (S$3,150.00). |

Actions on this screen:

- **Apply (Clear lane).** One click applies the payment to the invoices that the desk proposes.
- **Apply all Clear.** One click applies each payment in the Clear lane. The desk checks each payment again just before it applies it. At the start, this applies S-ADV-0901, S-ADV-0902 and S-ADV-0905, and the total allocated becomes S$11,744.00.
- **Confirm (Likely lane).** The desk shows the proposed invoices ticked. The accounts clerk can change the ticks. The totals "Allocated" and "Unallocated" change at once. "Confirm" works only when the unallocated amount is S$0.00, or when the clerk ticks "Keep the rest on account".
- **Apply allocation (Needs you lane).** The accounts clerk picks the customer if the payer is unknown. The clerk ticks invoices, or enters a smaller amount to part-pay one invoice. The clerk can tick a credit note to apply it.
- **Keep the rest on account.** The money that is not allocated stays on the customer's account as an unapplied credit.
- **Leave unallocated with a note.** The payment leaves the review lanes with a note for the next person. No statement changes.
- **Undo.** Each applied payment shows in the list "Applied in this session" with an "Undo" button. Undo puts the statement back as it was.

What an applied payment changes:

- An invoice becomes Paid, or Part-paid with the paid amount and the balance.
- A credit note becomes Used.
- The customer balance and the ageing groups change at once.
- The desk checks the open payments again. An invoice that is paid is not offered to a second payment.

Example of a part-payment: S-ADV-0903 pays S$7,000.00 against S-INV-1036 (S$7,850.00). After the accounts clerk applies it, S-INV-1036 is Part-paid: S$7,000.00 paid, S$850.00 balance. The total due of Sample Builders Pte Ltd goes from S$18,980.60 to S$11,980.60.

### Screen 2: Statement preview

The accounts clerk picks a customer and sees the statement of account as it would print.

- Header: Example Trading (sample company), the customer, and the statement date (the sample date, 1 Dec 2026).
- Table columns: Date, Document, Description, Debit, Credit, Balance (a running balance) and Status.
- Rows that changed in this session have a highlight and the words "Changed in this session".
- Ageing summary: Current, 1–30 days, 31–60 days, 61+ days, Unapplied credits and Total due.
- "Download statement (CSV for Excel)" exports the statement that is on the screen. The header row is: Date, Document, Description, Debit, Credit, Balance, Status.
- "Download all open items (CSV)" exports the open items of all 5 customers. The header row is: Customer, Document, Type, Date, Due date, Original amount, Paid, Open balance, Days overdue, Ageing bucket.

The browser makes each file. No file leaves the browser.

### Sample data: 22 open invoices

Each invoice is due 30 days after its date.

| Customer | Document | Date | Due date | Amount | Days overdue on 1 Dec 2026 |
|---|---|---|---|---|---|
| Example Hardware Pte Ltd | S-INV-1042 | 2 Oct 2026 | 1 Nov 2026 | S$2,820.00 | 30 |
| Example Hardware Pte Ltd | S-INV-1047 | 15 Oct 2026 | 14 Nov 2026 | S$1,800.00 | 17 |
| Example Hardware Pte Ltd | S-INV-1055 | 3 Nov 2026 | 3 Dec 2026 | S$964.50 | Not overdue |
| Example Hardware Pte Ltd | S-INV-1061 | 16 Nov 2026 | 16 Dec 2026 | S$3,150.00 | Not overdue |
| Sample Marine Supplies Pte Ltd | S-INV-1038 | 14 Sep 2026 | 14 Oct 2026 | S$5,400.00 | 48 |
| Sample Marine Supplies Pte Ltd | S-INV-1044 | 8 Oct 2026 | 7 Nov 2026 | S$1,275.80 | 24 |
| Sample Marine Supplies Pte Ltd | S-INV-1052 | 27 Oct 2026 | 26 Nov 2026 | S$2,210.00 | 5 |
| Sample Marine Supplies Pte Ltd | S-INV-1058 | 9 Nov 2026 | 9 Dec 2026 | S$640.00 | Not overdue |
| Sample Marine Supplies Pte Ltd | S-INV-1063 | 20 Nov 2026 | 20 Dec 2026 | S$1,980.00 | Not overdue |
| Example Cafe Group Pte Ltd | S-INV-1040 | 22 Sep 2026 | 22 Oct 2026 | S$915.00 | 40 |
| Example Cafe Group Pte Ltd | S-INV-1049 | 20 Oct 2026 | 19 Nov 2026 | S$1,460.00 | 12 |
| Example Cafe Group Pte Ltd | S-INV-1056 | 5 Nov 2026 | 5 Dec 2026 | S$1,460.00 | Not overdue |
| Example Cafe Group Pte Ltd | S-INV-1060 | 13 Nov 2026 | 13 Dec 2026 | S$2,340.00 | Not overdue |
| Sample Builders Pte Ltd | S-INV-1036 | 28 Aug 2026 | 27 Sep 2026 | S$7,850.00 | 65 |
| Sample Builders Pte Ltd | S-INV-1045 | 12 Oct 2026 | 11 Nov 2026 | S$3,300.00 | 20 |
| Sample Builders Pte Ltd | S-INV-1051 | 23 Oct 2026 | 22 Nov 2026 | S$1,125.60 | 9 |
| Sample Builders Pte Ltd | S-INV-1059 | 11 Nov 2026 | 11 Dec 2026 | S$4,480.00 | Not overdue |
| Sample Builders Pte Ltd | S-INV-1064 | 23 Nov 2026 | 23 Dec 2026 | S$2,675.00 | Not overdue |
| Example Print Shop | S-INV-1041 | 25 Sep 2026 | 25 Oct 2026 | S$560.00 | 37 |
| Example Print Shop | S-INV-1053 | 29 Oct 2026 | 28 Nov 2026 | S$1,935.00 | 3 |
| Example Print Shop | S-INV-1062 | 18 Nov 2026 | 18 Dec 2026 | S$748.20 | Not overdue |
| Example Print Shop | S-INV-1065 | 25 Nov 2026 | 25 Dec 2026 | S$1,290.00 | Not overdue |

One more invoice is already paid: S-INV-1019 of Example Hardware Pte Ltd, S$1,250.00, paid by receipt S-RCPT-0412 on 21 Sep 2026. Payment S-ADV-0908 names this invoice, so the desk reports a possible double payment.

### Sample data: 3 open credit notes

| Customer | Credit note | Date | Amount |
|---|---|---|---|
| Example Hardware Pte Ltd | S-CN-0031 | 28 Oct 2026 | −S$300.00 |
| Example Cafe Group Pte Ltd | S-CN-0034 | 10 Nov 2026 | −S$120.00 |
| Sample Builders Pte Ltd | S-CN-0036 | 18 Nov 2026 | −S$450.00 |

### Sample data: ageing at the start, on 1 Dec 2026

| Customer | Current | 1–30 days | 31–60 days | 61+ days | Unapplied credits | Total due |
|---|---|---|---|---|---|---|
| Example Hardware Pte Ltd | S$4,114.50 | S$4,620.00 | S$0.00 | S$0.00 | −S$300.00 | S$8,434.50 |
| Sample Marine Supplies Pte Ltd | S$2,620.00 | S$3,485.80 | S$5,400.00 | S$0.00 | S$0.00 | S$11,505.80 |
| Example Cafe Group Pte Ltd | S$3,800.00 | S$1,460.00 | S$915.00 | S$0.00 | −S$120.00 | S$6,055.00 |
| Sample Builders Pte Ltd | S$7,155.00 | S$4,425.60 | S$0.00 | S$7,850.00 | −S$450.00 | S$18,980.60 |
| Example Print Shop | S$2,038.20 | S$1,935.00 | S$560.00 | S$0.00 | S$0.00 | S$4,533.20 |

Total due of the 5 customers at the start: S$49,509.10.

## What this demo shows

| Lane | When | What the accounts clerk does |
|---|---|---|
| Clear | The payer is a known customer. The reference names invoices, and their open amounts, less any named credit note, equal the payment exactly. Or there is no invoice number, and exactly 1 open invoice of that customer equals the payment. | Clicks “Apply”, or clicks “Apply all Clear” for the whole lane. |
| Likely | The payer is a known customer and exactly 1 combination of open invoices, less at most 1 credit note, equals the payment. The reference is missing or names only part of it. Or the payer name is a close variant of 1 customer and exactly 1 invoice fits. | Checks the ticked invoices, changes the ticks if needed, and clicks “Confirm”. |
| Needs you | All other payments: a short payment, an overpayment, more than 1 possible combination, an unknown payer, or a reference to an invoice that is already paid. | Picks the customer, ticks invoices, part-pays an invoice, applies a credit note, keeps money on account, or leaves the payment unallocated with a note. |

Example Trading (sample company) sells on credit. Its customers pay by bank transfer. One transfer often pays several invoices. Some transfers are short, and some have no reference.

Today, an accounts clerk reads each bank remittance advice and ticks invoices in an Excel statement of account by hand. The desk does the reading and the arithmetic. The clerk makes each decision.

- **Bank advice lines:** 12 incoming payments, dated 24 Nov 2026 to 1 Dec 2026. At the start, 3 are Clear, 4 are Likely and 5 are Needs you.
- **Customers:** 5 sample customers with 22 open invoices and 3 open credit notes.
- **Each payment:** The desk shows the lane and one reason line with the arithmetic.
- **Statement of account:** Each applied payment updates the statement at once: Paid, Part-paid, Used, the customer balance and the ageing.
- **Ageing:** 4 groups by days overdue on the sample date: Current, 1–30 days, 31–60 days and 61+ days.
- **Excel:** The statement and the list of all open items download as CSV files that Excel opens.
- **Undo:** Each applied payment has an “Undo” button. Undo puts the statement back as it was.

This demo runs in your browser. It sends no data to a server. Reload the page or click “Reset sample data” to start again.

## How the matching decides

1. **Read the bank advice line.** The desk reads the date, the payer name as the bank printed it, the reference text and the amount.
2. **Find the customer.** The desk compares the payer name with the customer list. It ignores capital letters, punctuation and the “PTE LTD” suffix. A name that differs by 1 or 2 letters is a close variant.
3. **Read the reference.** The desk finds invoice numbers and credit note numbers in the reference text, also when the text is untidy.
4. **Do the arithmetic.** The desk adds the open amounts of the named invoices and subtracts a named credit note. If the reference names no invoice, the desk looks for combinations of that customer's open invoices that equal the payment. A combination can subtract at most 1 credit note. The desk compares amounts to the cent.
5. **Choose the lane.** A payment is Clear when the documents named in the reference equal the payment exactly. It is also Clear when the reference names no invoice and exactly 1 open invoice equals the payment. A payment is Likely when exactly 1 combination of open invoices equals the payment. It is also Likely when the payer name is a close variant and exactly 1 invoice fits. All other payments go to Needs you with the reason.
6. **Wait for a person.** The statement changes only when the accounts clerk applies a payment. After each change, the desk checks the open payments again. An invoice that is paid is not offered to a second payment.

## What a real desk would add

- **Your bank's advice format.** This demo starts from 12 typed sample lines. A real desk reads the remittance advice file or report that your bank gives you.
- **Your own SOA workbook layout.** This demo shows one sample layout. A real desk keeps the columns and the layout of your own Excel statement of account.
- **Your credit-note rules.** This demo applies at most 1 credit note to a payment. A real desk follows your own rules for credit notes, part-payments and money on account.

These 3 items are agreed in the fixed scope. You get one written scope with one fixed price before any build starts.

What this desk does not do:

- The desk does not move money. It does not connect to a bank account.
- The desk does not apply a payment alone. A person applies each payment.
- The desk does not guess. If more than 1 answer is possible, the payment goes to Needs you.

This demo uses sample data only. It shows the kind of desk WorkflowLab builds. Read about Custom Ops Desks: https://workflowlab.sg/custom-desks/ (plain text: https://workflowlab.sg/custom-desks.md)

## Questions about payment matching

**How does the desk match one bank payment to several invoices?**

The desk reads the reference on the bank advice line. If the reference names invoices, the desk adds their open amounts and compares the total with the payment. If the reference names no invoice, the desk looks for one combination of that customer's open invoices that equals the payment exactly.

**What happens when a customer pays less than the invoice amount?**

The payment goes to the Needs you lane with the short amount in the reason line. The accounts clerk part-pays the invoice. The statement of account then shows the invoice as Part-paid, with the paid amount and the balance.

**What happens when a bank payment has no reference?**

The desk uses the amount. If exactly 1 open invoice of that customer equals the payment, the payment is Clear. If exactly 1 combination of open invoices equals the payment, the payment is Likely. If more than 1 combination is possible, the payment goes to Needs you.

**How does the desk find a possible double payment?**

The desk checks each invoice number in the reference against the statement of account. If the invoice is already paid in full, the payment goes to Needs you as a possible double payment. The accounts clerk then keeps the money on account or leaves the payment unallocated with a note.

**Does the desk change our Excel statement of account?**

This demo shows one sample layout and changes only sample data in your browser. A real desk keeps your own SOA workbook layout. The layout is agreed in the fixed scope before any build starts.

## Describe how your team matches payments today.

Send a short email. Name the job, who does it, and what you use today. The first conversation needs no confidential files.

- Describe your weekly job: email kuan@workflowlab.sg with the subject "Custom ops desk". Name the job you do every week, who does it, and what you use today (WhatsApp, paper, Excel).
- Try the rental desk demo: https://workflowlab.sg/demos/fleet-rental-desk/ (plain text: https://workflowlab.sg/demos/fleet-rental-desk.md)
- Watch the walkthrough videos: https://workflowlab.sg/videos/ (plain text: https://workflowlab.sg/videos.md)

WorkflowLab builds a Custom Ops Desk around one job that a small Singapore company does every week. See how delivery runs: https://workflowlab.sg/custom-desks/ (plain text: https://workflowlab.sg/custom-desks.md)

Contact: kuan@workflowlab.sg · Pricing: https://workflowlab.sg/pricing.md · Home: https://workflowlab.sg/index.md
