curl --request POST \
--url https://us.api.flexprice.io/v1/tasks/scheduled/schedule-draft-finalization \
--header 'x-api-key: <api-key>'{}Triggers the draft invoice finalization workflow that scans computed draft invoices whose finalization delay has elapsed and finalizes them (assign invoice number, sync to vendors, attempt payment).
curl --request POST \
--url https://us.api.flexprice.io/v1/tasks/scheduled/schedule-draft-finalization \
--header 'x-api-key: <api-key>'{}Enter your API key in the format x-api-key <api-key>*
OK
The response is of type object.