✏️Prompts

AI for Intercompany Reconciliation: Match Due-To and Due-From Balances and Clear the Differences

How to use one prompt to match intercompany balances between two entities, sort every difference by cause, and clear them before elimination.

Two blank ledgers linked by matching lines, representing intercompany balances being reconciled

Intercompany balances rarely disagree because anyone got the accounting wrong. They disagree because one entity booked the invoice on the 28th and the other booked it on the 2nd, or because a management fee went into one ledger and never reached the other. Finding those differences is matching work, and an assistant on a business plan, such as Claude in Excel, does matching well. Deciding which side is right, and posting the fix, stays with the accountants who own each ledger.

This walkthrough uses one month of sample data from a distributor with two US entities, shows the export before and after the prompt, and ends with the entries that clear each difference.

The sample data: two ledgers that should agree

Harbor Supply Inc. is the parent. It sells inventory to its subsidiary, Harbor Supply West LLC, and charges a monthly management fee of $15,000 under a written agreement. Each month the parent's account 1350 Due from affiliates should equal West's account 2350 Due to affiliates for the same pair. At the end of October they do not.

Parent, account 1350, lines coded to West:

LineDateReferenceDescriptionAmount
P-13 OctIC-1041Inventory transfer$42,600
P-210 OctIC-1042Inventory transfer$18,540
P-315 OctCR-2210Cash received from West−$30,000
P-428 OctIC-1047Inventory transfer$9,875
P-531 OctMF-10Management fee, October$15,000
Balance$56,015

West, account 2350, lines coded to the parent:

LineDateReferenceDescriptionAmount
W-15 OctIC-1041Inventory received$42,600
W-212 OctIC-1042Inventory received$18,450
W-315 OctPMT-884Payment to parent−$30,000
W-420 OctFR-0317Freight recharge$2,300
Balance$33,350

The difference is $22,665. Put both exports on separate tabs of one workbook, named "Parent 1350" and "West 2350", and work on a copy rather than the file of record.

The matching prompt

Ask for formulas and a written reason for every unmatched line, so the reviewer can see how each match was made.

Prompt
The "Parent 1350" tab is Harbor Supply Inc.'s due-from-affiliates detail for West for October. The "West 2350" tab is Harbor Supply West's due-to-affiliates detail for the parent for the same month. Cash and payments carry opposite references on each side, so match those on amount and a date within 3 days. Match everything else on reference first, then on amount. Add a "Match status" column to both tabs using formulas, with one of: Matched, Amount differs, Missing on other side. Then add a "Differences" tab that lists every line that is not Matched, with the amount of the difference, a likely cause chosen from Timing, Keying error, Booked by one side only, Wrong counterparty or Unknown, and one sentence explaining the choice. Total the Differences tab and show that it equals the difference between the two balances. Do not change or delete any existing data, and explain the matching logic before you build it.

The result: every difference with a cause

LineReferenceParentWestDifferenceLikely causeExplanation
P-5MF-10$15,000none$15,000Booked by one side onlyOctober management fee is on the parent's books and not on West's.
P-4IC-1047$9,875none$9,875TimingTransfer invoiced on 28 October. No receipt in West's October detail.
P-2 / W-2IC-1042$18,540$18,450$90Keying errorSame reference, digits transposed. Check the source invoice.
W-4FR-0317none$2,300−$2,300Wrong counterpartyFreight recharges usually come from Harbor Logistics, not the parent.
$22,665Equals $56,015 less $33,350.

P-1 matched W-1 on reference, and the $30,000 cash lines matched on amount and date. The causes in the table are the assistant's best guess from the data. The freight explanation, for example, is a reasonable inference from the description, and someone at West still has to confirm it.

How to clear each difference

  1. Booked by one side only: the management fee. Check the agreement and the parent's invoice. If the fee is due for October, West records a $15,000 management fee expense and a $15,000 credit to 2350. The assistant cannot see the agreement, so the controller confirms the amount and period.
  2. Timing: the goods in transit. Your intercompany policy decides who adjusts. A common rule is that the receiving entity accrues goods shipped before month-end. If that is your rule, West records $9,875 of inventory in transit against 2350 at 31 October and reverses it when the receipt posts in November.
  3. Keying error: the $90. Pull invoice IC-1042. If it says $18,540, West corrects its entry by $90. If it says $18,450, the parent corrects. Never split the difference, and never let the assistant pick a side without the document.
  4. Wrong counterparty: the freight recharge. If West confirms the recharge came from Harbor Logistics, it reclasses $2,300 from the parent's intercompany account to Logistics'. That line should then match on the Logistics pair, so reconcile that pair next.
  5. Re-run the match. After the corrections, both balances should be $56,015 and the Differences tab should be empty.

A second prompt can draft the requests to each entity's accountant once the first pass is done.

Prompt
Using the "Differences" tab, draft a short note to the accountant at each entity listing only the items they need to act on. For each item, give the reference, the amount, the likely cause, the document they should check and the correction to consider if the document confirms the cause. Ask them to reply with the document reference and the journal entry number once they post. Do not tell anyone to post an entry until the document has been checked.

If your system has its own intercompany tools

Some mid-market systems already do part of this. NetSuite OneWorld, for example, has an Intercompany Reconciliation report that lists unmatched or incorrectly matched intercompany transactions in five sections, including mismatched amounts, mismatched billing and standalone transactions with no pair in the other subsidiary. Oracle's documentation says to run it before intercompany elimination. NetSuite's Automated Intercompany Management feature then generates the elimination journal entries as part of the period close, and an Intercompany Elimination report gives the audit trail.

Built-in reports work on transactions entered through the system's intercompany forms. The prompt above is most useful where that is not the case: entities on different systems, journal entries keyed by hand, or a pair your system's report does not cover.

Checks before sign-off

  1. Every pair nets to zero. Each due-from balance equals the matching due-to balance after corrections, for every entity pair, not only the large ones.
  2. Every correction has a document. Each entry traces to an invoice, an agreement or a receipt, and the entity that was wrong is the one that posted the fix.
  3. Timing items reverse. Anything accrued for goods in transit has a reversal set for the first day of next month.
  4. Eliminations run on matched balances. Run elimination only after every pair is clean, so differences do not end up inside the consolidated numbers.
  5. The Differences tab is filed. Keep the final version with the close file. Auditors ask how intercompany differences were found and cleared.

Where this breaks

Where this breaks

Foreign currency. When entities use different functional currencies, balances can disagree because of the exchange rate alone. Tell the assistant which rate each side uses, and expect a translation difference that the controller decides how to treat.

Plausible guesses. The likely-cause column is a starting point. An assistant can label a missing invoice as timing when it was never sent at all. Each cause is confirmed with a document before anyone posts.

Arithmetic. Ask for formulas, check that the Differences total equals the gap between balances, and see our guide to checking AI's numbers.

Tool limits and data. Anthropic's documentation says Claude in Excel is not recommended for audit-critical calculations without verification, does not support data tables, macros or VBA, and deletes inputs and outputs within 30 days in most cases without following custom retention settings your organization may have. Use it only on your own workbooks, and confirm it fits your AI policy.

Pricing and tax. Transfer pricing and the tax treatment of management fees are questions for your tax adviser, not for an assistant.

For other close tasks you can hand to an assistant in Excel, see Claude in Excel for month-end close and how to automate payment reconciliation with AI.

Free implementation guide

Multi-Entity Consolidation Implementation Guide

How to move from spreadsheet consolidation to an automated multi-entity close, including chart of accounts standardization and intercompany elimination setup.

Related Articles