This module supports users who utilize both account_payment_netting and l10n_th_account_tax within the same project.
However, the current calculation of withholding tax (WHT) is incorrect because it only considers the payment side.
Case 1 : Payment with AP > AR but AR has withholding tax
AP 200฿
AR 100฿ (WHT 3%)
When users net invoices, it incorrectly pays 97฿. The correct amount should be 103฿, including a 3฿ withholding tax.
Case 2 : Payment with AR > AP but AP has withholding tax
AP 100฿ (WHT 3%)
AR 200฿
When users net invoices, it incorrectly receives 97฿. The correct amount should be 103฿, including a 3฿ withholding tax.
This module supports users who utilize both
account_payment_netting
andl10n_th_account_tax
within the same project. However, the current calculation of withholding tax (WHT) is incorrect because it only considers the payment side.Case 1 : Payment with AP > AR but AR has withholding tax
When users net invoices, it incorrectly pays 97฿. The correct amount should be 103฿, including a 3฿ withholding tax.
Case 2 : Payment with AR > AP but AP has withholding tax
When users net invoices, it incorrectly receives 97฿. The correct amount should be 103฿, including a 3฿ withholding tax.
DEPENDS ON:
TODO: