POS doubled in entry

Hi Community,

I have been assessing ERPNext for our organization and I have been confused using the POS of ERPNEXT when i check the accounting ledger of 1 sales invoice it states that the amount was doubled detailed in the imgae below.

this is very correct.The debtor account was merely tracked.You can see it is in and out.

Thsnk you fred