Authenticate to Bill.com and create a bill via the Bill.com API

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

Steps

  1. Obtain API credentials (developer key + application key) from the Bill.com developer portal; production access requires a separate application and approval from Bill.com.
  2. Authenticate by POSTing to https://api.bill.com/api/v2/Login.json with form-encoded body containing 'userName', 'password', 'orgId', 'devKey', and 'appkey'; the response returns a 'sessionId' used for all subsequent requests.
  3. Include 'sessionId' and 'devKey' as form fields in every subsequent API request — Bill.com uses a session-based auth model, not bearer tokens.
  4. Create a vendor first if one does not exist by POSTing to /api/v2/Crud/Create/Vendor.json with a JSON-encoded 'obj' field containing 'name', 'email', and 'address' fields.
  5. Create a bill by POSTing to /api/v2/Crud/Create/Bill.json with 'obj' containing 'vendorId', 'invoiceDate', 'dueDate', 'billLineItems' array (each with 'chartOfAccountId' and 'amount'), and 'description'.
  6. Sessions expire after a period of inactivity — implement session refresh or re-login logic rather than assuming a session remains valid across long-running batch processes.

Known gotchas

Related routes

Authenticate to the BILL v3 API and create an accounts-receivable invoice
developer.bill.com · 6 steps · unrated
Create an AP bill and initiate a payment in Bill.com (BILL)
developer.bill.com · 6 steps · unrated
Authenticate to the Splynx ISP billing API using API keys or HMAC signatures
splynx.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ 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