Not creat credit invoice plz help step by step

A PHP Error was encountered
Severity: Notice

Message: Undefined variable: credit_invoice_group

Filename: views/modal_create_credit.php

Line Number: 70

Could you please post the ID of the invoice and what your invoice group looks like?

How to use credit invoice

A credit invoice will duplicate the current invoice but set the amounts negative.

A PHP Error was encountered
Severity: Notice

Message: Undefined variable: credit_invoice_group

Filename: views/modal_create_credit.php

Line Number: 70
how to remove/…
give me a step by step…

As I said above:

Could you please post the ID of the invoice and what your invoice group looks like?

i am not a developer but give me a specific file name & what changes in this file…
so, i can able for credit invoice

You should give me the ID of the invoice and the template of your invoice group.
You should not change any files…

id is 5 & group is invoice group