Add Partial outstanding credit debit Payment from invoices, vendor bills, invoice Credit note, vendor refund
Add advance payment in separate liability and prepayment accounts and partner to partner transfer and return advance payment to customer or from vendor
Invoice Sequence by company