Bill.com
Connect & Ingest data from BILL (Bill.com)
BILL (formerly Bill.com) is a financial operations platform that automates accounts payable (AP), accounts receivable (AR), and spend management for small and midsize businesses. The Sling Bill.com connector extracts data from the BILL v3 API, covering bills, invoices, payments, vendors, customers, and organizational data.
CLI Pro Required: APIs require a CLI Pro token or Platform Plan.
Setup
The following credentials and inputs are accepted:
Secrets:
username(required) -> Your Bill.com login email addresspassword(required) -> Your Bill.com login passwordorganization_id(required) -> Your Bill.com organization IDdev_key(required) -> Your Bill.com developer keybase_url(optional) -> API base URL. Defaults tohttps://gateway.prod.bill.com/connect. Usehttps://gateway.stage.bill.com/connectfor sandbox.
Inputs (optional):
anchor_date(optional) -> Starting date for initial incremental sync (ISO 8601 format). Defaults to 1 year ago.
Authentication
Bill.com uses session-based authentication with a developer key. You need four credentials:
Get your Organization ID: Go to Settings > Sync & Integrations > Manage Developer Keys
Generate a Developer Key: On the same page, click Generate developer key and accept the terms of service
Your username is your login email and password is your account password
Bill.com sessions expire after 35 minutes of inactivity. Sling automatically re-authenticates when the session expires.
Using sling conns
sling connsEnvironment Variable
See here to learn more about the .env.sling file.
Sling Env File YAML
See here to learn more about the sling env.yaml file.
For sandbox testing:
Replication
Here's an example replication configuration to sync Bill.com to a PostgreSQL database:
This replication syncs all Bill.com endpoints to PostgreSQL using full-refresh mode, except for recurring_bills and recurring_invoices which are disabled.
Endpoints
bills
AP bills with line items, payment status, and classifications
Yes
payments
AP payments to vendors
Yes
vendors
AP vendors
Yes
vendor_credits
Vendor credit memos
Yes
recurring_bills
Recurring bill schedules
No
invoices
AR invoices with line items and payment info
Yes
customers
AR customers
Yes
receivable_payments
Payments received from customers
Yes
credit_memos
AR credit memos
Yes
recurring_invoices
Recurring invoice schedules
No
chart_of_accounts
Chart of accounts / GL accounts
No
departments
Organization departments
No
locations
Organization locations
No
items
Organization items (products/services)
No
employees
Organization employees
No
jobs
Organization jobs
No
accounting_classes
Accounting classes for classification
No
users
Organization users
No
roles
User roles
No
bank_accounts
Organization bank accounts
No
Incremental Sync
Endpoints marked with Yes in the Incremental column support incremental sync using the updatedTime field. On the first sync, data is fetched from the anchor_date (defaults to 1 year ago). Subsequent syncs only fetch records updated since the last sync.
The recurring_bills and recurring_invoices endpoints do not support sorting or filtering by updatedTime, so they always run in full-refresh mode regardless of the configured mode.
If you are facing issues connecting, please reach out to us at [email protected], on discord or open a Github Issue here.
Last updated
Was this helpful?