Create a Bill and Vendor record in QuickBooks Online via the Accounting API

domain: developer.intuit.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

QuickBooks OAuth refresh token rotation — the full failure-mode walkthrough related to developer.intuit.com, checked against official docs, with linked verified routes.

Steps

  1. Authenticate with OAuth 2.0 and obtain a token scoped to 'com.intuit.quickbooks.accounting'
  2. If the vendor does not exist, POST to /v3/company/{realmId}/vendor with a JSON body containing at least 'DisplayName'
  3. Capture the vendor's 'Id' from the response to use as the 'VendorRef' on the bill
  4. POST to /v3/company/{realmId}/bill with a body that includes 'VendorRef', 'TxnDate', 'DueDate', and a 'Line' array where each line has 'DetailType': 'AccountBasedExpenseLineDetail' or 'ItemBasedExpenseLineDetail'
  5. For account-based lines, supply 'AccountRef' with the expense account Id; for item-based lines supply 'ItemRef' and 'Qty'
  6. Retrieve the created bill by GET /v3/company/{realmId}/bill/{Id} and confirm the 'Balance' equals the bill total

Known gotchas

Related routes

Create an invoice in QuickBooks Online via API
quickbooks.com · 4 steps · unrated
Create an invoice in QuickBooks Online via the Accounting API
developer.intuit.com · 6 steps · unrated
Create service and inventory item records in QuickBooks Online via the Item API
developer.intuit.com · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans