The intelligent way to create and pay bills, send invoices, and get paid. Get started with BILL.
Go to siteThe BILL API enables automation of accounts payable and receivable processes. With this API on Pipedream, you can create workflows that streamline financial operations, sync invoices, and manage transactions. Pipedream's serverless platform allows you to connect BILL with various other apps to trigger actions based on events, ensuring seamless financial data handling.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bill: {
type: "app",
app: "bill",
}
},
async run({steps, $}) {
const data = {
"devKey": `${this.bill.$auth.developer_key}`,
"sessionId": `${this.bill.$auth.sessionId}`,
}
return await axios($, {
method: "post",
url: `https://${this.bill.$auth.environment}.bill.com/api/v2/GetSessionInfo.json`,
data,
})
},
})
Automate Invoice Processing: Trigger a workflow in Pipedream when a new invoice is created in BILL, and automatically send an email notification to relevant parties using the Gmail integration. This keeps everyone informed about new invoices without manual effort.
Vendor Payment Confirmation: Set up a Pipedream workflow that listens for a payment status update in BILL, and upon successful payment, notifies the vendor via Slack and logs the transaction in a Google Sheets document for record-keeping.
Expense Monitoring: Create a Pipedream workflow that triggers on a regular schedule to fetch recent transactions from BILL, analyze expenses, and post a summary to a designated Slack channel to help maintain budget oversight.
BILL uses OAuth authentication. When you connect your BILL account, Pipedream will open a popup window where you can sign into BILL and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any BILL API.
Pipedream requests the following authorization scopes when you connect your account:
do not use
POST
https://{{custom_fields.environment}}.bill.com/api/v2/Login.json
content-type: application/x-www-form-urlencoded
accept: application/json
userName={{custom_fields.username}}
&
password={{custom_fields.password}}
&
devKey={{custom_fields.developerKey}}
&
orgId={{custom_fields.organizationId}}