Masar-Fintech

Worked exampleAI in finance work

Prompt patterns for reconciliations and variance notes

Four prompt patterns turn a vague request to an AI tool into a checkable draft; here they explain a supplier statement difference of EGP 33,500 in two lines that tie.

  • Written by Mahmoud Sabry
  • Published
  • Last updated
  • Reading time 6 min read
  • Checks Check lines recalculated by script Editorial policy

The problem: a vague request and an answer nobody can check

An accounts payable accountant at a paint manufacturer in Egypt must reconcile the main resin supplier's statement before the month-end payment run. The ledger shows EGP 452,800 owed; the supplier's statement shows 486,300.

She pastes both lists into the company's approved AI tool and types "reconcile these". The answer is confident and long, and it does not say which items explain the difference or whether they add up.

Four prompt patterns that make the answer checkable

Each pattern answers a question a good manager would answer when briefing a new colleague. Use all four, in this order:

  1. Context: who the work is for and what it is. "I am reconciling our ledger with a supplier's statement for the month-end payment run."
  2. Data and rule: paste both lists and state how items match. "Match on invoice number; where there is none, match on amount and a date within 5 days."
  3. Fixed output: say exactly what to return. "Return a table: ledger balance, each reconciling item with its document number, and the statement balance. The items must add up to the difference."
  4. Gaps: ask for what it could not do. "List every item you could not match and every assumption you made."

Pattern 2 also covers what not to paste: only the two lists, without bank details or personal data.

Why these four work: each one removes a guess. Without context the tool guesses the purpose. Without a rule it guesses how items match. Without a fixed output it chooses its own layout, which you then have to search. Without a request for gaps it hides what it could not do inside fluent sentences.

A good brief to a new colleague removes the same four guesses.

The worked example: EGP 33,500 explained in two lines

With the four patterns, the tool returned two reconciling items, both with document numbers the accountant could look up.

Table 1

Two items explain the EGP 33,500 difference between the ledger and the statement

EGP, supplier reconciliation at month end, hypothetical company

A table: ledger balance 452,800; add an invoice received but not yet recorded 41,000; less a credit note issued by the supplier, not yet recorded by us, 7,500; supplier statement balance 486,300.
ItemEGP
Ledger balance owed452,800
Add: invoice received, still in approval41,000
Less: supplier credit note, not yet recorded by us(7,500)
Supplier statement balance486,300

Source: Illustrative calculation from hypothetical data.

The invoice for EGP 41,000 had been received by the warehouse and was still waiting for approval, so it was not yet in the ledger. The supplier issued a credit note for 7,500 for damaged drums returned in the last week of the month, and it had not yet reached the ledger.

For each reconciling item, ask which side has recorded it, and take the sign from that. The supplier has recorded both items and we have recorded neither, so the invoice makes their balance higher than ours and the credit note makes it lower. A sum that ties does not prove the signs are right.

The gaps list was empty apart from one assumption: that the statement date and the ledger date were the same. The accountant confirmed it.

The same patterns write a variance note

The patterns work for commentary too. Electricity for the quarter was budgeted at EGP 1,250 thousand and came in at 1,425 thousand.

Exhibit 1

The patterned prompt returns a 175 thousand note with a driver and an owner

The same request before and after the four patterns

Before

AB
1PartText
2PromptWrite a comment on electricity.
3ReplyElectricity costs were higher than expected due to various factors.

After

AB
1PartText
2PromptQuarterly cost commentary for the CFO. Budget 1,250, actual 1,425, EGP thousand. The utility raised the tariff from the second month. Give driver, size and action. List any gap.
3Reply175 thousand (14%) over: the tariff rose in the second month. Permanent. Owner: plant manager.
4GapsThe split between tariff and usage was not provided.

Source: Illustrative example from hypothetical data.

View data table
Before 2Prompt | Write a comment on electricity.
Before 3Reply | Electricity costs were higher than expected due to various factors.
After 2Prompt | Quarterly cost commentary for the CFO. Budget 1,250, actual 1,425, EGP thousand. The utility raised the tariff from the second month. Give driver, size and action. List any gap.
After 3Reply | 175 thousand (14%) over: the tariff rose in the second month. Permanent. Owner: plant manager.
After 4Gaps | The split between tariff and usage was not provided.

The gap the tool listed is the useful part. Without the split between tariff and usage, the note is a draft, and the analyst gets that split from the plant before the note is sent.

The check that stays with you

The patterns make the answer checkable; they do not check it. Before using the reconciliation, the accountant opened both documents and added the two items: 452,800 + 41,000 - 7,500 = 486,300. That check takes two minutes, and it is hers.

Common errors

  • "Reconcile these" with no rule: the answer cannot be checked. Correction: state the matching rule and the output table.
  • No request for gaps: unmatched items stay hidden inside a fluent answer. Correction: always ask what it could not match.
  • Using the result without adding it up: a wrong item goes into the ledger. Correction: tie the items to the difference yourself.

How to check your work

  1. Confirm the prompt has all four patterns: context, data and rule, fixed output, gaps.
  2. Confirm the items add up: 452800 + 41000 - 7500 = 486300.
  3. Confirm each item has a document you have opened.
  4. Confirm the gaps list has been answered before the work is sent.

Limits of the method

The patterns improve the draft; they do not make it correct. Long lists can exceed what the tool reads reliably in one request, so reconcile large suppliers in parts and tie each part.

Frequently asked questions

Should I keep my prompts?

Yes. Save the ones that work as templates for the team, with the matching rule written in.

Does the tool need the whole ledger?

No. Give it only the lines for the supplier and the period, which is also safer.

Can the patterns be used in Arabic?

Yes. The four parts work in any language; keep document numbers and figures exactly as they appear in the source.

Terms in this article

EnglishArabicMeaning
Promptنص الطلبThe instruction given to an AI tool, including the context, data and expected output
Supplier statement reconciliationمطابقة كشف حساب الموردExplaining every difference between the ledger balance and the supplier's statement
Reconciling itemبند التسويةOne item that explains part of the difference between two balances

Related lessons

Read next

Sources and notes

Figures and companies in the examples are illustrative and hypothetical, and do not refer to any real organisation.

Amounts are in EGP unless stated as thousands.

Educational content, not financial, tax or investment advice. Check the standards and rules in force before applying anything.

Share this article

Four prompt patterns that turn a vague request into a draft you can check. A supplier reconciliation in EGP:

Share on WhatsApp Share on LinkedIn