Connectors / Finance · HTTP Connector
BILL integration and API
Create a vendor, create a bill and create a payment in BILL, and start a workflow when BILL sends “Vendor created”.
What can you do with BILL on Tray.ai?
BILL is financial operations software for small and midsize businesses, handling accounts payable, accounts receivable, vendor payments, invoicing and spend management. Tray.ai connects to BILL through the HTTP Connector, so your workflows can call the BILL API alongside the rest of your stack.
- When BILL sends “Payment failed”, alert finance in your team chat with the vendor and amount.
- When BILL sends “Bill created”, open an approval task for the budget owner in your project tool.
- Create a vendor when procurement approves a new supplier in your purchasing system.
- Create an invoice in BILL for each closed-won deal in your CRM.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header
- Base URL
- https://gateway.prod.bill.com/connect/v3
Set it up
Connect BILL to Tray.ai
Each step uses BILL's own API details, from its documentation.
Save BILL's API key
Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.
Point the HTTP Client at the API
Add an HTTP Client step and use https://gateway.prod.bill.com/connect/v3 as the base URL. Or paste a cURL example from BILL's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List vendors”
It's one of 22 documented actions, under Vendors. The response comes back as data the next step can map into your other apps.
Start workflows from BILL events
Give BILL the URL of a Tray.ai webhook trigger. “Vendor created” can then start a workflow, and so can 7 other events.
Workflows to build with BILL
Connect BILL with Slack, NetSuite and Coupa
Each one uses actions and events from BILL's own API documentation.
Send approved BILL bills to NetSuite
When
Bill updated
Then
- Create a vendor bill in NetSuite when the bill is approved
- Post the bill amount to the AP channel in Slack
Alert finance in Slack when a BILL payment fails
When
Payment failed
Then
- List payments to get the failed payment's vendor
- Post the vendor and amount to the finance channel in Slack
With Slack
Add approved Coupa suppliers to BILL as vendors
When
A supplier is approved in Coupa
Then
- List vendors to check for a match
- Create a vendor with the supplier's details
With Coupa
Apps you can build on BILL data
Internal tools your team can build with an AI assistant, each one using BILL calls from its API documentation.
Bill approval board
Lists bills by vendor and lets an approver approve or deny each one.
Failed payment queue
Shows payments that failed with the vendor details so AP can retry them.
Customer invoice tracker
Lists invoices by customer and lets finance send an invoice or record a payment.
BILL MCP server for AI agents
Build an MCP server on BILL in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works
- List vendors
- List bills
- List payments
- List customers
- List invoices
- Create a vendor
- Update a vendor
- Archive a vendor
What the BILL API covers
5 resources and 22 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how. New to APIs? Read what an API integration is.
Vendors
- List vendors
- Create a vendor
- Update a vendor
- Archive a vendor
Bills
- List bills
- Create a bill
- Update a bill
- Approve or deny a bill
- Archive a bill
Payments
- List payments
- Create a payment
- Create a bulk payment
- Record an AP payment
Customers
- List customers
- Create a customer
- Update a customer
- Archive a customer
Invoices
- List invoices
- Create an invoice
- Update an invoice
- Send an invoice
- Record an AR payment
Events BILL can send to a Tray.ai webhook trigger
- Vendor created
- Vendor updated
- Bill created
- Bill updated
- Payment updated
- Payment failed
- Invoice created
- Invoice updated
Checked against BILL's own documentation on 2026-10-22
How Tray.ai makes this work
BILL plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in BILL, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose BILL actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on BILL data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore finance apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every finance connector →
Frequently asked questions
What can a Tray.ai workflow do in BILL?
The BILL API documents 22 actions across 5 resources (Vendors, Bills, Payments, Customers, Invoices). For example: List vendors; List bills; List payments. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with BILL?
The BILL API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which BILL events can start a Tray.ai workflow?
BILL sends 8 events to a webhook URL, for example: Vendor created; Vendor updated; Bill created; Bill updated; Payment updated; Payment failed; Invoice created; Invoice updated. A Tray.ai webhook trigger receives them and starts a workflow.
See BILL working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks. Someone from our team will be in touch soon.