Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: better gls for purchases with tax witholding (backport #42743) #44048

Merged
merged 1 commit into from
Nov 9, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Nov 9, 2024

Scenario

  • Purchase Invoice is of Rs 50000 + GST
  • TDS is deducted of Rs 500
  • Amount payable to supplier is Rs 49500 + GST

Issue

Accounting for payable to supplier was done for Rs 49500 + GST
This could raise concerns by the supplier because the invoice is of Rs 50000 + GST

Fix

  • Separate GL for TDS with appropriate remarks
  • Separate Reporting in General Ledger

General Ledger Report After Fix

image

General Ledger Print with Remarks (when grouped by voucher - without consolidation)

image

Frappe Internal Reference: https://support.frappe.io/helpdesk/tickets/20049


Possible extension of this fix needed for Sales Invoice and Payment Entry.


This is an automatic backport of pull request #42743 done by Mergify.

* fix: better gls for purchases with tax witholding

* test: test case for purchase invoice gl entries with tax witholding

* fix: use flag `_skip_merge` instead of skipping merge based on against account

* test: fix test `test_single_threshold_tds` for newer implementation

(cherry picked from commit e3cd653)
@sagarvora sagarvora merged commit 11745ad into version-15-hotfix Nov 9, 2024
12 checks passed
@sagarvora sagarvora deleted the mergify/bp/version-15-hotfix/pr-42743 branch November 9, 2024 14:44
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants