How to credit and refund a posted invoice

A post was split to a new topic: Check invoice has not been credited