200Successful Response
Schema: SuccessEnvelope_BillResponse_
successbooleanmessagestringcodestringdataBillResponse
/api/v1/bills/{bill_id}/receiptMark a bill as received and create journal entry
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
bill_idstringrequiredSchema: BillReceivedRequest
bill_idstringUUID of the bill (set automatically from URL path).
amountintegerrequiredActual bill amount in cents. Must be greater than 0.
ledger_idstringrequiredUUID of the expense ledger account to categorize this bill. Required for creating the journal entry.
s3_keystringS3 key of the bill document.
journal_entry_datestring · date-time | string · date | stringDate for the accounting journal entry (ISO 8601 or YYYY-MM-DD).
received_onstring · date-time | string · date | stringDate the bill/goods were received (ISO 8601 or YYYY-MM-DD).
due_onstring · date-time | string · date | stringPayment due date (ISO 8601 or YYYY-MM-DD).
Schema: SuccessEnvelope_BillResponse_
successbooleanmessagestringcodestringdataBillResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject