201Successful Response
Schema: SuccessEnvelope_BillResponse_
successbooleanmessagestringcodestringdataBillResponse
/api/v1/bills/{bill_id}/journal-entryCreate the outstanding AP journal entry for a received bill that has none linked.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
bill_idstringrequiredSchema: BillJournalEntryGenerateRequest
ledger_idstringrequiredUUID of the expense ledger account to debit.
journal_entry_datestring · date-time | string · date | stringDate for the accounting journal entry (ISO 8601 or YYYY-MM-DD). Defaults to received_on.
Schema: SuccessEnvelope_BillResponse_
successbooleanmessagestringcodestringdataBillResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject