Adding retention on invoices

Hiya

Using sage 50 accounts, setting our system up and customising the layouts. How do I include & show retention being deducted on the invoice?