Thanks P82. This has the functionality that I was looking for.

For service fees, Fabijo has a good thread on it here:

Calculating Admin expenses