Nada Ahmed
08/10/2026, 12:45 PMCeligo AI
08/10/2026, 12:45 PMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** To display the document number without the invoice in the customer statement PDF, you need to modify the advanced PDF template of the customer statement. The document number can be accessed using the
line.description field in the template. Here is a sample code snippet that you can use as a reference:
html
<table class="itemtable" style="width: 100%; margin-top: 10px;"><!-- start items --><#list statement.lines as line><#if line_index==0>
<thead>
<tr>
<th colspan="3">${line.datecol@label}</th>
<th colspan="3">Due Date</th>
<th colspan="5">${line.description@label}</th>
<th colspan="4">PO#</th>
<th align="right" colspan="3">${line.charge@label}</th>
<th align="right" colspan="3">${line.payment@label}</th>
<th align="right" colspan="3">${line.balance@label}</th>
</tr>
</thead>
</#if><tr>
<td colspan="3">${line.datecol}</td>
<td colspan="3">${line.duedate}</td>
<td colspan="5">${line.description}</td>
<td colspan="4">${line.otherrefnum}</td>
<td align="right" colspan="3">${line.charge}</td>
<td align="right" colspan="3">${line.payment}</td>
<td align="right" colspan="3">${line.balance}</td>
</tr>
</#list><!-- end items --></table>
In this code, ${line.description} is used to display the document number. Please replace line.description with the actual field ID of the document number in your NetSuite account.Celigo AI
08/10/2026, 12:45 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.8276366
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824157596
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.822936893
Celigo AI
08/10/2026, 12:45 PM