How to Automate Intercompany Reconciliation With AI Agents

A model finds the breaks between two of your companies' ledgers. Your policy decides which ones count, so the agents apply it in code and leave every correction to your accountants.

On this page
  1. Step 1: Read Each Export the Way Its Own Accountant Wrote It
  2. Step 2: Turn the Policy and the Agreement Into Checks
  3. Step 3: Pair Each Entry With Its Counterpart by Reference
  4. Step 4: Price Every Dollar Gap at Treasury's Rate
  5. Step 5: Hold Each Late Pair Against Both Windows
  6. Step 6: Check the Fee Against the Amendment
  7. Step 7: Prove the Net Before Anyone Writes the List
  8. Qvery's Agents Run the Seven Steps at Every Close
  9. Twelve Working Days of Matching Become About Four
  10. The First Thing We Ask For Is Your Policy
  11. Frequently asked questions

When one of your companies charges another for freight, software licences or a month of management, both book it, each in its own accounting system, its own currency and its own week.

At every close, someone pairs the two sides line by line and emails the other company about each line that will not pair. Until they agree, the group's books cannot be added together.

In the sample group below, the policy puts that at three people for about four working days each, in spreadsheets: about $75,635 a year of accountants' time.

The worry about handing this to AI is a fair one: a model asked to reconcile two ledgers may return an answer that balances without being right. We ran the job to see where that holds, and the answer decides how the agents are built.

At Qvery, we help companies that run as a group spend less on every close, with custom AI agents that pair both ledgers on your own rules and explain what's left.

The run uses one October of Alderbrook, a 310-person precision components group, and everything in it is invented. Its parent in Columbus, Ohio books in dollars in Epicor, its accounting system; its subsidiary in Stuttgart, a GmbH (the German limited company), books in euros in Acumatica.

The files are both intercompany accounts, treasury's daily rate sheet, the group's policy, the services agreement and its amendment, the log of open breaks and one email from treasury.

331entries read on both sides
83pairs that tie outright
68that differ only by the exchange rate
5real breaks behind a EUR 5,160 gap
Our run of the agents' method on Alderbrook's sample files, November 2026

Seven steps follow, each with the sheet it produced. Then what Qvery builds to run them at every close, and what that returns. Where step seven ends, you can run the first part on two exports of your own.

This covers two companies and one pair of currencies. The entries that cancel these balances when the group's books are combined, and every correction, stay with your group accountant.

Step 1: Read Each Export the Way Its Own Accountant Wrote It

The two files describe the same dealings and disagree on almost everything about how they record them.

  1. Signs

    the parent writes a positive amount when the GmbH owes it; the GmbH writes a positive amount when the parent owes it, so every pair carries opposite signs

  2. Dates

    the parent writes 2026-10-01, the GmbH 01.10.2026

  3. References

    kept exactly as typed, leading zeros included, with the sheet and row of every entry

  4. Conventions

    each export has a definitions sheet that says all of this, and the agents read it before any number

Step 1 sheet: the parent's and the GmbH's intercompany exports side by side, with their systems, sign conventions, 165 and 166 entries, and a net gap of EUR 5,160.00.
Both exports side by side: the system, the account, the sign each uses, the count and the total.Screenshot by Qvery, captured from our run of the agents' method on the sample files.

What you should see: 165 entries on the parent's side and 166 on the GmbH's, EUR 926,721.41 one way and EUR 921,561.41 the other. The difference, EUR 5,160.00, is what every later step has to account for, to the cent.

If those totals do not match each export's own total, a row was dropped or read twice, and every later count would be off by that row.

Step 2: Turn the Policy and the Agreement Into Checks

Most of what decides whether a difference is a problem sits outside the ledgers, in the policy, the rate sheet and the agreement. We write each rule into the agents' code with the line it came from, and the group controller checks the list before the first run.

Step 2 sheet: the group's rules with their sources, the policy's two-day window beside treasury's three days, and the blank escalation owner.
The group's rules as the agents hold them, each beside the document and section it comes from.Screenshot by Qvery, captured from our run of the agents' method on the sample files.

