201Successful Response
Schema: SuccessEnvelope_MonthEndPackageQueuedResponse_
successbooleanmessagestringcodestringdataMonthEndPackageQueuedResponse
/api/v1/month-end-packagesPersist a queued package row and start the Temporal build workflow.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: MonthEndPackageCreateRequest
accounting_period_idstringOptional accounting period UUID. If omitted, period_start and period_end are used directly.
period_startstring · dateRequired if accounting_period_id is not provided.
period_endstring · dateRequired if accounting_period_id is not provided.
report_formatMonthEndPackageFormatEnumMonthEndPackageFormatEnumPer-report format inside the zip (pdf or xlsx).
selected_reportsarray · stringrequiredReport keys to include in the package. Supported values: pl, balance_sheet, cash_flow, ar_aging, ap_aging, budget_vs_actual, bank_reconciliation.
Schema: SuccessEnvelope_MonthEndPackageQueuedResponse_
successbooleanmessagestringcodestringdataMonthEndPackageQueuedResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject