format.format({value: openInvoice.amountRemaining,...
# suitescript
d
format.format({value: openInvoice.amountRemaining, type: format.Type.CURRENCY})