added parameter billing type in getBillByPackageId()
filter packages by billing type