Two things in that sheet are not settled yet. The policy gives the companies two business days to post their halves; treasury's sheet says its rates hold for postings within three. And breaks older than 30 days are escalated to a blank.

Neither gap is the agents' to fill. They apply both windows, list the blank, and the group controller says which window counts before the first live close.

Step 3: Pair Each Entry With Its Counterpart by Reference

The first pass is strict on purpose: one entry on each side under the same reference, in the same currency.

That gives 160 pairs, and 158 carry the same amount with opposite signs; the other two differ in euros and come back in steps 6 and 7. A reference with more than one candidate is never paired by guess.

Step 3 sheet: 160 pairs by reference, two of them differing in euros, one reference held with three entries, three references typed with an IC prefix, and two one-sided entries.
What pairs on the reference, and the eleven entries that do not.Screenshot by Qvery, captured from our run of the agents' method on the sample files.

Eleven entries are left, and they are where the work is.

  1. One reference, three entries

    the parent booked a tooling recharge (a cost it passes on to the GmbH) once, EUR 14,250.00; the GmbH booked it on 8 October and again on 9 October. The agents hold all three and name the second for confirmation.

  2. Three references typed differently

    the GmbH wrote "IC 0063965" where the parent wrote "0063965", and did the same twice more. Stripped of the prefix, each finds its partner to the cent, and the agents list the three as probable pairs for an accountant to confirm.

  3. Two entries on one side only

    the parent's October freight recharge, EUR 9,860.00, which the GmbH has not booked, and the GmbH's October sales commission, EUR 3,100.00, which the parent has not.

On a strict match, the typed prefix turns three agreed charges into six stray entries; on a loose one, it would let a different document pair by accident. So the agents list each such pair, with both lines, for a person to confirm.

Step 4: Price Every Dollar Gap at Treasury's Rate

The parent converts every euro at the rate in its own Epicor table. The policy names treasury's daily sheet as the group rate, and says a dollar difference treasury's rate explains is not a break.

So for each pair, the agents apply treasury's rate for the parent's posting date and check whether the dollar gap equals the amount times the difference between the two rates, to the cent.

87 pairs agree to the cent at treasury's rate. 68 differ only by the rate, none by more than the $250 the policy asks to have explained. Most are the ordinary drift between two rate tables, $21.77 at most; thirty come from one rate that stopped moving.

Step 4 sheet: 87 pairs agree, 68 differ only by rate, and the parent's rate stuck at 1.0795 from 12 to 16 October, $1,582.30 short.
Every pair priced at treasury's rate, and the five days the parent's rate did not move.Screenshot by Qvery, captured from our run of the agents' method on the sample files.

From 12 to 16 October, every entry the parent posted carries one rate, 1.0795, while treasury's, on the days it published one, ran from 1.0840 to 1.0854. Across the thirty entries treasury priced, the parent's dollars came out $1,582.30 short.

The cause the agents suggest is a rate table that stopped updating that week, for the table's keeper to confirm. Under the policy it is still not a break, so the agents list it once, as one item.

On 12 October treasury published no rate at all, and the three entries posted that day stay without one.

Step 5: Hold Each Late Pair Against Both Windows

Seven pairs were posted more than two business days apart, four of them more than three. The amounts agree on every one, so none is a break: each is a timing difference the policy wants noted on the log.

Four of the seven also agree to the cent in dollars; the opening's 83 pairs that tie outright are the 87 less these four.

Step 5 sheet: seven pairs posted more than two business days apart, four more than three, including the EUR 72,000 September settlement.
The seven late pairs, each held against the policy's two days and treasury's three.Screenshot by Qvery, captured from our run of the agents' method on the sample files.

The largest is the September settlement, EUR 72,000. Treasury's email says it left Columbus on Tuesday 27 October and reached Stuttgart on Friday 30 October: three business days in transit, late by the policy's two days and inside the three that treasury's rates hold for.

The same email puts the payment weeks past the fifth bank day the policy and the agreement both set for settling. That is a question for treasury, and it goes on the list as one.

Accountants who keep two companies in step by hand have their own fixes for gaps like these, and one of them names the limit this page tests.

Tips from Reddit

