Skip to content

[29.0] Consistent Error Posting GST Distribution Reversal - #13097

Open
Shikhverma wants to merge 1 commit into
releases/29.0from
bugs/bug_654810_Consistent_Error_Posting_GST_Distribution_Reversal
Open

Shikhverma wants to merge 1 commit into
releases/29.0from
bugs/bug_654810_Consistent_Error_Posting_GST_Distribution_Reversal

Conversation

@Shikhverma

@Shikhverma Shikhverma commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Bug 654810: [BC-IN] Online: Consistent Error Posting GST Distribution Reversal

Fixes AB#654810

Issue : Posting a GST Distribution Reversal fails with an error when the distributed GST amounts have decimals.
reversals with whole amounts post correctly.

Root Cause : GST amounts are rounded per component line during distribution. A rounding difference is applied for normal distributions (to Debit amount), but not on reversals. On a reversal, the total credit amount of the component lines differs from the original GST amount by the rounding difference (eg. 0.01) so the document doesn't balance.

Solution : For reversals, Calculate the difference between the reversed GST amount and the total Credit Amount, and add it to the credit amount of the first matching component line. This mirrors the existing rounding logic for normal distributions, which is unchanged

@github-actions github-actions Bot added the Team: Finance GitHub request for Finance area label Oct 21, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Oct 21, 2026
@Shikhverma
Shikhverma marked this pull request as ready for review October 21, 2026 14:25
@Shikhverma
Shikhverma requested a review from a team October 21, 2026 14:25
@Shikhverma
Shikhverma requested a review from a team as a code owner October 21, 2026 14:25

This branch was successfully deployed

1 active deployment
triage — 8d52864e Deployed Oct 21, 2026 by Shikhverma via Classify team ownership #8611
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team: Finance GitHub request for Finance area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant