Discussions

Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
Intelligent Payment Automation version 1.0.3 is now available in the SuiteApp Marketplace. The SuiteApp, powered by BILL, lets you automate payments, manage vendor details, and bank account information within NetSuite. Learn more

Inbound template json

Hi all, I have in Netsuite an inbound e-document template json format for mapping a xml file, but it does not working.

Does anybody know how to map xml with json dynamically?

I am taking a sample from Netsuite. 

{

"tranid": "${XML.Comprobante.Folio}",

"trandate": "${XML.Invoice.InvoiceHeader.InvoiceDate}",

"createdfrom": "${XML.Invoice.InvoiceHeader.PONumber}",

"item":[

<#list XML.Invoice.InvoiceDetails.InvoiceItem as item>

{

"vendorcode": "${item.ItemName}",

"quantity": "${item.Quantity}",

"amount": "${item.LineItemSubtotal?replace("$", "")}",

"tax1amt": "${item.TaxAmount?replace("$", "")}"

}

<#if item_has_next>,</#if>

</#list>

]

}

Does anybody know how to map xml with json dynamically?

Thanks. 

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 4 (Oct-Dec 2025)

This Week's Leaders

This Month's Leaders

All Time Leaders