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.

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:
| Line | Date | Reference | Description | Amount |
|---|---|---|---|---|
| P-1 | 3 Oct | IC-1041 | Inventory transfer | $42,600 |
| P-2 | 10 Oct | IC-1042 | Inventory transfer | $18,540 |
| P-3 | 15 Oct | CR-2210 | Cash received from West | −$30,000 |
| P-4 | 28 Oct | IC-1047 | Inventory transfer | $9,875 |
| P-5 | 31 Oct | MF-10 | Management fee, October | $15,000 |
| Balance | $56,015 |
West, account 2350, lines coded to the parent:
| Line | Date | Reference | Description | Amount |
|---|---|---|---|---|
| W-1 | 5 Oct | IC-1041 | Inventory received | $42,600 |
| W-2 | 12 Oct | IC-1042 | Inventory received | $18,450 |
| W-3 | 15 Oct | PMT-884 | Payment to parent | −$30,000 |
| W-4 | 20 Oct | FR-0317 | Freight 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.
The result: every difference with a cause
| Line | Reference | Parent | West | Difference | Likely cause | Explanation |
|---|---|---|---|---|---|---|
| P-5 | MF-10 | $15,000 | none | $15,000 | Booked by one side only | October management fee is on the parent's books and not on West's. |
| P-4 | IC-1047 | $9,875 | none | $9,875 | Timing | Transfer invoiced on 28 October. No receipt in West's October detail. |
| P-2 / W-2 | IC-1042 | $18,540 | $18,450 | $90 | Keying error | Same reference, digits transposed. Check the source invoice. |
| W-4 | FR-0317 | none | $2,300 | −$2,300 | Wrong counterparty | Freight recharges usually come from Harbor Logistics, not the parent. |
| $22,665 | Equals $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
- 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.
- 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.
- 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.
- 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.
- 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.
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
- 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.
- 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.
- Timing items reverse. Anything accrued for goods in transit has a reversal set for the first day of next month.
- Eliminations run on matched balances. Run elimination only after every pair is clean, so differences do not end up inside the consolidated numbers.
- 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
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
- Claude in Excel for Month-End Close: Five Tasks to Hand Off and What to Check
- How to Automate Payment Reconciliation with AI
- AI for Cash Management Across Several Bank Accounts: A Daily Cash Position Prompt and Funding Checklist
- AI for Prepaid and Accrual Schedules: A Monthly Roll-Forward With Tie-Out Checks