Notifications
Announcements
I am trying to create an purchase invoice for a purchase order. I am able to achieve this through business central UI. However, through API's, I am not able to link the invoice with the PO.
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_purchaseinvoice_create
Is it not possible to create a purchase invoice for a given purchase order through the API?
As far as I know, this is not a standard feature.You may consider customizing a new API to perform this conversion process.
Hope the following can give you some hints.
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-creating-and-interacting-with-odatav4-bound-action
https://yzhums.com/20111/
Thanks.
ZHU
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,167
Dhiren Nagar 1,184
YUN ZHU 1,161 Super User 2025 Season 2