When to issue a credit note, and what it must carry
A credit note adjusts a tax invoice that has already been issued and transmitted. You cannot simply delete or reissue the original: eTIMS invoice sequences must remain complete, and a gap in the sequence is itself a problem. The credit note is the mechanism for correcting the position.
The mandatory element is the reference to the original invoice, by number and date. That is what allows KRA to match the credit against the supply it adjusts, and it is the element most often missing when an adjustment is queried.
A credit note has a mirror effect. Your output VAT for the period falls by the VAT on the credit note; the customer input VAT claim falls by the same amount. That is why the customer needs their copy, and why a credit agreed informally without a note leaves both sides misstated.
Issue it in the period you agree the credit, not the period of the original invoice. Backdating a credit note into a filed period creates a mismatch between your records and your return, and the return is the one KRA sees.