Quick question about debit note and how it will work?

This is the question about Debit Note

As we know editing and deletion of invoice is not allowed. So using below scenario i want to how debit note XML format will work?

Suppose user A created invoice for customer B ( Item A : Total amount 100 riyal )
and later customer A demanded change in service so User A will issue Debit note on same invoice , so now new invoice amount will be ( Item A : Total amount 130 riyal ).

my question in debit note XML format do i have to show extra 30 riyal for Item A only or do i have to show total 130 riyal for Item A

I hope you guys understand the question

You just need to make Debit Note for 30 Riyals