@lubos please consider adding ability to select more than one invoice in a Credit or Debit note.
it is very common to issue credit notes or debit notes for more than one sales/purchase invoices. not selecting any invoice and letting the program automatically allocate the credit/debit causes issues in wrongly allocating it to the invoices we need to make payment or receive payment against.
it may also be noted that there are scenarios where credit/debit are only partially applicable to invoices. so the user would need the choice to manually allocate how much applies to which invoice.