Here is how we can customize PDF for the Email Notification. This can be done by uploading a Customized XML on the File Cabinet.
1. Navigate to Payment > Setup > Electronic Payments Preference
2. Take note of the Email Template for Vendor Payments
3. Navigate to Documents > File > File Cabinet
4. On the Search bar on the upper left corner, paste/search the Standard Customer Payment.xml
5. Click on Edit
6. On the File page, click Edit on the Media Item
7. Copy the whole code
8. Paste on Notepad
9. Edit the code and add your desired fields
10. Save on your computer and please do note that the file must be .xml
11. Go back to the File page Standard Customer Payment.xml (opened on step 6)
12. Click Save and New
13. Enter a File name
14. Select File: Click on Choose File
15. Select the .xml file that was created
16. Click on Save
17. Navigate to Payment > Setup > Electronic Payments Preference
18. Select the template that was recently create
19. Click Save
This will make the recently created .xml your preferred template on the Email Notification. Please be noted that the Customized PDF will only be applied once Email Notification is resend. It will not be applied on the old email notifications. Note that if the template that has been used is not the Standard XML, the PDF will not be attached on the record. This has been logged to Enhancement #282955 Payment File Administration > Email Payment Notification > Payment Notification > Ability to include a PDF file when using a custom template.
You can also check SuiteAnswers ID 89122 - Instances When the PDF File is Attached in the Email Sent Through the Email Payment Notification for more information.
Let us know if this works for you too 😊