In Dynamics 365 Business Central, We couldn't create invoice for a specific purchase order through API as in the API, there is no option to provide the purchase order details. Also, we do have options like orderId and orderNumber, but, these are read-only.
Please let us know how can we create invoice for a specific purchase order through API.