Hi All,
I am not able to understand how the discount is posting in AP.
My doubt is we have booked an invoice for $8990 and we are doing partial payment of $1000 given cash discount 0.5% for partial payment "yes" AP parameters.
Invoiced entry:

Payment of $1000:


Here is my doubt payment of 1000 and we have discount of 1000*0.5% = $5.03 so we have to pay $995 after discount so bank account(110110) has to credit by $995 but it is crediting by $1000 and same way for vendor account (200110) has to debit by $995 but it is debiting by 1000+5.03.
Individual GL account are effecting. Please provide me the detail explanation how it is working.
Thanks,
Vinod Kumar