Description
The billing API, inventory API and the bill search code still query the obsolete bill_perms and devices_perms tables for permissions, rather than the new entity_permissions table.
This means the billing API and inventory API will always fail when used by a user with a level less than 10, and the "User" field on the bills page is always empty.