Order API and Gross Sales
I'm trying to correlate Order data from the Orders API with the Toast Sales Summary report. Please describe what order data property values from an Order object compose Gross Sales in the Toast Sales Summary Report.
What Order (Order, Check, Selection) amount property values are used to sum Gross Sales?
What Order (Order, Check, Selection) boolean property values are used to determine when to include/exclude order amounts when summing up Gross Sales (e.g. voided, deleted, deferred, etc.)
-
In Toast reports, gross sales is computed as net sales + discounts. Gross sales identifies the value of restaurant (non-gratuity) services and items sold before deductions are taken.
The price field for each menu item in the order is the item price minus discounts.
The amount field for each check sums the price values and adds service charges.
This guide provides an overview of order amount information. If the order, check, or selection contains the boolean deleted or voided as true, omit those from your calculations.
0 -
Hi Ann,
I wanted to confirm: I'm only taking the voided property of each selection into consideration as I sum the preDiscountPrice of each item in the selections array to calculate gross sales. Would that be a correct approach? By taking preDiscountPrice into consideration, I wouldn't have to perform the additional arithmetic operation of subtraction later (if I were to take net sale into consideration).
0 -
Hello Amiteshwar Mann,
That is correct. The preDiscountPrice represents the gross sale price for the selection excluding tax. If the voided property is true you can omit those selections from your gross sales calculations.
Thanks!
0
Please sign in to leave a comment.
Comments
3 comments