Add possibility to query by invoice date