BILL
App · Accounting & Finance · 20 actions
Manage accounts payable and receivable in BILL: vendors, bills, customers, invoices, payments and payment terms.
Actions
| Action | What it does |
|---|---|
| Archive a vendor | Archive a vendor so it no longer appears in BILL's active lists. |
| Create a bill | Record a bill a vendor has sent you. |
| Create a customer | Add a customer you invoice. |
| Create a vendor | Add a vendor to BILL. |
| Create an invoice | Issue an invoice to a customer. |
| Get a bill | Get one bill in full, including its approvers, with its amounts and due date written out. |
| Get a customer | Get one customer's full record. |
| Get a vendor | Get one vendor's full record. |
| Get an invoice | Get one invoice in full, with its lines and payments. |
| Get organization | Get your BILL organization's profile: name, address, tax details and account type. |
| Get session info | Check the BILL account and report which organization and user it is signed in as. |
| List bills | List the bills you owe. |
| List customers | List the customers on your BILL organization. |
| List invoices | List the invoices you have issued to customers. |
| List payment terms | List the payment terms set up on the organization, with the id bills, customers and invoices refer to. |
| List payments | List payments already made or scheduled. |
| List vendors | List the vendors on your BILL organization. |
| Update a bill | Change a bill. |
| Update a customer | Change a customer's details. |
| Update a vendor | Change a vendor's details. |
Archive a vendor
Archive a vendor so it no longer appears in BILL's active lists. BILL has no delete for vendors, and archiving an already archived vendor changes nothing.
Inputs
- Vendor
vendor_idtextRequired - The vendor's BILL id, which begins 009. Use 'List vendors' to find one; the id also appears in the vendor's BILL web address.
Outputs
archivedtrue/false- True once BILL reports the vendor archived.
statustext- Status of the action execution ("success" on success).
vendorobject- The vendor after archiving.
vendor_idtext- The vendor that was archived.
Example output
{
"archived": true,
"status": "success",
"vendor": {
"archived": true,
"id": "00901ACMEVENDORRECORD",
"name": "Northwind Paper Co"
},
"vendor_id": "00901ACMEVENDORRECORD"
}Create a bill
Record a bill a vendor has sent you. The invoice number and date are the ones on the vendor's own document.
Inputs
- Vendor
vendor_idtextRequired - The vendor's BILL id, which begins 009. Use 'List vendors' to find one; the id also appears in the vendor's BILL web address.
- Vendor invoice number
invoice_numbertextRequired - The number the vendor put on their invoice.
- Invoice date
invoice_datedateRequired - The date on the vendor's invoice.
- Due date
due_datedateRequired - When the bill has to be paid.
- Amount
amountnumber - The bill's amount, which becomes its single line. Leave blank only if you are filling in Line items.
- Line description
line_descriptiontext - What that single line is for.
- Line items
line_itemslist - Several lines instead of one amount. Each takes an amount, and optionally a quantity, price and description.
- Description
descriptiontext - A note about the bill as a whole.
- Payment term
payment_term_idtext - The payment term to apply to this bill.
- Pay from account
pay_from_chart_of_account_idtext - A chart-of-accounts id (beginning 0ca) to pay this bill from.
- Purchase order number
purchase_order_numbertext - Your PO number for this bill.
Outputs
billobject- The bill that was created.
bill_idtext- The new bill's id.
statustext- Status of the action execution ("success" on success).
Example output
{
"bill": {
"amount": 420.5,
"dueDate": "2026-10-15",
"id": "00n01ACMEBILLRECORD1",
"vendorId": "00901ACMEVENDORRECORD"
},
"bill_id": "00n01ACMEBILLRECORD1",
"status": "success"
}Create a customer
Add a customer you invoice. BILL requires a name and an email address.
Inputs
- Customer name
nametextRequired - The customer's name, as it should appear in BILL.
- Email
emailtextRequired - Where invoices go. BILL requires one on every customer.
- Company name
company_nametext - The customer's company name, if it differs from the name.
- Contact first name
contact_first_nametext - Given name of the person you deal with.
- Contact last name
contact_last_nametext - Family name of the person you deal with.
- Phone
phonetext - The customer's phone number.
- Fax
faxtext - The customer's fax number.
- Description
descriptiontext - A note about this customer, kept on their record.
- Invoice currency
invoice_currencytext - Three-letter currency code their invoices are issued in, such as USD, CAD, EUR or GBP.
- Account type
account_typetext - Whether the customer is a business or a person.One of:
NONE,BUSINESS,PERSON. - Payment term
payment_term_idtext - How long the customer has to pay an invoice. Sets the default term on their invoices.
- Account number
account_numbertext - Your reference for this customer. It appears on invoices.
- Billing address street
billing_address_line1text - Street address. If you fill in any part of the address, street, city, postal code and country are all required.
- Billing address street line 2
billing_address_line2text - Suite, floor or unit.
- Billing address city
billing_address_citytext - City or town.
- Billing address state or province
billing_address_state_or_provincetext - State, province or region.
- Billing address postal code
billing_address_zip_or_postal_codetext - ZIP or postal code.
- Billing address country
billing_address_countrytext - Two-letter country code, such as US, CA or GB.
Outputs
customerobject- The customer that was created.
customer_idtext- The new customer's id.
statustext- Status of the action execution ("success" on success).
Example output
{
"customer": {
"email": "billing@harbour.example",
"id": "0cu01ACMECUSTOMERREC",
"name": "Harbour Design Studio"
},
"customer_id": "0cu01ACMECUSTOMERREC",
"status": "success"
}Create a vendor
Add a vendor to BILL. An address is required: street, city, postal code and country.
Inputs
- Vendor name
nametextRequired - The vendor's name, as it should appear in BILL.
- Address street
address_line1textRequired - Street address. BILL requires an address on a new vendor.
- Address street line 2
address_line2text - Suite, floor or unit.
- Address city
address_citytextRequired - City or town.
- Address state or province
address_state_or_provincetext - State, province or region.
- Address postal code
address_zip_or_postal_codetextRequired - ZIP or postal code.
- Address country
address_countrytextRequired - Two-letter country code, such as US, CA or GB.
- Short name
short_nametext - A shorter name for the vendor, used on lists and reports.
- Your account number
account_numbertext - Your account number with this vendor -- the one on their billing statement.
- Account type
account_typetext - Whether the vendor is a business or a person.One of:
NONE,BUSINESS,PERSON. - Email
emailtext - The vendor's email address.
- Phone
phonetext - The vendor's phone number.
- Bill currency
bill_currencytext - Three-letter currency code their bills are issued in, such as USD, CAD, EUR or GBP.
- Legal company name
company_nametext - The vendor's registered company name, if it differs.
- Tax ID
tax_idtext - The vendor's tax identification number.
- Tax ID type
tax_id_typetext - Which kind of tax ID that is.One of:
EIN,SSN. - Track for 1099
track_1099true/false - Include this vendor's payments in 1099 reporting.
- Payment lead time (days)
lead_time_in_daysnumber - How many days ahead this vendor's payments must be sent.From 0 to 365.
- Combine payments
combine_paymentstrue/false - Pay several bills from this vendor in one payment.
- Payment term
payment_term_idtext - The payment term to apply to this vendor's bills.
Outputs
statustext- Status of the action execution ("success" on success).
vendorobject- The vendor that was created.
vendor_idtext- The new vendor's id.
Example output
{
"status": "success",
"vendor": {
"archived": false,
"id": "00901ACMEVENDORRECORD",
"name": "Northwind Paper Co"
},
"vendor_id": "00901ACMEVENDORRECORD"
}Create an invoice
Issue an invoice to a customer. Leave the invoice number blank and BILL generates one.
Inputs
- Customer
customer_idtextRequired - The customer's BILL id, which begins 0cu. Use 'List customers' to find one.
- Quantity
quantitynumber - How many units the single line is for. BILL requires a quantity on every line.
- Unit price
pricenumber - What one unit costs.
- Line description
line_descriptiontext - What that single line is for.
- Line items
line_itemslist - Several lines instead of one. Each needs a quantity, and optionally a price, description and taxable flag.
- Invoice number
invoice_numbertext - Your number for this invoice. Leave blank to let BILL generate one.
- Invoice date
invoice_datedate - The invoice's date. Defaults to today.
- Due date
due_datedate - When the customer has to pay.
- Payment term
payment_term_idtext - The payment term for this invoice, which sets how long the customer has to pay.
- Pay into account
pay_to_chart_of_account_idtext - A chart-of-accounts id (beginning 0ca) the payment should land in.
- Allow card payment
enable_card_paymenttrue/false - Let the customer pay this invoice by card.
- Email it to the customer
send_emailtrue/false - On sends the invoice to the customer's email address immediately. Off (the default) creates it quietly.Default:
false.
Outputs
emailedtrue/false- True when BILL was asked to email the customer.
invoiceobject- The invoice that was created.
invoice_idtext- The new invoice's id.
statustext- Status of the action execution ("success" on success).
Example output
{
"emailed": false,
"invoice": {
"customerId": "0cu01ACMECUSTOMERREC",
"id": "00e01ACMEINVOICEREC1",
"invoiceNumber": "INV-1042",
"totalAmount": 1250.0
},
"invoice_id": "00e01ACMEINVOICEREC1",
"status": "success"
}Get a bill
Get one bill in full, including its approvers, with its amounts and due date written out.
Inputs
- Bill
bill_idtextRequired - The bill's BILL id, which begins 00n. Use 'List bills' to find one.
Outputs
billobject- The bill's record.
statustext- Status of the action execution ("success" on success).
Example output
{
"bill": {
"amount": 420.5,
"amount_display": "$420.50",
"approvalStatus": "APPROVED",
"approvers": [
{
"approverOrder": 1,
"status": "APPROVED",
"statusChangedTime": "2026-10-18T16:02:11.000+00:00",
"userId": "00601ACMEUSERRECORD1"
}
],
"archived": false,
"billLineItems": [
{
"amount": 420.5,
"classifications": {
"accountingClassId": "",
"chartOfAccountId": "0ca01ACMEACCOUNTREC1",
"departmentId": "",
"itemId": "",
"locationId": ""
},
"description": "Copy paper, 40 cases",
"id": "bli01ACMELINERECORD1",
"price": 420.5,
"quantity": 1.0
}
],
"classifications": {
"accountingClassId": "",
"chartOfAccountId": "0ca01ACMEACCOUNTREC1",
"departmentId": "",
"itemId": "",
"locationId": ""
},
"createdBy": "00601ACMEUSERRECORD1",
"createdTime": "2026-10-02T15:04:05.000+00:00",
"creditAmount": 0.0,
"days_overdue": 12,
"days_until_due": 0,
"description": "Copy paper, October",
"dueAmount": 420.5,
"dueDate": "2026-10-31",
"due_amount_display": "$420.50",
"due_date_display": "Oct 31, 2026",
"exchangeRate": 1.0,
"fundingAmount": 420.5,
"id": "00n01ACMEBILLRECORD1",
"invoice": {
"invoiceDate": "2026-10-01",
"invoiceNumber": "INV-2041"
},
"invoice_date": "2026-10-01",
"invoice_number": "INV-2041",
"paidAmount": 0.0,
"payFromChartOfAccountId": "0ca01ACMEACCOUNTREC2",
"paymentStatus": "UNPAID",
"paymentTermId": "00p01ACMETERMRECORD1",
"purchaseOrderNumber": "PO-1187",
"recordStatus": "ACTIVE",
"scheduledAmount": 0.0,
"updatedTime": "2026-10-02T15:04:05.000+00:00",
"vendorId": "00901ACMEVENDORRECORD",
"vendorName": "Northwind Paper Co"
},
"status": "success"
}Get a customer
Get one customer's full record.
Inputs
- Customer
customer_idtextRequired - The customer's BILL id, which begins 0cu. Use 'List customers' to find one.
Outputs
customerobject- The customer's record.
statustext- Status of the action execution ("success" on success).
Example output
{
"customer": {
"email": "billing@harbour.example",
"id": "0cu01ACMECUSTOMERREC",
"name": "Harbour Design Studio"
},
"status": "success"
}Get a vendor
Get one vendor's full record.
Inputs
- Vendor
vendor_idtextRequired - The vendor's BILL id, which begins 009. Use 'List vendors' to find one; the id also appears in the vendor's BILL web address.
Outputs
statustext- Status of the action execution ("success" on success).
vendorobject- The vendor's record.
Example output
{
"status": "success",
"vendor": {
"archived": false,
"billCurrency": "USD",
"id": "00901ACMEVENDORRECORD",
"name": "Northwind Paper Co"
}
}Get an invoice
Get one invoice in full, with its lines and payments.
Inputs
- Invoice
invoice_idtextRequired - The invoice's BILL id, which begins 00e. Use 'List invoices' to find one.
Outputs
invoiceobject- The invoice's record.
statustext- Status of the action execution ("success" on success).
Example output
{
"invoice": {
"customerId": "0cu01ACMECUSTOMERREC",
"id": "00e01ACMEINVOICEREC1",
"invoiceNumber": "INV-1042",
"status": "OPEN",
"totalAmount": 1250.0
},
"status": "success"
}Get organization
Get your BILL organization's profile: name, address, tax details and account type.
Inputs
- Organization
organization_idtext - A BILL organization id, beginning 008. Leave blank for the organization saved when BILL was connected.
Outputs
organizationobject- The organization's profile.
organization_idtext- The organization that was read.
statustext- Status of the action execution ("success" on success).
Example output
{
"organization": {
"accountType": "BUSINESS",
"id": "00801ACMEORGANIZATION",
"name": "Acme Supplies Inc",
"phone": "415-555-0142"
},
"organization_id": "00801ACMEORGANIZATION",
"status": "success"
}Get session info
Check the BILL account and report which organization and user it is signed in as.
Inputs
None.
Outputs
mfa_bypasstrue/false- True when MFA is disabled at the developer-key level.
organization_idtext- The organization the connected account acts on.
sessionobject- The signed-in session, as BILL reports it.
statustext- Status of the action execution ("success" on success).
user_idtext- The BILL user Lodol signs in as.
Example output
{
"mfa_bypass": false,
"organization_id": "00801ACMEORGANIZATION",
"session": {
"mfaBypass": false,
"organizationId": "00801ACMEORGANIZATION",
"userId": "00601ACMEUSERRECORDID"
},
"status": "success",
"user_id": "00601ACMEUSERRECORDID"
}List bills
List the bills you owe. The rows carry everything a single bill does except its approvers: use 'Get a bill' for those. Beta: 'Due within days' and 'Only overdue' give every bill still to pay that is coming due or already late, and each bill comes with its invoice number, amounts and due date written out, with what the list adds up to.
Inputs
- Vendor
vendor_idtext - Only return bills from this vendor (an id beginning 009). Leave blank for every vendor.
- Payment status
payment_statustext - Only return bills in this payment status. Beta: 'Still owed' gives unpaid and partially paid bills together, which 'Unpaid' alone leaves out.One of:
PAID,UNPAID,PARTIALLY_PAID(Partially paid),SCHEDULED,IN_PROCESS(In process),STILL_OWED(Still owed (unpaid or partially paid)). - Archived only
archivedtrue/false - On returns only archived records, off only active ones. Leave unset for both.
- Due on or after
due_on_or_afterdate - Only return bills due on or after this date.
- Due on or before
due_on_or_beforedate - Only return bills due on or before this date.
- Created on or after
created_on_or_afterdate - Only return records created on or after this date.
- Maximum results
max_resultsnumber - How many records to return on this page (1-100). BILL returns 20 when this is blank.From 1 to 100.
- Page
pagetext - The 'Next page' value from an earlier run of this action. Leave blank for the first page.
- Sort by
sort_bytext - Which field to sort on. Leave blank for BILL's own order.One of:
dueDate,createdTime,updatedTime. - Sort direction
sort_directiontext - Which way to sort. Ascending unless you choose otherwise.One of:
asc,desc. - Due within days
due_within_daysnumber - Beta. Only bills still owed (unpaid or partially paid) that fall due from today through this many days ahead, soonest first: 7 on a Monday gives bills due that Monday up to and including the next Monday, and 0 gives bills due today. Bills already overdue are not included: use 'Only overdue' in a second step for those, and no bill is in both. For a weekly list where no day comes up twice, use 6. Every matching bill is returned in one list with its totals, so no date, paging or adding-up steps are needed; leave Maximum results and Page empty. Archived bills are left out unless Archived only is set, and Payment status narrows it if chosen.From 0 to 3650.
- Only overdue
overdue_onlytrue/false - Beta. Turn on to get just the bills still owed (unpaid or partially paid) whose due date was before today, longest overdue first. A bill due today is not overdue yet. Every matching bill is returned in one list with its totals, so no date, paging or adding-up steps are needed; leave Due within days, Maximum results and Page empty. Archived bills are left out unless Archived only is set, and Payment status narrows it if chosen.Default:
false.
Outputs
billslist- The bills that matched.
countnumber- How many bills this page carried.
incompletetrue/false- Beta. True when 'Due within days' or 'Only overdue' matched more than 1,000 bills and the list stops at the first 1,000.
next_pagetext- Cursor for the next page, or empty when this is the last one. Pass it back as 'Page'.
prev_pagetext- Cursor for the previous page, when there is one.
statustext- Status of the action execution ("success" on success).
total_amountnumber- Beta. What the bills in this list come to before any payments, e.g. 1670.5.
total_amount_displaytext- Beta. That total written out, e.g. $1,670.50.
total_countnumber- How many bills matched in total, across all pages.
total_due_amountnumber- The total amount still due across everything matched.
total_due_displaytext- Beta. The total still due, written out, e.g. $1,420.50. Each currency is added up on its own when there is more than one.
Example output
{
"bills": [
{
"amount": 420.5,
"amount_display": "$420.50",
"approvalStatus": "APPROVED",
"archived": false,
"billLineItems": [
{
"amount": 420.5,
"classifications": {
"accountingClassId": "",
"chartOfAccountId": "0ca01ACMEACCOUNTREC1",
"departmentId": "",
"itemId": "",
"locationId": ""
},
"description": "Copy paper, 40 cases",
"id": "bli01ACMELINERECORD1",
"price": 420.5,
"quantity": 1.0
}
],
"classifications": {
"accountingClassId": "",
"chartOfAccountId": "0ca01ACMEACCOUNTREC1",
"departmentId": "",
"itemId": "",
"locationId": ""
},
"createdBy": "00601ACMEUSERRECORD1",
"createdTime": "2026-10-02T15:04:05.000+00:00",
"creditAmount": 0.0,
"days_overdue": 12,
"days_until_due": 0,
"description": "Copy paper, October",
"dueAmount": 420.5,
"dueDate": "2026-10-31",
"due_amount_display": "$420.50",
"due_date_display": "Oct 31, 2026",
"exchangeRate": 1.0,
"fundingAmount": 420.5,
"id": "00n01ACMEBILLRECORD1",
"invoice": {
"invoiceDate": "2026-10-01",
"invoiceNumber": "INV-2041"
},
"invoice_date": "2026-10-01",
"invoice_number": "INV-2041",
"paidAmount": 0.0,
"payFromChartOfAccountId": "0ca01ACMEACCOUNTREC2",
"paymentStatus": "UNPAID",
"paymentTermId": "00p01ACMETERMRECORD1",
"purchaseOrderNumber": "PO-1187",
"recordStatus": "ACTIVE",
"scheduledAmount": 0.0,
"updatedTime": "2026-10-02T15:04:05.000+00:00",
"vendorId": "00901ACMEVENDORRECORD",
"vendorName": "Northwind Paper Co"
},
{
"amount": 1250.0,
"amount_display": "$1,250.00",
"approvalStatus": "APPROVED",
"archived": false,
"billLineItems": [
{
"amount": 420.5,
"classifications": {
"accountingClassId": "",
"chartOfAccountId": "0ca01ACMEACCOUNTREC1",
"departmentId": "",
"itemId": "",
"locationId": ""
},
"description": "Copy paper, 40 cases",
"id": "bli01ACMELINERECORD1",
"price": 420.5,
"quantity": 1.0
}
],
"classifications": {
"accountingClassId": "",
"chartOfAccountId": "0ca01ACMEACCOUNTREC1",
"departmentId": "",
"itemId": "",
"locationId": ""
},
"createdBy": "00601ACMEUSERRECORD1",
"createdTime": "2026-10-02T15:04:05.000+00:00",
"creditAmount": 0.0,
"days_overdue": 12,
"days_until_due": 7,
"description": "October freight",
"dueAmount": 1000.0,
"dueDate": "2026-11-19",
"due_amount_display": "$1,000.00",
"due_date_display": "Nov 19, 2026",
"exchangeRate": 1.0,
"fundingAmount": 1250.0,
"id": "00n01ACMEBILLRECORD2",
"invoice": {
"invoiceDate": "2026-10-20",
"invoiceNumber": "HFL-7731"
},
"invoice_date": "2026-10-20",
"invoice_number": "HFL-7731",
"paidAmount": 250.0,
"payFromChartOfAccountId": "0ca01ACMEACCOUNTREC2",
"paymentStatus": "PARTIALLY_PAID",
"paymentTermId": "00p01ACMETERMRECORD1",
"purchaseOrderNumber": "PO-1187",
"recordStatus": "ACTIVE",
"scheduledAmount": 0.0,
"updatedTime": "2026-10-02T15:04:05.000+00:00",
"vendorId": "00901ACMEVENDORRECORD2",
"vendorName": "Harbor Freight Lines"
}
],
"count": 2,
"incomplete": false,
"next_page": "",
"prev_page": "",
"status": "success",
"total_amount": 1670.5,
"total_amount_display": "$1,670.50",
"total_count": 2,
"total_due_amount": 1420.5,
"total_due_display": "$1,420.50"
}List customers
List the customers on your BILL organization.
Inputs
- Name starts with
nametext - Only return customers whose name starts with this.
- Archived only
archivedtrue/false - On returns only archived records, off only active ones. Leave unset for both.
- Account type
account_typetext - Only return records of this account type.One of:
NONE,BUSINESS,PERSON. - Created on or after
created_on_or_afterdate - Only return records created on or after this date.
- Updated on or after
updated_on_or_afterdate - Only return records changed on or after this date.
- Maximum results
max_resultsnumber - How many records to return on this page (1-100). BILL returns 20 when this is blank.From 1 to 100.
- Page
pagetext - The 'Next page' value from an earlier run of this action. Leave blank for the first page.
- Sort by
sort_bytext - Which field to sort on. Leave blank for BILL's own order.One of:
name,createdTime,updatedTime. - Sort direction
sort_directiontext - Which way to sort. Ascending unless you choose otherwise.One of:
asc,desc.
Outputs
countnumber- How many customers this page carried.
customerslist- The customers that matched.
next_pagetext- Cursor for the next page, or empty when this is the last one. Pass it back as 'Page'.
prev_pagetext- Cursor for the previous page, when there is one.
statustext- Status of the action execution ("success" on success).
Example output
{
"count": 1,
"customers": [
{
"archived": false,
"email": "billing@harbour.example",
"id": "0cu01ACMECUSTOMERREC",
"name": "Harbour Design Studio"
}
],
"next_page": "",
"prev_page": "",
"status": "success"
}List invoices
List the invoices you have issued to customers.
Inputs
- Customer
customer_idtext - Only return invoices for this customer (an id beginning 0cu). Leave blank for every customer.
- Status
statustext - Only return invoices in this status.One of:
PAID_IN_FULL(Paid in full),OPEN,PARTIAL_PAYMENT(Partial payment),SCHEDULED. - Archived only
archivedtrue/false - On returns only archived records, off only active ones. Leave unset for both.
- Created on or after
created_on_or_afterdate - Only return records created on or after this date.
- Updated on or after
updated_on_or_afterdate - Only return records changed on or after this date.
- Maximum results
max_resultsnumber - How many records to return on this page (1-100). BILL returns 20 when this is blank.From 1 to 100.
- Page
pagetext - The 'Next page' value from an earlier run of this action. Leave blank for the first page.
- Sort by
sort_bytext - Which field to sort on. Leave blank for BILL's own order.One of:
createdTime,updatedTime. - Sort direction
sort_directiontext - Which way to sort. Ascending unless you choose otherwise.One of:
asc,desc.
Outputs
countnumber- How many invoices this page carried.
invoiceslist- The invoices that matched.
next_pagetext- Cursor for the next page, or empty when this is the last one. Pass it back as 'Page'.
prev_pagetext- Cursor for the previous page, when there is one.
statustext- Status of the action execution ("success" on success).
total_countnumber- How many invoices matched in total, across all pages.
total_due_amountnumber- The total amount still due across everything matched.
Example output
{
"count": 1,
"invoices": [
{
"customerId": "0cu01ACMECUSTOMERREC",
"id": "00e01ACMEINVOICEREC1",
"invoiceNumber": "INV-1042",
"status": "OPEN",
"totalAmount": 1250.0
}
],
"next_page": "",
"prev_page": "",
"status": "success",
"total_count": 1,
"total_due_amount": 1250.0
}List payment terms
List the payment terms set up on the organization, with the id bills, customers and invoices refer to.
Inputs
- Organization
organization_idtext - A BILL organization id, beginning 008. Leave blank for the organization saved when BILL was connected.
- Days to pay
days_duenumber - Only return terms with exactly this many days to pay, such as 30 for Net 30.From 0 to 365.
- Maximum results
max_resultsnumber - How many records to return on this page (1-100). BILL returns 20 when this is blank.From 1 to 100.
- Sort by
sort_bytext - Which field to sort on. Leave blank for BILL's own order.One of:
name,createdTime,updatedTime. - Sort direction
sort_directiontext - Which way to sort. Ascending unless you choose otherwise.One of:
asc,desc.
Outputs
countnumber- How many payment terms this page carried.
next_pagetext- Cursor for the next page, or empty when this is the last one. Pass it back as 'Page'.
payment_termslist- The payment terms that matched.
prev_pagetext- Cursor for the previous page, when there is one.
statustext- Status of the action execution ("success" on success).
Example output
{
"count": 1,
"next_page": "",
"payment_terms": [
{
"daysDue": 30,
"id": "00p01ACMEPAYMENTTERM",
"name": "Net 30"
}
],
"prev_page": "",
"status": "success"
}List payments
List payments already made or scheduled. Making a payment needs an SMS-verified BILL session, so this app reads payments but never creates one.
Inputs
- Vendor
vendor_idtext - Only return payments to this vendor (an id beginning 009).
- Status
statustext - Only return payments in this status.One of:
APPROVING,SCHEDULED,PAID,CANCELLED,VOID,ESCHEATED. - Paid by
disbursement_typetext - Only return payments sent this way.One of:
CHECK,ACH,RPPS,PAYPAL,OFFLINE,INTERNATIONAL_E_PAYMENT(International e payment),AMEX,VIRTUAL_CARD(Virtual card),WALLET,CREDIT_CARD(Credit card). - Processed on or after
process_date_on_or_afterdate - Only return payments processed on or after this date.
- Processed on or before
process_date_on_or_beforedate - Only return payments processed on or before this date.
- Maximum results
max_resultsnumber - How many records to return on this page (1-100). BILL returns 20 when this is blank.From 1 to 100.
- Page
pagetext - The 'Next page' value from an earlier run of this action. Leave blank for the first page.
- Sort by
sort_bytext - Which field to sort on. Leave blank for BILL's own order.One of:
processDate,amount,createdTime,updatedTime. - Sort direction
sort_directiontext - Which way to sort. Ascending unless you choose otherwise.One of:
asc,desc.
Outputs
countnumber- How many payments this page carried.
next_pagetext- Cursor for the next page, or empty when this is the last one. Pass it back as 'Page'.
paymentslist- The payments that matched.
prev_pagetext- Cursor for the previous page, when there is one.
statustext- Status of the action execution ("success" on success).
Example output
{
"count": 1,
"next_page": "",
"payments": [
{
"amount": 420.5,
"disbursementType": "ACH",
"id": "stp01ACMEPAYMENTREC1",
"status": "PAID",
"vendorId": "00901ACMEVENDORRECORD"
}
],
"prev_page": "",
"status": "success"
}List vendors
List the vendors on your BILL organization.
Inputs
- Name starts with
nametext - Only return vendors whose name starts with this.
- Archived only
archivedtrue/false - On returns only archived records, off only active ones. Leave unset for both.
- Account type
account_typetext - Only return records of this account type.One of:
NONE,BUSINESS,PERSON. - Created on or after
created_on_or_afterdate - Only return records created on or after this date.
- Updated on or after
updated_on_or_afterdate - Only return records changed on or after this date.
- Maximum results
max_resultsnumber - How many records to return on this page (1-100). BILL returns 20 when this is blank.From 1 to 100.
- Page
pagetext - The 'Next page' value from an earlier run of this action. Leave blank for the first page.
- Sort by
sort_bytext - Which field to sort on. Leave blank for BILL's own order.One of:
name,createdTime,updatedTime. - Sort direction
sort_directiontext - Which way to sort. Ascending unless you choose otherwise.One of:
asc,desc.
Outputs
countnumber- How many vendors this page carried.
next_pagetext- Cursor for the next page, or empty when this is the last one. Pass it back as 'Page'.
prev_pagetext- Cursor for the previous page, when there is one.
statustext- Status of the action execution ("success" on success).
total_countnumber- How many vendors matched in total, across all pages.
total_due_amountnumber- The total amount still due across everything matched.
vendorslist- The vendors that matched.
Example output
{
"count": 1,
"next_page": "",
"prev_page": "",
"status": "success",
"total_count": 1,
"total_due_amount": null,
"vendors": [
{
"archived": false,
"email": "ap@northwind.example",
"id": "00901ACMEVENDORRECORD",
"name": "Northwind Paper Co"
}
]
}Update a bill
Change a bill. Only the fields you fill in are changed. Line items can only be edited, not added: each one needs the id BILL gave it.
Inputs
- Bill
bill_idtextRequired - The bill's BILL id, which begins 00n. Use 'List bills' to find one.
- Vendor
vendor_idtext - Move the bill to a different vendor (id begins 009).
- Due date
due_datedate - A new due date for the bill.
- Description
descriptiontext - A new note about the bill.
- Vendor invoice number
invoice_numbertext - A corrected invoice number from the vendor.
- Invoice date
invoice_datedate - A corrected date on the vendor's invoice.
- Payment term
payment_term_idtext - The payment term for this bill. Leave blank to keep the one it already has -- BILL requires a term on every update, so this step reads it back and sends it unchanged.
- Purchase order number
purchase_order_numbertext - A new PO number for this bill.
- Line items
line_itemslist - Existing lines to change. Each must carry the line's own id (beginning 'bli') from 'Get a bill'.
Outputs
billobject- The bill after the update.
bill_idtext- The bill that was updated.
statustext- Status of the action execution ("success" on success).
updated_fieldslist- The BILL fields this step changed.
Example output
{
"bill": {
"description": "September paper order",
"dueDate": "2026-10-31",
"id": "00n01ACMEBILLRECORD1"
},
"bill_id": "00n01ACMEBILLRECORD1",
"status": "success",
"updated_fields": [
"description",
"dueDate",
"paymentTermId"
]
}Update a customer
Change a customer's details. Only the fields you fill in are changed.
Inputs
- Customer
customer_idtextRequired - The customer's BILL id, which begins 0cu. Use 'List customers' to find one.
- Customer name
nametext - A new name for the customer.
- Email
emailtext - A new email address for invoices.
- Company name
company_nametext - The customer's company name, if it differs from the name.
- Contact first name
contact_first_nametext - Given name of the person you deal with.
- Contact last name
contact_last_nametext - Family name of the person you deal with.
- Phone
phonetext - The customer's phone number.
- Fax
faxtext - The customer's fax number.
- Description
descriptiontext - A note about this customer, kept on their record.
- Invoice currency
invoice_currencytext - Three-letter currency code their invoices are issued in, such as USD, CAD, EUR or GBP.
- Account type
account_typetext - Whether the customer is a business or a person.One of:
NONE,BUSINESS,PERSON. - Payment term
payment_term_idtext - How long the customer has to pay an invoice. Sets the default term on their invoices.
- Account number
account_numbertext - Your reference for this customer. It appears on invoices.
- Billing address street
billing_address_line1text - Street address.
- Billing address street line 2
billing_address_line2text - Suite, floor or unit.
- Billing address city
billing_address_citytext - City or town.
- Billing address state or province
billing_address_state_or_provincetext - State, province or region.
- Billing address postal code
billing_address_zip_or_postal_codetext - ZIP or postal code.
- Billing address country
billing_address_countrytext - Two-letter country code, such as US, CA or GB.
Outputs
customerobject- The customer after the update.
customer_idtext- The customer that was updated.
statustext- Status of the action execution ("success" on success).
updated_fieldslist- The BILL fields this step changed.
Example output
{
"customer": {
"companyName": "Harbour Design Ltd",
"id": "0cu01ACMECUSTOMERREC",
"name": "Harbour Design Studio"
},
"customer_id": "0cu01ACMECUSTOMERREC",
"status": "success",
"updated_fields": [
"companyName"
]
}Update a vendor
Change a vendor's details. Only the fields you fill in are changed.
Inputs
- Vendor
vendor_idtextRequired - The vendor's BILL id, which begins 009. Use 'List vendors' to find one; the id also appears in the vendor's BILL web address.
- Vendor name
nametext - A new name for the vendor.
- Address street
address_line1text - Street address.
- Address street line 2
address_line2text - Suite, floor or unit.
- Address city
address_citytext - City or town.
- Address state or province
address_state_or_provincetext - State, province or region.
- Address postal code
address_zip_or_postal_codetext - ZIP or postal code.
- Address country
address_countrytext - Two-letter country code, such as US, CA or GB.
- Short name
short_nametext - A shorter name for the vendor, used on lists and reports.
- Your account number
account_numbertext - Your account number with this vendor -- the one on their billing statement.
- Account type
account_typetext - Whether the vendor is a business or a person.One of:
NONE,BUSINESS,PERSON. - Email
emailtext - The vendor's email address.
- Phone
phonetext - The vendor's phone number.
- Bill currency
bill_currencytext - Three-letter currency code their bills are issued in, such as USD, CAD, EUR or GBP.
- Legal company name
company_nametext - The vendor's registered company name, if it differs.
- Tax ID
tax_idtext - The vendor's tax identification number.
- Tax ID type
tax_id_typetext - Which kind of tax ID that is.One of:
EIN,SSN. - Track for 1099
track_1099true/false - Include this vendor's payments in 1099 reporting.
- Payment lead time (days)
lead_time_in_daysnumber - How many days ahead this vendor's payments must be sent.From 0 to 365.
- Combine payments
combine_paymentstrue/false - Pay several bills from this vendor in one payment.
- Payment term
payment_term_idtext - The payment term to apply to this vendor's bills.
Outputs
statustext- Status of the action execution ("success" on success).
updated_fieldslist- The BILL fields this step changed.
vendorobject- The vendor after the update.
vendor_idtext- The vendor that was updated.
Example output
{
"status": "success",
"updated_fields": [
"phone"
],
"vendor": {
"id": "00901ACMEVENDORRECORD",
"name": "Northwind Paper Co",
"phone": "415-555-0188"
},
"vendor_id": "00901ACMEVENDORRECORD"
}