The outstanding amount can be adjusted against the expenses account while creating/updating the purchase invoice.

Please refer below screenshot for more help.