Credit/Debit notes invoice lines

Dear ZATCA Community,

I would appreciate clarification on the following scenarios related to credit and debit notes

1- If I want to apply a document-level discount or charge as a credit/debit note,
Is this possible?
Then what should be the invoice lines?

2- If I want to only modify the buyer info
Is this possible?
What should be the invoice type and the invoice lines?

Any guidance would be greatly appreciated.
Thank you!