Totals of the repeating group lines

Thanks @NigelG,

I think I´ll have to start learning about this custom state thing and try what you say.

What I want to achieve really is this (I´ve just posted in the forum): Subtotals based on the tax %