Adding more method to query invoice