What accountants who pair intercompany by hand say

I don't think an LLM would work beyond just identifying discrepancies since a lot of the time you need outside knowledge/documentation (in other words I wouldn't count on it for explanation).

r/Accounting · Nov 2024 ↗

Trade creditor on one company squares to the trade debtor balance of the other and any missing invoices are coded mid month.

r/Accounting · Nov 2024 ↗

I would either make and use a 'cash in transit' account separately, that is applied to both subsidiaries or just do two separate journal entries with different dates for the subsidiaries and make a note in the memo field

r/Netsuite · Jan 2026 ↗

Step 6: Check the Fee Against the Amendment

A recurring fee is checked against what the agreement says it is now, never against what was booked last month.

Amendment No. 1 raised the monthly management fee to EUR 18,500.00 from 1 July, and the parent books that. The GmbH still books EUR 16,850.00 and has since July: four months, EUR 6,600. July to September already sit on the log as three separate breaks.

Step 6 sheet: the management fee at EUR 18,500.00 in the amendment against EUR 16,850.00 booked by the GmbH from July to October, EUR 6,600 in all.
The fee in both ledgers beside the amendment, month by month, with what the log already holds.Screenshot by Qvery, captured from our run of the agents' method on the sample files.

Given the ledgers without the agreement, the model said it could not tell which side was right. That is the right answer: the ledgers show a gap, and only the amendment shows which side is wrong.

Step 7: Prove the Net Before Anyone Writes the List

Before anyone writes to the other company, the gap has to be explained in full. The second tooling entry takes away EUR 14,250.00. The two one-sided entries add EUR 9,860.00 and EUR 3,100.00, September's engineering, booked at two different amounts, adds EUR 4,800.00, and the fee adds EUR 1,650.00.

That is EUR 5,160.00, with nothing left over. These are the five places a gap usually comes from, each found here in one month of entries.

Only then does a model read anything, and only what code could not explain.

Code hands it the 20 items it found, each with both sides' entries, and the group's policy, agreement, log and email, with this instruction.

The instruction the model gets
Below is the list of differences code found between two companies' intercompany ledgers for October, and the group's own documents. The pairing and the arithmetic are done; do not redo them or change any amount.

For each item, write:
- "what": one sentence a group controller understands without the ledgers open
- "cause": the likely cause, labelled "suggested", with the document line that points to it, or "no document explains it"
- "who": who should confirm it, by name, from the documents
- "proposed": the correcting entry you would propose (which company, which side, the amount), or "none: wait for the counterpart" ; it is a proposal for a person to approve, never posted
Then "decisions": the questions the documents leave open that a person must decide (two documents that disagree, a blank in the policy).

Use only figures that appear in the list or the documents. Return one JSON object {"items": [...], "decisions": [...]} and nothing else. Do not use tools.

It returned a cause for each item with the document line behind it, labelled as a suggestion, the person who confirms it, and a correcting entry where one is due, proposed and never posted. Every figure in its answer was already in its inputs.

Step 7 sheet: the EUR 5,160.00 gap explained by five breaks, and three items with what happened, the suggested cause, who confirms and the proposed entry.
Three of the twenty items as the accountants open them: what happened, the suggested cause, who confirms and the proposed entry.Screenshot by Qvery, captured from our run of the agents' method on the sample files.

It also listed what nobody can settle from the files: who gets breaks past 30 days, which window counts, whether the GmbH catches up July to September in October or month by month, and what October's export sales were. Those go to the group controller, once, instead of into two inboxes.

To see this on your own group, the first part runs on two of your exports and your rate sheet.

Qvery's Agents Run the Seven Steps at Every Close

The steps above are the build. At Qvery, we turn them into custom agents that run at every close on autopilot, beside your accountants.

When both exports land, the agents read them, apply your policy and agreement in code, prove the net and have a model write the list. Your accountants open a short list instead of two ledgers.

