Customer Credit Invoice: fixed invalid processing of invoice payments (triggering...