This article is relevant if you need NetSuite to print more detail on check and payment vouchers.
Background
While we are seeing greater movement toward electronic payment methods, the need to explain how payment is applied against bills and invoices helps keep processing costs low. Let’s remember that one company’s accounts payable is another company’s accounts receivable. When a check is cut to pay a number of bills, those payments must be applied to the respective invoices in the recipient’s accounts receivable ledger.
NetSuite’s provided standard check voucher works for simple cases. However, NetSuite’s provided check voucher format does not tell the entire story when credits have been applied against invoices that are being paid. The credit application information is simply not expressed on the voucher and this may confuse the recipient. One of our clients asked us to help them enhance the check format information to reduce the number of inquires that came into their accounts payable department. Our senior consultant, Elie C., dug into the challenge and solved it. Thank you Elie!
The Applied Credits against Bill Payments Situation
The situation is the following:
- Vendor Bills: vendor bills are entered as normal
- Vendor Credits: vendor credits (also known as debit memos) are recorded for any needed reason; optionally, apply the credits to respective open bills.
- Bill Payments: when working to produce a payment, all the vendor bills including open unapplied credits can be selected to be paid. This will bind the story together.
In some situations, a vendor bill may have amounts open to be paid where there were credits already applied. In this case, a bill payment may pay a portion of the amount of the vendor bill. When reviewing the situation, it’s important to express how credits were applied to the vendor bill so that the recipient can understand the cash and credit application sequence.
NetSuite Advanced PDF Check Voucher
The good news is that NetSuite’s Advanced PDF, as opposed to its earlier basic printing engine, gives us control over the situation. The trick to solve this is to loop through the bill payment sublists and express the values.
There are two sublists that are part of the Bill Payment records:
- Apply (‘apply’): this list provides the traditional method for applying a payment to the bill. It includes information about discounts taken which may be helpful for the recipient Accounts Receivable staff.
- Credits Applied (‘credit’): this is the list that tells the story about the credits that have been applied against bills that participate in the bill payment transaction.
With this information in hand, we can then customize a standard Advanced PDF check voucher to loop through these lists and output the respective information.
The basic syntax elements are as follows:
- <#list check.credit as credit></#list>
- ${credit.appliedto}
See the related image to see the code pattern that should help you enhance your NetSuite PDF definition.
Make NetSuite Behave to your Wishes
The great thing about the NetSuite platform is its capacity to be adapted. Out of the box, NetSuite does a fabulous job taking care of basic requirements. Yet, if you need to go beyond what is offered, you are not stuck. You indeed can make NetSuite behave according to your wishes. The key is to leverage the technology platform to make it act according to your wishes.
If you found this article meaningful, feel free to get notifications of new articles. If you would like to get control over your check printing situation, let’s have a conversation.
Hi Marty,
Have you ever added invoice line item columns to customer statement (Transaction > customer > Individual Customer Statement)?
Let me know your opinion.
Regards,
Hamilton
Hello Hamilton,
I don’t believe that getting to the invoice lines are available native for the built-in customer statement. But we can easily do that with our Content Renderer Engine. Here is a reference article:
https://blog.prolecto.com/2016/06/19/yes-you-can-generate-a-netsuite-customer-statement-on-an-invoice-with-customer-deposit-accounting/
Marty
This is really good, Marty. And kudos to Elie for discovering how to get to the sublists. This is always a challenge when working with the Advanced Templates. Incidentally, I did noticed that the screen cap for the Advanced Template source code (last screen shot) is slightly cut-off on the right side. I’m curious to see what field references were selected since there are a few. Anyhow, keep up the great work. Your blogs are incredibly helpful!
Thank you Mike for the kind words! I may be mistaken on your reference but I deliberately kept the screenshot trimmed to just focus on the element where we reference the element that is hard to lookup.
Marty
Hi Marty,
Can we add the applied to invoice fields on Bill Payment / Check adanced pdf?
I added credit.appliedto and trying to add credit.appliedto.amount and credit.appliedto.amountdue
Any help would be appreciated.
Regards,
Anish
Anish,
Are you able to see any elements of the Credits Applied (‘credit’): or Apply (‘apply’): in your sublist references?
Marty
Hi Marty,
Do you know if there are corresponding search fields to the ones you use in the voucher code?
I would like to make a search to extract the voucher details but I am having the issue where the bills that are fully applied from credits are not showing as an applied to transaction on the payment even though they are present on the voucher.
Hey Marty thanks for explaining greatly. I just wanted to ask if is it possible to fetch the Vendor Credit data in suitescript as well? becasue when i m tying to get the linecount of credit lines, its showing us as -1.
In Suitescript, you should be able to. But related to this article, we are in the Freemarker template, not SuiteScript.
Marty
Hi,
Apart from the field of the applied credit subtab, I would like to ad a td refencing a vendor credit field directly from the record by match credit.refnum=tranid from the vendor credit, bring the field cust_operator_reference.
How can i do that?