It's still income so it should really be tagged to an invoice, rather than sitting on the client account. The purchase of the dog food is a separate concern, as if you your company were making a direct donation.
You could create an additional sales invoice and pay it down with those account credits. Then a purchase invoice for the dog food.
I'm not an accountant or bookkeeper so you may want to also seek a professional opinion.