Grubhub · Schema

Taxes

Taxes paid by the diner

Food DeliveryRestaurantMarketplaceOnline OrderingPoint-of-SaleLogisticsLast Mile DeliveryMenu ManagementHospitalityLocal CommerceDelivery

Properties

Name Type Description
total integer Deprecated. Use "merchantTotal" instead
sales integer Deprecated. Use "merchantSalesTotal" instead
delivery integer Tax portion attributed to delivery fees
restaurant integer Deprecated. Use merchantTotal instead
merchant_sales_total integer Total sales amount generated by the merchant transaction, inclusive of taxes.
diner_sales_total integer Total sales amount generated from the diner transaction, inclusive of taxes.
merchant_total integer Total amount earned by the merchant after deducting taxes from their sales.
diner_total integer Total amount paid by the diner, including taxes.
tax_source string Indicates if either the merchant, Vertex, or an unknown source provided the rates leading to tax calculation.
tax_area_id string The tax area id associated with this order.
View JSON Schema on GitHub

JSON Schema

grubhub-taxes-schema.json Raw ↑
{
  "$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"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/grubhub-taxes"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.