Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Is it possible to include Bill/Vendor Credit Details in generated Electronic Payment Files?
Hello @Jack Daryl Espiel-Oracle --I am trying to follow a bank template format to include both Payments (CINV) and Credits (CREN).
I tried this but the credits aren't in the "payment" list:
<#list transHash[payment.internalid] as transaction>
<#if transaction.type = "vendorcredit">
<Strd>
<RfrdDocInf><Tp><CdOrPrtry><Cd>CREN</Cd></CdOrPrtry></Tp><Nb>${setLength(transaction.tranid,10)}</Nb>
</RfrdDocInf><RfrdDocAmt><CdtNoteAmt Ccy="SEK">${formatAmount(getAmount(payment),"decLessThan1")}</CdtNoteAmt></RfrdDocAmt>
</Strd>
<#else>
<Strd>
<RfrdDocInf><Tp><CdOrPrtry><Cd>CINV</Cd></CdOrPrtry></Tp><Nb>${setLength(transaction.tranid,10)}</Nb>
</RfrdDocInf><RfrdDocAmt>
<RmtdAmt Ccy="SEK">${formatAmount(getAmount(payment),"decLessThan1")}</RmtdAmt></RfrdDocAmt>
</Strd>
</#if>
</#list>
Any guidance would be appreciated. Thanks.