Order Financial Calculation

You might also like

You are on page 1of 15

Direct / Single brand

OrderId DishId BrandId Qty


8865 523 Dish 1
8865 525 Dish 2
8865 526 Dish 1

Gross 500
Net 500
Platefrom fee 75
Brand commission 0
Dish commision (D) 415
Kitchen commission (K) 85

Global formula Net = Gross = K +D

Direct / Multi brand

OrderId DishId BrandId Qty


8865 523 Dish 1
8865 525 KFC 2
8865 526 Burger King 1

Gross 500
Net 500
platefrom fee 75
Brand commission (B) 238
Dish commision (D) 177
Kitchen commission (K) 85

Global formuls Net = Gross = K+B +D

Third Party / Single brand

OrderId DishId BrandId Qty


8865 523 Dish 1
8865 525 Dish 2
8865 526 Dish 1

Gross 500 Packaging charge


Net 500 Packaging charge
platefrom fee 75
Brand commission 0
Dish commision (D) 415
Kitchen commission (K) 85

Global formula Net <> Gross = K +D

Thirt parties / Multi brand (Grab)

OrderId DishId BrandId Qty


8865 523 Dish 1
8865 525 KFC 2
8865 526 Burgers king 1

Gross gros
Net net Earning
platefrom fee 100
Brand commission 224
Dish commision 96
Kitchen commission 0

What will happen for varied plateform commisison


What will happen if there is order from gojek
What will happen if there if item level discounts (order dishes)
What will happen if there is corporate discount at order level for multi brand order?
What will happen for combo
Kitchen / Dishserve brand
OrderId DishId BrandId Qty
8865 523 Dish 1
8865 525 Dish 2
8865 526 Dish 1

Gross 500
Net 500
platefrom fee 0
Brand commission 0
Dish commision (D) 400
Kitchen commission (K) 100

Kitchen / Multi brand


OrderId DishId BrandId Qty
8865 523 Other 1
8865 525 Dish 2
8865 526 Dish 1

Packaging charge Total


Gross 500 200 700
Net 500 200 700
platefrom fee 15 15
Brand commission 59.5 59.5
Dish commision (D) 328.5 328.5
Kitchen commission (K) 97 97

item_price_total Packagin Total = IttemPk+Item toalprice


item A 30000 3333.333333 33333.333333
Item B 15000 1666.666667 16666.666667

Total Packaging charge is 5000


