A double entry for a transaction that offsets one amount against another on both sides of the cashbook is a Posted on:
You add the following when starting with the balance as per cash book when preparing the bank reconciliation statement except Posted on:
The account where the profit are distributed to the partner in their profit sharing ratio in partnership Posted on: