Debit Note Issue : About Calculations and How it will work?

I have completed all the steps from creating XML format , clearance to simulation environment but i want more clearance about debit note because might be my way of debit note calculations is not correct. let me explain below everything

Suppose User A issued 100 riyal invoice ( Product A : Amount 100 riyal ) for Customer B and later User A wants to increased the amount of same issued invoice because of miscalculations in amount in Product A so User A changed 100 riyal of Product A Amount to 120 riyal.

so now in debit note do i have to show extra 20 riyals only with product name Product A

or do i have to show 120 riyal with product name Product A

It is up to you … the most important is to mention your reference to orignal invoice …

@UnitedDev you may issue Debit Note for extra 20 riyal.

can you read full details above and then provide me any suggestion , because mistake in calculations will lead to fine or wrong submission.

@UnitedDev debit notes and credit notes are issued only for the differential amounts.