You can add Payment by going to that specific customer without raising an Invoice. This will create a credit on your Customer. Once the service has been rendered, you can generate the Invoice and then manually update your earlier Payment to add it to the Invoice that you have just created