How to credit and refund a posted invoice

A post was split to a new topic: Can not find credit action