Two companies’ intercompany exports and the group’s policy, agreement and rates go to AI agents that pair, price and prove the net, then write the list your accountants approve and post.
Code applies your rules to every entry; a model reads your documents for the few that are left; your accountants decide and post.Illustration by Qvery, drawn for this article.
Who does what at each close: code, the model and your accountants
Code doesThe model doesYour accountants decide
Reads both exports in their own conventionsReads the policy, agreement, log and emailWhich window counts when two documents differ
Pairs on reference and currency, then compares amounts; holds two-candidate entriesWrites each item's suggested cause, with the line it rests onWhether a held entry is a duplicate or a second charge
Prices every pair at the group rate; lists a stuck rate onceNames who confirms each itemWho owns breaks past 30 days
Holds late pairs against every window; checks fees against the agreementProposes the correcting entryApproves and posts every correction
Proves the net to the cent; ages the log at the period endLists what the documents leave openWhen old breaks get caught up
Piotr BabelPartner @ Qvery

A model found all five breaks in these ledgers and still borrowed a rate for a day treasury never priced. So the arithmetic runs in code, the same way every month, and the model gets only the twenty items code could not explain, with your documents beside it. Whatever cause it suggests is labelled as a suggestion, and your accountant decides.

The agents read the two exports, the rate sheet and your documents, and nothing else, with no login to either accounting system. What they may read, and where it is processed, is settled on paper before the build. Qvery AI OÜ is an EU company, and the data processing agreement comes before any file.

They post nothing: no correction, no elimination, no rate. Every pair, the rule that made it and every proposal go into a log, so your auditor can see what was paired on which rule, and who approved each correction.

Twelve Working Days of Matching Become About Four

The policy's own count is three people at about four working days each: twelve working days a close. The calculator starts from the same group.

Intercompany Matching ROI Calculator

What Each Intercompany Transaction Costs You To Agree, And With The Agents

Every sale, recharge, fee, loan entry and settlement between two of your companies, each booked once in both ledgers. The example's 166 is one October of the components group in the post: a US parent and a German subsidiary, about 310 people.
The month's matching hours divided by its transactions: most pairs tie in seconds, and the few that do not (a rate, a date, an entry one side never booked) take most of the time. The example's 35 minutes is our assumption, from the post's group: three people, about four working days each, in spreadsheets.
Checking the pairs the agents set aside as a rate or date difference, and agreeing the short list of real differences with the other company. The example's 12 minutes is our assumption; in the post's sample month, 18 of 166 transactions were left for a person.
Pay plus benefits per hour. Accountants and auditors earned a mean $45.56 an hour in May 2025 (BLS); pay is 70% of what a private employer spends on a person, so about $65.09.

Saved Per Year

$46,504

764 hours handed back, after $3,199 a year to run it

Hours Handed Back
764 hours a year
Agent Running Cost (Estimate)
$267 a month
Payback Per $10,000 Of Build
2.6 months

On these numbers, each transaction costs $14.62 instead of $37.97, the agent saves $46,504 a year after its own running cost, and every $10,000 of the build is earned back in 2.6 months.

Example numbers. Type over them with yours.

It assumes 166 transactions a month at about 35 minutes each by hand, which is those twelve days, and accountants at $65.09 an hour.

The Labor Department's wage survey put them at a mean $45.56 an hour in May 2025, and pay is 70% of what a private employer spends on a person; your GmbH's accountant is paid in euros, so put in your own rate.

With the agents, we assume 12 minutes a transaction: checking the pairs set aside as rate or timing, and agreeing the short list with the other company. That is 33 hours a month, about four working days.

On those numbers, the group keeps $46,504 a year after the agents' running cost of about $267 a month, and every $10,000 of the build pays for itself in about 2.6 months. Put in your own volume and minutes above.

That saving is accountants' time, not cash, until the days that come back cover work you would otherwise hire someone for: the six breaks already past 30 days, worth EUR 20,265, or a close that finishes sooner.

If the pairing is where your close stalls, it is the part to hand over first.

The First Thing We Ask For Is Your Policy

The ledgers come second: before the agents pair anything for your group, we settle with whoever owns the policy the questions its documents leave open, and the answers become the agents' rules.

  • which window counts when the policy and treasury's sheet disagree
  • who gets the breaks that pass 30 days
  • whether a typed prefix still means the same reference
