How do I code a cash refund?

Cash refunds in Xero accounting software

Please be aware the Xero Dashboard has changed in appearance but the underlying functionality has remained the same.