Wrong invoice type code

Accidentally, one of our clients submitted simplified credit notes with code 383 instead of 381.

What is the solution for fixing the already submitted data? Please advise.

Please kindly reply for this question

If Debit Note is sent by mistake then you can reverse it by passing a Credit Note with exact same details (make a copy of that Debit Note and change invoice type code to 381 and send it to ZATCA). Then, you can send another Credit Note with correct details.