Que tal , te comparto la siguiente sentencia
IF {OINV.DocCur}= 'USD' THEN
URLEncode("http://qrickit.com/api/qr?qrsize=100&d=") +URLEncode("?re=" + {OADM.RevOffice} + "%26rr=" + {OINV.LicTradNum} + "%26tt=" + ToText({OINV.DocTotalFC},"0000000000.000000",6) + "%26id=" + toText( {OINV.EDocNum}))
ELSE
URLEncode("http://qrickit.com/api/qr?qrsize=100&d=") +URLEncode("?re=" + {OADM.RevOffice} + "%26rr=" + {OINV.LicTradNum} + "%26tt=" + ToText({OINV.DocTotal},"0000000000.000000",6) + "%26id=" + toText( {OINV.EDocNum}))
SALUDOS