Gross revenue is how much revenue you bring in directly from sales, after discounts. It does not include any shipping & handling, taxes, or any refunds. Gross revenue, as opposed to net revenue, is sometimes used to remove any confounding effects of refunds.
Gross revenue = Total sales - Discounts
In Shopify, gross revenue can be derived from subtotal_price and refunds.