Integrate Grubhub Marketplace tax remittance reconciliation using the Partner Reporting API to separate marketplace-facilitated tax from direct-remittance obligations
Authenticate with Grubhub Partner API credentials and query the financial settlement report endpoint for a given settlement period
In each order record, identify the tax_collected_by_marketplace flag to determine whether Grubhub collected and remitted tax on behalf of the restaurant
For orders where the flag is false, extract the tax_amount and add it to the restaurant's own direct-remittance tax liability for the period
Build a jurisdiction-level summary that separates marketplace-facilitated tax (not owed by restaurant) from direct-remittance tax (owed by restaurant)
Reconcile the net payout amount against the restaurant's bank deposit by accounting for Grubhub's commission rate, delivery fees, and applicable marketing credits
Export the reconciliation to an accounting system using the settlement_id as the primary key for audit traceability
Known gotchas
Grubhub's marketplace facilitator tax coverage varies by state and changes as new legislation takes effect; the tax_collected_by_marketplace flag is the authoritative source and should not be hard-coded by jurisdiction
Marketing credits and diner promotions funded by Grubhub appear as positive line items in the settlement report and inflate apparent revenue; net them out before recording income
Settlement reports are generated on Grubhub's payment cycle (typically weekly); partial-period queries may return incomplete data until the cycle closes
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp