entitlement, invoice: add new search and pagination APIs

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>