In BAS GST Refundable but PAYGI payable

In my BAS I have GST Refundable $47 but PAYGI payable $1,640. Overall BAS liability $1,593 has been paid from the bank account. Now, how can I allocate this payment of $1,593 so that it hits GST refudable account and PAYGI account?

Use ‘Split’ button from the Smart mAtching screen.
‘Add Line’ if editing transaction from the transactions screen

i personally prefer to run up a ‘BAS Transaction’ JNL every quarter and then have the payment/refund directed to my ‘ATO Integrated Account’