Bill a purchase order

Creates a bill for the purchase order in the connected accounting integration, the same action as pressing Bill on the purchase order in Katana. Only QuickBooks Online is supported for now, and the integration must be connected with purchasing and inventory assets sync enabled.

The bill is created asynchronously. A 202 means the request was queued, not that the bill exists yet. Follow the result through the billing_status of the purchase order (NOT_BILLED becomes BILLED) or through GET /purchase_order_accounting_metadata?purchase_order_id=, where the QuickBooks bill_id appears once the bill is created.

If the purchase order cannot be billed (it is a draft, it is already billed, it has no rows, or the integration is not connected) the request is still accepted with 202 and no bill is created; the billing status stays unchanged.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
1 to 2147483647

Purchase order id

Query Params
string
enum
required

Accounting integration to create the bill in. It must be connected to the account.

Allowed:
Body Params

bill details

date

Date of the bill in the accounting integration (YYYY-MM-DD). Defaults to the date the integration derives from the purchase order, as when billing from the UI.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Choose an example:
*/*
application/json