Hi everyone,
I’m working on building a custom ISO 20022 XML (pain.001.001.03) template in NetSuite to support Swiss QR-bill payments, and I'm encountering issues with two specific fields, QR IBAN and QR Reference, not populating in the output XML file.
I’m using the NetSuite Electronic Bank Payments SuiteApp to generate an ISO 20022 XML file that includes vendor information for payments via the Swiss QR-bill standard. The template requires fields specific to Swiss QR-bill payments:
- QR IBAN (
custentity_qr_iban) - Holds the vendor’s QR IBAN. - QR Reference (
custentity_qr_reference) - Holds the unique QR reference number provided by the vendor.
Template Details
In my Freemarker-based XML template, I've set up the following structure to pull these fields from the vendor record:
<CdtrAcct>
<Id>
<IBAN>${vendor.custentity_qr_iban}</IBAN>
</Id>
</CdtrAcct>
<RmtInf>
<Strd>
<CdtrRefInf>
<Tp>
<CdOrPrtry>
<Cd>SCOR</Cd>
</CdOrPrtry>
</Tp>
<Ref>${vendor.custentity_qr_reference}</Ref>
</CdtrRefInf>
</Strd>
</RmtInf>
Despite these fields being correctly set up on the vendor record, the QR IBAN and QR Reference fields are not appearing in the generated XML file.
Any help or suggestions on How to get those custom fields populating in the output XML file would be greatly appreciated.