Announcements
No record found.
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.
Congratulations to our 2026 Super Stars!
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 1,986 Super User 2026 Season 1
YUN ZHU 1,071 Super User 2026 Season 1
Dhiren Nagar 975 Super User 2026 Season 1