welcome back Nuno!

According to the datasheet (page 12 of 56, figure 22) a voltage divider is a good idea...
but use sufficiently big resistors, so that u dont waste more energy than necessary...
they say 600kR+1kR is good for 110V...
for 240V u can use 1MR+1kR, i guess...
maybe u need to adapt the capacitor?
maybe u can just omit the capacitor (just in case ur load distorts the voltage...)?

i dont know why they use transformers so often in this forum...
a voltage divider seems to more natural and easier...
maybe it is about isolation... if u use a voltage divider the meter has to share the ground/neutral line...