Issue 11500

Title
Unable to pay invoice in another currency
Priority
feature
Status
chatting
Superseder
Allow overpay invoice with write-off (issue 9070)
Project-Id-Version: Roundup 0.7.0 Report-Msgid-Bugs-To: roundup-devel@lists.sourceforge.net POT-Creation-Date: 2021-07-12 22:10-0400 PO-Revision-Date: 2004-11-20 13:47+0200 Language-Team: English Language: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii
overpayment must be in company currency (issue 11608)
Nosy list
2cadz, acaubet, ced, pokoli, yangoon
Assigned to
Keywords

Created on 2022-05-18.15:05:14 by 2cadz, last changed 2 months ago by yangoon.

Files

File name Uploaded Type Details
scenario_invoice_alternate_currency_overpay.rst pokoli, 2022-07-27.13:34:59 text/x-rst view

Messages

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-07-27.18:26:55

For me the pay_invoice method must detect that with the amount paid, the invoice will be fully paid in invoice currency (amount_second_currency == amount_to_pay) but that in company currency the payment lines of the invoice will be too much. So it must deduce or add from the pay_amount the difference (like for overpayment) to an exchange account (to be configured). This line will have no second currency amount (as the full amount will be on the pay line).

Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2022-07-27.13:53:24

This is a feature because it require a new behavior to manage currency exchange rate differences.

No, the exchange difference is already correctly computed as writeoff amount.
We just need to properly compute it. Indeed what I proposed in msg77472 works for fixing the issue but it breaks the overpayment functionality.

I created review421511003 to share my work. I hope this is starting point to find a solution for the problem.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-07-27.13:42:20

This is a feature because it require a new behavior to manage currency exchange rate differences.
Invoice in different currency than the company was never fully supported for lazy pay wizard. This wizard is by far not the proper way to manage payment once you do complex accounting like multi-currency.

Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2022-07-27.13:34:59

I do not consider this as a feature as we can not pay invoices when there is no overpayment. (the amount paid is what was requested).

There is an overpayment but related to currency exchange and it should be possible to book it using the Write off option (as we do when the payment amount is lower) but an error is raised in such case (see msg77470 for full explanation). So we need to find a solution for it.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-06-06.09:51:04

This is any way an overpayment.

Author: [hidden] (2cadz)
Date: 2022-06-06.09:33:06

We are not talking about the same thing, there is no overpayment. On a bill from the previous month of $2400 we pay the following month $2400. However, our accounting is in Euros and the conversion makes a difference in exchange.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-06-02.10:09:53

Normally it should be supported since issue9070.

Author: [hidden] (2cadz)
Date: 2022-05-18.15:05:14

The following case:
1. Invoice issued in a currency other than that of the company
1. Payment of this invoice in this currency

If there is a difference in the exchange rate between the posting of this invoice and its payment, it is impossible to complete the payment of the invoice by the assistant.

History
Date User Action Args
2022-07-27 20:51:48yangoonsetnosy: + yangoon
2022-07-27 18:26:55cedsetmessages: + msg77486
superseder: + overpayment must be in company currency
2022-07-27 13:53:24pokolisetmessages: + msg77479
2022-07-27 13:42:35cedsettype: behavior -> feature request
2022-07-27 13:42:20cedsetmessages: + msg77476
priority: bug -> feature
2022-07-27 13:34:59pokolisetfiles: + scenario_invoice_alternate_currency_overpay.rst
messages: + msg77475
nosy: + pokoli
priority: feature -> bug
type: feature request -> behavior
2022-07-27 13:25:26cedlinkissue11607 superseder
2022-06-06 09:51:04cedsetmessages: + msg76970
2022-06-06 09:33:062cadzsetmessages: + msg76968
status: resolved -> chatting
2022-06-02 10:09:53cedsetmessages: + msg76900
nosy: + ced
status: unread -> resolved
superseder: + Allow overpay invoice with write-off

Showing 10 items. Show all history (warning: this could be VERY long)