DOC TYPE DOUBLE ENTRIES
INV DR Debtor CR Sales
OR DR Bank CR Debtor
CN DR Sales Return CR Debtor
DN DR Debtor CR Contra Account
GL PV DR Contra Account CR Bank
Note: After the Entries, You can go to Customer>Customer Knock off to Knock-off the DN and CN.
Full documentation please refer HERE