web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

Automate Purchase Invoice Creation from PDF Purchase Orders and Posted Receipt Lines

(0) ShareShare
ReportReport
Posted on by 268

Hi everyone,

I have a requirement in **Microsoft Dynamics 365 Business Central Version 28.4** and would appreciate some guidance on the best approach.

I receive a PDF document that contains multiple **Purchase Order (PO) numbers**, and under each PO number, the PDF contains the related item details.

For example:

**PDF:**

* PO No. IMPPO2526000040

 * Item A
 * Item B
 * Item C
* PO No. IMPPO2526000068

 * Item D
 * Item E

These Purchase Orders are already created in Business Central, and the corresponding **Purchase Receipts have already been posted**.

My requirement is:

1. Upload/attach the PDF to Business Central.
2. Read the Purchase Order numbers and item details from the PDF.
3. Create a **Purchase Invoice** for the relevant vendor.
4. For each PO number identified from the PDF, find the corresponding **posted Purchase Receipt lines** in Business Central.
5. Automatically add only the relevant receipt lines/items to the Purchase Invoice — similar to using **Get Receipt Lines**, but without manually entering/selecting each Purchase Order.
6. Ideally, the process should support a PDF containing a large number of Purchase Orders.

I have tried using **Payable Agent**, but it creates the Purchase Invoice without getting the required posted Purchase Receipt lines. Normal Purchase Invoice created.

Has anyone implemented a similar PDF → PO → Posted Receipt Lines → Purchase Invoice automation using Azure AI Document Intelligence, Power Automate, AI Builder, or AL?

Any architecture/code examples or recommendations would be greatly appreciated.

Thanks!
 

I have the same question (0)

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 607 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 421 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 375 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans