Skip to content
BILL logo

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

  1. Create a vendor bill in NetSuite when the bill is approved
  2. Post the bill amount to the AP channel in Slack

With NetSuite and Slack

Alert finance in Slack when a BILL payment fails

When

Payment failed

Then

  1. List payments to get the failed payment's vendor
  2. 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

  1. List vendors to check for a match
  2. 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

developer.bill.com/docs/bill-v3-api-get-started

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.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.