Skip to main content

Overview

The Bills API manages accounts payable - money your organization owes to vendors. Bills represent invoices received from vendors for goods or services and track payment obligations.

Bill Properties

PropertyTypeDescription
bill_idstringUnique identifier
vendor_idstringVendor/supplier ID
ap_account_idstringAccounts Payable GL account
tran_datestringBill date (YYYY-MM-DD)
due_datestringPayment due date
currencystringISO 4217 currency code
exchange_ratenumberExchange rate for multi-currency
memostringBill description
statusstringCurrent workflow status
posting_period_idstringAccounting period
linesarrayLine items with expense allocation

Bill Statuses

StatusDescription
DraftInitial state, can be modified
Pending ApprovalSubmitted for approval
On HoldTemporarily held
ApprovedAll approvals obtained
PostedPosted to the GL
RejectedRejected during approval
VoidedBill has been voided
Partially PaidSome payments applied
PaidFully paid
OverduePast due date, not fully paid

Line Item Structure

FieldTypeDescription
line_numbernumberSequential line number
account_idstringExpense account ID
descriptionstringLine description
quantitynumberQuantity
ratenumberUnit rate
amountnumberLine amount
tax_ratenumberTax rate (decimal)
tax_amountnumberCalculated tax

Endpoints

Bill Workflow

1

Create Bill

Create a bill from a vendor invoice with expense line items
2

Submit for Approval

Submit the bill for approval based on amount thresholds
3

Approve

Approvers verify the bill against purchase orders and receipts
4

Post

Bill is posted, creating AP liability
5

Pay

Record payments to reduce AP balance

Accounting Impact

When a bill is posted:
  • Debit: Expense accounts (per line items)
  • Credit: Accounts Payable
When a bill is paid:
  • Debit: Accounts Payable
  • Credit: Cash/Bank account