GST Reports Incorrectly Include Void or Cancelled Orders in Tax Due Calculations
Environment: Production
Module: GST Reporting / Tax Reporting
Affected Components:
UI Reporting
Backend Tax Calculation Logic
Exported GST Reports
Potential API reporting endpoints [clarify endpoint]
GST reports currently include orders with a status of Void or Cancelled when calculating GST tax totals. These orders should not contribute to tax liability because they were never completed transactions.
This results in inflated GST totals and inaccurate tax reporting.
GST taxation is enabled.
Orders exist with statuses:
Void
Cancelled
GST reports are generated for a date range containing these orders.
Create or locate an order with GST applied.
Change the order status to Void or Cancelled.
Generate a GST report covering the transaction date.
Review the GST totals and included transactions.
Void and cancelled orders should be excluded from:
GST tax due calculations
GST report totals
GST export files
Only completed/valid billable transactions should appear in GST reporting.
Void and cancelled orders are included in GST reports.
GST totals include taxes from non-billable transactions.
Produces inaccurate GST filings and financial reports.
Creates reconciliation discrepancies between accounting systems and Pelcro reports.
Increases manual accounting adjustments for finance teams.
Potential compliance and audit risk for clients using GST reporting for tax submissions.
Severity: High
Priority: High
Reason:
This affects financial accuracy and tax compliance reporting.
The GST reporting query or aggregation logic may not exclude invalid order statuses before calculating tax totals.
Possible missing filters:
status != void
status != cancelled
Update GST reporting logic to:
Exclude voided orders
Exclude cancelled orders
Ensure tax aggregation only includes finalized/collectible transactions
Review affected areas:
Reporting API endpoints
Export generation services
Dashboard summaries
Tax aggregation jobs
Void orders no longer appear in GST reports.
Cancelled orders no longer appear in GST reports.
GST totals match finalized transactions only.
API responses reflect corrected totals.
Existing exports generate accurate tax values.
Regression testing completed for:
Refunded orders
Partial refunds
Failed payments
Completed orders
Automated test coverage added for excluded statuses.
Verify whether this issue affects:
Historical reports
Scheduled exports
Third-party accounting integrations
Other tax report types beyond GST (VAT/HST/etc.)
Please authenticate to join the conversation.
Backlog
Pelcro Product
6 days ago

tlgunnison
Get notified by email when there are changes.
Backlog
Pelcro Product
6 days ago

tlgunnison
Get notified by email when there are changes.