# Cannot do account reconciliation

**URL:** <https://discuss.tryton.org/t/cannot-do-account-reconciliation/8588>\
**Category:** User\
**Tags:** accounting\
**Created:** [May 12, 2025, 8:15am UTC](https://discuss.tryton.org/t/cannot-do-account-reconciliation/8588 "2025-05-12T08:15:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vireth](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@Vireth](https://discuss.tryton.org/u/Vireth)\
**Post date:** [May 12, 2025, 8:15am UTC](https://discuss.tryton.org/t/cannot-do-account-reconciliation/8588/1 "2025-05-12T08:15:14Z")

</div>

Hello,

Since the new version of the reconciliation wizard without combinations, I can’t reconcile any account. If I understand correctly, the new O(n) algorithm relies on the fact that the move lines are chronogically ordered, but it just isn’t the case for me, so it doesn’t find any match.

 ![image](https://discuss-cdn.tryton.org/uploads/default/original/2X/1/1c3f32f7e438685a28c1f64f33b1c4a4a8aad5af.png)

I understand that you either have case where it doesn’t work, or you have to use combinations making it slow. But I can’t reconcile any account as of the last version and have to revert the account module to make it work.

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [May 12, 2025, 8:45am UTC](https://discuss.tryton.org/t/cannot-do-account-reconciliation/8588/2 "2025-05-12T08:45:13Z")

</div>

Why are you not paying the amount of the supplier invoices?  
And why at the end are you not paying all the due?

---

<div class="post-metadata">

**Author:** ![Vireth](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/v/aca169/32.png) [@Vireth](https://discuss.tryton.org/u/Vireth)\
**Post date:** [May 12, 2025, 9:02am UTC](https://discuss.tryton.org/t/cannot-do-account-reconciliation/8588/3 "2025-05-12T09:02:41Z")

</div>

As I am just a developer for my company, I can’t really answer those questions, but as far as I understand, the 198.61€ line is a voucher, so only 4910.93€ are paid later.  
As for the 1126.76€ and 1821.82€ lines, they are probably paid later (I don’t have the latest version of the database), those lines may be ignored in this context

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [May 12, 2025, 10:04am UTC](https://discuss.tryton.org/t/cannot-do-account-reconciliation/8588/4 "2025-05-12T10:04:08Z")

</div>

I still do not understand why you do not pay the booked amount but some other amounts.  
The current algorithme expect that at some point in time you will pay all due amount to the supplier and have a balance of 0.

> [@Vireth](#):
>
> But I can’t reconcile any account as of the last version

Yes you can always reconcile explicitly some lines together.  
By the way using the “automatic” reconcile wizard is when you care only about the global balance. If you care about individual lines, you must store the reconciliation information on the statement and on the payment.

> [@Vireth](#):
>
> have to revert the account module to make it work.

You do not have to revert, the design allows you to make your own implementation of `find_best_reconciliation`.
