Create bill

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

Create a new bill for a vendor. Requires at least one line item with description, quantity, and unit_price. The bill is created in Draft status.

Example: Record a $5,000 expense from a content provider by creating a bill with two line items: consulting services and software license.

Constraints

  • vendor_id must reference a valid vendor on the site
  • At least one line item is required
  • period_end must be on or after period_start
  • purchase_order max 20 characters
  • footer max 1000 characters
  • Line item quantity must be > 0
  • Line item unit_price must be >= 0
Query Params
int32
required
Body Params
integer
required
string
required
length between 3 and 3
line_items
array of objects
required
length ≥ 1
line_items*
string
required
length ≤ 255
number
required
≥ 0.01
number
required
≥ 0
date
required
date
required
string
length ≤ 1000
string
length ≤ 20
metadata
object
Headers
string
required
Defaults to Bearer eyJ***
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json