{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-taxes-schema.json", "title": "Taxes", "x-generated": "2026-09-17", "x-method": "derived", "x-source": "openapi/grubhub-orders-openapi.yml#/components/schemas/Taxes", "type": "object", "properties": { "total": { "type": "integer", "description": "Deprecated. Use "merchantTotal" instead", "format": "int32", "deprecated": true }, "sales": { "type": "integer", "description": "Deprecated. Use "merchantSalesTotal" instead", "format": "int32", "deprecated": true }, "delivery": { "type": "integer", "description": "Tax portion attributed to delivery fees", "format": "int32" }, "restaurant": { "type": "integer", "description": "Deprecated. Use merchantTotal instead", "format": "int32", "deprecated": true }, "merchant_sales_total": { "type": "integer", "description": "Total sales amount generated by the merchant transaction, inclusive of taxes.", "format": "int64" }, "diner_sales_total": { "type": "integer", "description": "Total sales amount generated from the diner transaction, inclusive of taxes.", "format": "int64" }, "merchant_total": { "type": "integer", "description": "Total amount earned by the merchant after deducting taxes from their sales.", "format": "int64" }, "diner_total": { "type": "integer", "description": "Total amount paid by the diner, including taxes.", "format": "int64" }, "tax_source": { "type": "string", "description": "Indicates if either the merchant, Vertex, or an unknown source provided the rates leading to tax calculation.", "enum": [ "UNKNOWN", "MERCHANT", "VERTEX" ] }, "tax_area_id": { "type": "string", "description": "The tax area id associated with this order." } }, "description": "Taxes paid by the diner" }