For anyone else interested in the solution...here it is:
sap.ui.define([ "sap/ui/core/mvc/Controller", "sap/ui/model/json/JSONModel", "sap/ui/demo/wt/model/formatter" ], function (Controller, JSONModel, formatter) { "use strict"; return Controller.extend("sap.ui.demo.wt.controller.InvoiceList", { formatter: formatter, onInit : function () { } }); });
<attributes><ObjectAttribute text="{ path: 'invoice>Status', formatter: '.formatter.statusText' }"/></attributes>