Create Bill

View as Markdown

Creates a bill. bill_date, account_number, vendor_id, and items are required. allow_post is optional; when true, the bill is posted immediately after creation (the project must have allow_create_and_post enabled, otherwise the request is rejected with 400).

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

identitystring
The identity for the active project.

Request

This endpoint expects an object.
itemslist of objectsRequired
due_datedatetimeRequired
bill_datedatetimeRequired
vendor_idstringRequiredformat: "uuid"
allow_postbooleanRequired
adjustmentslist of objectsRequired
account_numberstringRequired

Response

Created
dataobject
statusboolean
messagestring