201Successful Response
Schema: SuccessEnvelope_ContractInvoiceResult_
successbooleanmessagestringcodestringdataContractInvoiceResult
/api/v1/contracts/{contract_id}/generate-period-invoicesDraft the next billing period's invoice from recurring (each_period) and per-unit (approved hours x price) order lines. Idempotent per (contract, period): a period already drafted is not re-drafted.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
contract_idstringrequiredSchema: GeneratePeriodInvoicesRequest
period_datestringrequiredAny date within the billing period to draft (YYYY-MM-DD).
Schema: SuccessEnvelope_ContractInvoiceResult_
successbooleanmessagestringcodestringdataContractInvoiceResultSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject