200Successful Response
Schema: SuccessEnvelope_ScheduledInvoiceListResponse_
successbooleanmessagestringcodestringdataScheduledInvoiceListResponse
/api/v1/invoices/scheduledForward-looking list of invoices that will auto-draft on their scheduled day — future occurrences of active recurring invoice templates and upcoming contract billing periods — within the horizon.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
daysintegerdefault: 90Horizon in days to project scheduled invoices forward (default 90, max 730). Only bounds templates/contracts without an explicit end date — a recurring template with an end date always projects its full remaining run through that date, regardless of this value.
Schema: SuccessEnvelope_ScheduledInvoiceListResponse_
successbooleanmessagestringcodestringdataScheduledInvoiceListResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.