Vlad ShvetsPartner @ Qvery

Most rules this October needed were already written in the group's policy and agreement, and the few that were not showed up on day one as a blank and a conflict. What was missing was someone applying them to every entry before the emails started. That is the work we take off your accountants; the open questions stay with the people who own them.

Then the agents run on a close you have already finished, and your accountants hold their own list against theirs. Within two weeks of access, the agents run beside them on the next live close.

From then on, you see each week how many hours came back and which breaks were caught before the group's books were combined.

Intercompany is one of three jobs that fill a finance team's month, and the accounting playbook prices it beside customer payments and the close plan.

A group with more than two companies runs the same seven steps for every pair that trades, and the policy question comes first there too.

Frequently asked questions

Can AI do intercompany reconciliation?

It can find the breaks. In our run, a model given only the two ledgers found all five and proved the gap to the cent. It slipped on the rules: the posting window, the rate, a date with no rate. So the agents keep those rules in code, and your accountants still decide every correction.

Does this take the work away from our accountants?

It takes the pairing and the arithmetic. Your accountants keep every decision the files cannot settle and every entry that gets posted. In the sample, they open about twenty items and a short list of open questions instead of two ledgers of 331 entries.

What if our rate table stops updating?

The agents spot it as a run of entries on one rate while treasury's moved, like the sample's week at 1.0795. Under a policy like Alderbrook's it is not a break, since treasury's rate explains every cent, so it is listed once for whoever keeps the table.

What if the two companies type a reference differently?

A strict pairing leaves those entries alone. The agents strip a stray prefix or space only to find a candidate, then list the pair for your accountant to confirm. They never pair two entries silently, and when two entries could fit one line, they pick neither.

How are transfers still in transit at month-end handled?

If the receiving side has not booked it by month-end, it shows up on one side only, and the agents count its age until the other half posts. If both sides booked it days apart, it is a timing difference, held against every window your documents give, with treasury's note of the send date attached.

Can the agents check recharges against the mark-up in our agreement?

Yes, where the files carry the base. They check each fee and mark-up against the agreement's current amount and its effective date. Where the base is missing, like a commission with no export sales in the files, the amount stays a question for a person.

What happens when one company books the same entry twice?

The agents hold every entry under that reference and pair none of them. They name the second one as the likely duplicate for the company that booked it to confirm, with both dates and amounts. A reversing entry is proposed only after the other side confirms there was one invoice.

Can the agents read a policy kept in Word or an agreement in PDF?

Yes. In the sample the policy is a Word file and the agreement a PDF, and the agents read both. A rule they cannot find, or one two documents state differently, goes on the list for you to settle rather than being assumed.

Does it work in currencies other than euros and dollars?

Yes, wherever your rate sheet carries the currency pair and the date. Each pair is priced at the rate your group compares at. A date or a pair the sheet does not cover stays without a rate rather than borrowing one from another day.

What if our policy leaves something blank?

The agents list the blank instead of filling it. Alderbrook's policy escalates breaks older than 30 days to an empty line, so six breaks worth EUR 20,265 have nowhere to go. Settling blanks like that one is the first thing we do with you, before any live close.

Our accounting system has intercompany features. Why add agents?

Two companies on different systems, like Alderbrook's Epicor and Acumatica, book their halves separately. A manual entry on any system can still leave one side behind. The agents read whatever each system exports, so nothing changes in either.

What does it cost to run?

In our estimate, about $250 a month plus about 10 cents a transaction: model use for reading your documents and writing each item, hosting, the log and upkeep of your rules. At Alderbrook's 166 transactions, that is about $267 a month. The build is a fixed price for a defined result, agreed before we start.

Keep Reading

8 Best Cash Application Software (2026)

Most cash application software quotes a high match rate. The difference that costs you is the payments outside it, and who researches them.

7 Best Month-End Close Software (2026)

Seven close tools a company of 100 to 500 people would weigh, what each one plans for you, and what it leaves on your controller's desk.

Customer Payments Are Where AI Pays Back First in Accounting

The close gets the AI pitch. Matching each customer payment to its invoices earns an agent’s build back sooner, and the arithmetic shows why.