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.
Hi, When the general standard API cannot meet the requirements, you need to customize an API.
More details: https://yzhums.com/20960/
And similar to the question below. Maybe you can customize the API with Get Receipt Lines... feature.
Hope this can give you some hints.
Thanks.
ZHU