201Successful Response
Schema: SuccessEnvelope_SubmitBillForApApprovalResponse_
successbooleanmessagestringcodestringdataSubmitBillForApApprovalResponse
/api/v1/bills/{bill_id}/submit-for-ap-approvalManually route a forecasted bill into the firm's AP approval workflow. Use when a bill was approved before the workflow was provisioned or when automatic routing did not run. The bill moves from 'forecasted' to 'pending_approval' and posts to 'received' only once an approver signs off.
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_SubmitBillForApApprovalResponse_
successbooleanmessagestringcodestringdataSubmitBillForApApprovalResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject