Invoice

Creates an Invoice

Required permission: Invoices - Create

subtotal, total, tax, balance_due, is_paid, verified_paid, tech_marked_paid, pdf_url, customer_business_then_name and hardwarecost are computed from the line items and payments. They are returned on every response but ignored in a request; this endpoint has never accepted them.

post/invoices

Request body

customer_idinteger required
namestring
numberstring required

Defaults to your account's next invoice number.

datestring date-time required
created_atstring date-time
updated_atstring date-time
due_datestring date
date_receivedstring date
employeestring

Defaults to the email address of the API token's owner.

ticket_idinteger
location_idinteger
po_numberstring
notestring
took_paymentboolean
paidboolean

Take payment for the invoice as soon as it is created. Only applies when line_items are sent in the same call.

Response

Invoice created

Changes