201Successful Response
Schema: AddToInvoiceResponse
invoice_idstringrequiredadded_countintegerrequiredadded_amountintegerTotal amount added, in cents.
invoice_totalintegerNew invoice total, in cents.
/api/v1/time-entries/add-to-invoiceAppend billable time entries to a draft invoice and mark billed.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: AddToInvoiceRequest
invoice_idstringrequiredTarget invoice (must be draft).
time_entry_idsarray · stringrequiredTime entries to bill.
Schema: AddToInvoiceResponse
invoice_idstringrequiredadded_countintegerrequiredadded_amountintegerTotal amount added, in cents.
invoice_totalintegerNew invoice total, in cents.
Schema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject