Skip to content

[Feature]: Implement courier charge fraud detection based on expected vs actual transportation costs #242

@PapLabros

Description

@PapLabros

Describe the solution you'd like

This issue introduces a mechanism for detecting potential courier-related fraud or overcharging by comparing expected transportation charges with the actual charges provided by couriers.

Each courier calculates transportation costs based on factors such as package weight, dimensions, and other courier-specific rules or formulas that may differ per customer. The system should allow users to define these charging rules, so the application can automatically calculate the expected charge for each package or voucher using the available shipment information.

When couriers later provide their charging documents (PDF, Excel, CSV, etc.), the system should analyze those documents—using the existing courier document analysis mechanism—and compare the actual charged amount with the expected amount calculated by the system. If a significant discrepancy is detected, the corresponding voucher should be flagged for review.

A dedicated UI should be provided to display flagged vouchers, allowing users to easily identify, review, and resolve discrepancies with the courier when needed.

This feature will help businesses detect overcharging, reduce transportation costs, and add transparency and control to courier billing processes while reusing the existing courier document analysis infrastructure.

Alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

desktopIssues related to the desktop applicationsenhancementNew feature or requestpluginIssues related to the plug insserverIssues related to the serverstorebuddyIssues related to the StoreBuddy applicationwooshopIssues related to the WooShop application

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions