201Successful Response
Schema: SuccessEnvelope_BillsListResponse_
successbooleanmessagestringcodestringdataBillsListResponse
/api/v1/bills/bulkCreate multiple bills from CSV data in a single request.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: BillBulkRequest
s3_keystringS3 key of the uploaded CSV file containing bill data.
approvebooleanIf true, created bills are set to 'forecasted' status (approved). If false, bills remain as 'draft'.
create_as_receivedbooleanIf true, every row is created in 'received' status with an accounting journal entry. Each row must have a resolvable expense ledger (ledger_id, ledger_name, or expense_account column) and a valid amount. Overrides approve when set.
attachmentsobjectOptional mapping of source filename → pre-uploaded S3 key (from POST /bills/upload). Rows whose attachment_filename matches a key in this map have the corresponding document attached.
Schema: SuccessEnvelope_BillsListResponse_
successbooleanmessagestringcodestringdataBillsListResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject