repair debit_note on purchase_payment+sales_payment