Item A Packaging Charge 30000*(5000/450 3333.333333
Item B Packaging Charge 15000*(5000/450 1666.666667
20% 70% 10%
unitprice Total price Plateform fee Brand Commission Dish serve
100 100 100 * 0.15 = 15 0 (100-15) * 0.8 = 68
150 300 300 * 0.15 = 45 0 (300-45) * 0.8 = 204
100 100 100 * 0.15 = 15 0 (100-15) * 0.8 = 68
Gross = Net 500 75 0 340

15% 70% 10%


unitprice Total price Plateform fee Brand C Dish serve
100 100 100 * 0.15 = 15 0 (100-15) * 0.8 = 68
150 300 300 * 0.15 = 45 (300-45) * 0.7= 178.5 (300-45) * 0.1 = 25.5
100 100 100 * 0.15 = 15 (100-15) * 0.7 = 59.5 (100-15) * 0.1= 8.5
Gross = Net 500 75 238 102

s = K+B +D

15 % 70% 10%
unitprice Total price Plateform fee Brand C Dish serve
100 100 100 * 0.15 = 15 0 (100-15) * 0.8 = 68
150 300 300 * 0.15 = 45 0 (300-45) * 0.8 = 204
100 100 100 * 0.15 = 15 0 (100-15) * 0.8 = 68
Gross = Net 500 75 0 340

20% 70% 10%


unitprice Total price Plateform fee Brand C Dish serve
100 100 100 * 0.2 = 20 0 (100 - 20) * 0.8 = 64
150 300 300 * 0.2 = 60 (300-60) * 0.7 = 168 (300 - 60 ) * 0.1 = 24
100 100 100 * 0.2 = 20 (100-20) * 0.7 = 56 (100 - 20) * 0.1 = 8
500 100 224 96

Packaging fee

Platform fee persantage 1 - net/gros *100


if x = 20

Total= PF+ BC+DC+KC


0% 0% 80%
unitprice Total price Plateform fee Brand C Dish serve
100 100 0 0 100 * 0.80 = 80
150 300 0 0 300 * 0.80 = 240
100 100 0 0 100 * 0.80 = 80
Gross = Net 500 0 0 400

10

0% 80%
unitprice Total price Plateform fee Brand C Dish serve
100 100 100 * 0.15 = 15 100 * 0.595 = 59.5 100 * 0.085 = 8.5
150 300 0 0 300 * 0.80 = 240
100 100 0 0 100 * 0.80 = 80
Gross = Net 500 15 59.5 328.5

10

mPk+Item toalprice qty item_final_price thirparty_com


Brand 1 31,380 3000
Dishserve 1 15,690 1500
20%
Kitchen c
(100-15) * 0.2 = 17
(300-45) * 0.2 = 51
(100-15) * 0.2 = 17
85

20%
Kitchen c
(100-15) * 0.2 = 17
(300-45) * 0.2 = 51
(100-15) * 0.2 = 17
85

20%
Kitchen c
(100-15) * 0.2 = 17
(300-45) * 0.2 = 51
(100-15) * 0.2 = 17
85

20%
Kitchen c
(100 - 20) * 0.2 = 16
(300 - 60) * 0.2 = 48
(100 - 20) * 0.2 = 16
80

x%
20%
Kitchen c
100 * 0.20 = 20
300 * 0.20 = 60
100 * 0.20 = 20
100

20%
Kitchen c
100 * 0.17 = 17
300 * 0.20 = 60
100 * 0.20 = 20
97

brand_com dish_com kitchen_com


27000*0.7 27000*0.1 27000*0.2
0 27000*0.8 27000*0.2
Direct / Single brand

OrderId DishId BrandId Qty


8865 523 Dish 1
8865 525 Dish 2
8865 526 Dish 1

Gross Net Platfrom fee


500 500 75

Direct / Multi brand

OrderId DishId BrandId Qty


8865 523 Dish 1
8865 525 KFC 2
8865 526 Burger King 1

Gross Net Platfrom fee


500 500 75

Third Party / Single brand

OrderId DishId BrandId Qty


8865 523 Dish 1
8865 525 Dish 2
8865 526 Dish 1

Gross Net Platfrom fee


500 500 75

Thirt parties / Multi brand (Grab)

OrderId DishId BrandId Qty


8865 523 Dish 1
8865 525 KFC 2
8865 526 Burgers king 1

Gross Net Platfrom fee


100
15%
15%
unitprice Total price Plateform fee
100 100 100 * 0.15 = 15
150 300 300 * 0.15 = 45
100 100 100 * 0.15 = 15
500 75

Net=Gross= D + K
Dish Serve Brand Commission Dish Commision (D)
340 0 415

15%
15%
unitprice Total price Plateform fee
100 100 100 * 0.15 = 15
150 300 300 * 0.15 = 45
100 100 100 * 0.15 = 15
Gross = Net 500 75

Net=Gross= B + D + K
Dish Serve Brand Commission (B) Dish Commision (D)
102 238 177

15%
15%
unitprice Total price Plateform fee
100 100 100 * 0.15 = 15
150 300 300 * 0.15 = 45
100 100 100 * 0.15 = 15
Gross = Net 500 75

Net<>Gross= D + K
Dish Serve Brand Commission (B) Dish Commision (D)
340 0 340

20%
20%
unitprice Total price Platform fee
100 100 100 * 0.2 = 20
150 300 300 * 0.2 = 60
100 100 100 * 0.2 = 20
500 100

Brand Commission (B) Dish Commision (D) Kitchen Commission (K)


224 96 80
100%
70% 10% 20%
Brand Commission Dish serve Kitchen c
0 (100-15) * 0.8 = 68 (100-15) * 0.2 = 17
0 (300-45) * 0.8 = 204 (300-45) * 0.2 = 51
0 (100-15) * 0.8 = 68 (100-15) * 0.2 = 17
0 340 85

Net=Gross= D + K
Kitchen Commission (K)
85

100%
70% 10% 20%
Brand C Dish serve Kitchen c
0 (100-15) * 0.8 = 68 (100-15) * 0.2 = 17
(300-45) * 0.7= 178.5 (300-45) * 0.1 = 25.5 (300-45) * 0.2 = 51
(100-15) * 0.7 = 59.5 (100-15) * 0.1= 8.5 (100-15) * 0.2 = 17
238 102 85

+D+K
Kitchen Commission (K)
85

100%
70% 10% 20%
Brand C Dish serve Kitchen c
0 (100-15) * 0.8 = 68 (100-15) * 0.2 = 17
0 (300-45) * 0.8 = 204 (300-45) * 0.2 = 51
0 (100-15) * 0.8 = 68 (100-15) * 0.2 = 17
0 340 85

Net<>Gross= D + K
Kitchen Commission (K)
85

100%
70% 10% 20%
Brand C Dish serve Kitchen c
0 (100 - 20) * 0.8 = 64 (100 - 20) * 0.2 = 16
(300-60) * 0.7 = 168 (300 - 60 ) * 0.1 = 24 (300 - 60) * 0.2 = 48
(100-20) * 0.7 = 56 (100 - 20) * 0.1 = 8 (100 - 20) * 0.2 = 16
224 96 80

You might also like