201Successful Response
Schema: SuccessEnvelope_BillResponse_
successbooleanmessagestringcodestringdataBillResponse
/api/v1/billsCreate a new bill in draft status. Optionally include 'recurring' config to also create a recurring template.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: BillCreateRequest
descriptionstringDescription of what the bill is for.
currencystringCurrency for the bill (USD, CAD, AUD, EUR, or GBP). Defaults to business default.
vendor_idstringUUID of the vendor this bill is from.
bill_numberstringBill/invoice number from the vendor. Auto-generated if not provided.
typestringBill type: 'recurring' (monthly rent, subscriptions) or 'one_time'.
expected_amountintegerExpected bill amount in cents.
expected_paid_on_datestring · date-time | stringExpected payment date (ISO 8601 format).
s3_keystringS3 key of uploaded bill document (PDF/image).
recurringRecurringConfigIf provided, creates a recurring template for this bill.
submitted_for_reviewbooleanWhen true, marks this draft as a client-submitted expense and notifies the assigned advisor to confirm or deny it.
Schema: SuccessEnvelope_BillResponse_
successbooleanmessagestringcodestringdataBillResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject