amount => $amount,
sip => $sipmode,
note => $note,
accountlines_id => $accountlines_id,
library_id => $branchcode,
lines => $lines, # Arrayref of Koha::Account::Line objects to pay
}
-