201Successful Response
Schema: SendStatementResponse
statusstringrequiredsent_tostringrequiredclosing_balanceintegerrequired
/api/v1/customer-statements/{customer_id}/sendBuild and email an A/R statement to the customer.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
customer_idstringrequiredSchema: SendStatementRequest
start_datestring · dateend_datestring · dateas_of_datestring · datecustom_messagestringOptional note included in the email body.
cc_emailstringOptional address to CC.
Schema: SendStatementResponse
statusstringrequiredsent_tostringrequiredclosing_balanceintegerrequiredSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject