Thank you for your question. I see you’re past the most difficult part of using Linx with Xero, so most of the rest is quite easy.
The values we receive from Xero are normally codes that refer to values, for instance, in the results for an invoice, a Paid invoice will give us a code of 5. If you look at the Status Type for Xero within Linx, the type would actually be integers, but we’ve enumerated the values to understandable names (i.e. PAID).
However, when you’re carrying the data forward, you are using the integer values (5) and writing that to a file.
There’s a couple of ways to rather show “Paid” instead of “5”. One of the easiest (most understandable) ways is to do an IfElse, and check for the values received, creating a string values you’d want to use.
I’m going to create a small example solution in a bit and attach it here to show some options.