how to post a rent payment with agency commission

SUGGESTED

We receive a statement from the Letting agent, for example,

Rent they received from the tenant         £500.00

Agency fee of 8%                                    £40.00

plus vat                                                    £8.00

Balance sent to our bank account           £452.00

How should I post this is sage ?