Skip to main content
Question

Merging Attachments into a PDF to link to a report

  • March 20, 2026
  • 6 replies
  • 99 views

Forum|alt.badge.img

Hi all,

 

I am looking for a way to merge all the attachments for the transactions (for e.g., and AP Bill) showing up on AP Edit Detailed report into a PDF and link it on the same report against respective transactions.

 

Please let me know if you have any suggestions/ alternatives for this. Appreciate your time!

6 replies

Samvel Petrosov
Jr Varsity III
Forum|alt.badge.img+9

Currently the way to do this is to develop a customization that would run your report (AP Edit Detailed), convert it to a PDF and merge the other attachments.


jhalling52
Jr Varsity I
Forum|alt.badge.img
  • Jr Varsity I
  • March 20, 2026

I would recommend voting for a similar product idea if you haven’t already:

 When emailing an invoice automatically attach all attached files | Community

 


meganfriesen37
Captain II
Forum|alt.badge.img+13

We did something like this with a customization for a customer of ours.  It does slow down the invoice processing time due to having to fetch all the PDFs and we had to do some fancy linking back through allocation rules I think.


KrunalDoshi
Varsity III
Forum|alt.badge.img+1
  • Varsity III
  • March 20, 2026

Hi ​@rjasani64,

There is no OOB solution for this. You will have to write a custom logic to achieve this. You can use 

PXNoteAttribute.GetFileNotes

and loop through each line in your AP Bill transaction and use .Net Library iTextSharp or iText7 or any other third-party PDF creation/merging tool, to later merge the contents of these files into one and create PDF along with your AP Edit Detailed (AP610500) report. Hope this helps.


Forum|alt.badge.img
  • Author
  • Freshman I
  • March 26, 2026

Thank you all for suggestions. I was hoping to do this OOB without any customization. I will discuss with the team internally about the next steps.


Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • April 24, 2026

@rjasani64  Just for your information, out of the box in Acumatica ERP, there is a screen called Substantiated Billing – Consolidated (PM650050). This screen is designed to merge all associated/attached documents into a single consolidated PDF file and allow it to be downloaded.

In your scenario, you can follow a similar approach by implementing the same underlying logic—combine the required attachments into one PDF, then attach that generated file to your report and include it in the email notification. This would provide a clean and efficient way to deliver all supporting documents together in a single file. 

Please let me know if you need any help with this.