If you’re using the LEDES format, then each ‘timekeeper’ must have an hourly rate.
You can however enter flat fees into invoices by simply setting the quantity to one and the price to the flat fee total.