60% Off for 3 Months

Bills

A Bill is used to record a business transaction where the items and services from a Vendor have been provided to the business owner, but payment isn’t due until a later date. If you’ve already paid for an item or service in full, this would be an Expense instead. A bill is associated with a Vendor, so make sure to create/retrieve your vendor before you create a bill. See Bill Payments for paying a bill.

Access Requirements

Access

Requires Authorization

Scopes

user:bills:read
user:bills:write

Includes

Include Name

Description

vendor

include vendor details in response

Searches / Filters

Name

Field

Filter Type

Description

vendorid

vendorid

Equals

matches the id of the vendor

statuses

status

In

matches list of bill statuses

currency_code

currency_code

Equals

Eg. "USD"

ids

id

In

matches list of bill ids

Field Descriptions

underlined fields are required on creation

Field New Descriptions

Field

Type

Description

amount

object

Read-only. Computed from lines. subfields: amount and code

- amount

string

bill subtotatal amount excluding the taxes

- code

string

three-letter currency code

attachment

object

bill_number

string

reference to vendor bill number

bill_payments

array

Bill Payments made against the bill

created_at

datetime

Read-only. time the invoice was created, YYYY-MM-DD HH:MM:SS format

currency_code

string

three-letter currency code

due_date

date

date for which the bill is due for payment

due_offset_days

integer

number of days from the issue date that the invoice needs to be set to due

id

integer

uniquely identifies the bill associated with the business.

issue_date

date

date when the bill was issued by the vendor

language

string

two-letter language code, e.g. "en"

lines

array

array of bill line items, refer to bill line items object below

outstanding

object

Read-only. subfields: amount and code

- amount

string

outstanding/unpaid amount on the bill

- code

string

three-letter currency code

overall_category

string

Read-only. If multiple categories are selected in the bill lines, then overall_category is Split. Otherwise, it will be the selected category.

overall_description

string

Read-only. First non-null value of bill line descriptions

paid

object

Read-only. subfields: amount and code

- amount

string

Paid amount on the bill

- code

string

three-letter currency code

status

string

Read-only. Status of the bill: "unpaid", "overdue", "partial", "paid"

tax_amount

object

Read-only. Computed from lines. subfields: amount and code

- amount

string

total tax amount on the bill

- code

string

three-letter currency code

total_amount

object

Read-only. Computed from lines. subfields: amount and code

- amount

string

grand total amount on bill amount tax amount

- code

string

three-letter currency code

updated_at

string

Read-only. last time the resource was updated. YYYY-MM-DD HH:MM:SS format

vendorid

integer

vis_state

integer

0 for active, 1 for deleted, 2 for archived

Lines

Bill lines are used to determine the amount of a bill. Note:When updating lines with a PUT request, the request payload must contain all the lines of the invoice that you wish to remain.

Field

Type

Description

categoryid

integer

id of related expense category

category

string

Read-only. Name of related expense category

list_index

integer

Read-only. Line number on the Bill

description

string

description for the line item

quantity

integer

quantity of the line unit

unit_cost

object

unit cost of the line item. subfields: amount and code

- amount

string

unit cost amount, to two decimal places

- code

string

three-letter currency code

amount

object

Read-only. Total amount calculated from quantity and unit_cote

- amount

string

amount

- code

string

three-letter currency code

total_amount

object

Read-only.

- amount

string

- code

string

three-letter currency code

tax_name1

string

name for the first tax on the bill line

tax_name2

string

name for the second tax on the bill line

tax_percent1

integer

Percentage of first tax to 2 decimal places

tax_percent2

integer

Percentage of second tax to 2 decimal places

tax_authorityid1

string

tax_authorityid2

string

tax_amount1

object

Read-only. Calculated from tax details. subfields: amount and code

- amount

string

Paid amount on the bill

- code

string

three-letter currency code

tax_amount2

object

Read-only. Calculated from tax details. subfields: amount and code

- amount

string

total tax amount on the bill

- code

string

three-letter currency code

Bills - FreshBooks