Is it possible to call a lua script after a call to for example write billing records? What’s the best way of doing this?