B2B Ecommerce Fraud: Case Study

You can download all the datasets to solve this Data Science case study on B2b Ecommerce fraud from below.

B2B Ecommerce Fraud: Case Study

ABC Company operates an e-commerce platform and processes thousands of orders daily. To deliver these orders, ABC has partnered with several courier companies in India, which charge them based on the weight of the products and the distance between the warehouse and the customer’s delivery address. ABC wants to check if the fees charged by the courier companies for each order are correct.

ABC has internal data split across three reports: Website Order Report, Master SKU, and Warehouse PIN for all India Pincode mappings. In addition, they receive billing data from courier companies.

The website order report includes order IDs and products (SKUs) for each order. The SKU master provides the gross weight of each product, which is needed to calculate the total weight of each order. Courier company invoices contain information such as AWB number, order ID, shipment weight, warehouse pickup PIN, customer delivery PIN, delivery area, the charge per shipment and type of shipment.

ABC wants to compare the total weight of each order calculated using the SKU master with the weight stated by the courier company in their invoice. The weight should be rounded up to the nearest multiple of 0.5 kg to determine the weight of the tile. The warehouse PIN to all India Pincode mappings is used to determine the delivery area, which should be compared to the area reported by the courier company.

In addition, ABC must apply the logic of calculating charges based on the slab weight, delivery area and type of shipment listed on the courier company’s invoice. The courier fee rate card provides a fixed fee and an additional fee for each weight plate and PIN. The total charge per shipment should be calculated by adding the fixed charge and any additional charges based on plate weight.

The final solution should include a table with the following columns:

Order IDTotal WeightWeight SlabDelivery Zone as per ABCExpected Charge as per ABC (Rs.)AWB NumberTotal Weight as per Courier Company (KG)Delivery Zone Charged by Courier CompanyBilling Amount (Rs.)Weight Slab Charged by Courier Company (KG)

ABC also wants to analyze the accuracy of the fees charged by the courier company. They require a summary table including the following information:

DescriptionCountAmount (Rs.)
Total Orders where ABC has been correctly charged
Total Orders where ABC has been overcharged
Total Orders where ABC has been undercharged

References to Solve this Data Science Case Study