Fit the bill
Meaning
Meet the requirements of a particular situation.
Usage
Used when evaluating candidates or solutions.
Origin & History
Origins and dates here are approximate summaries. Many idioms have disputed or unknown origins, and not every date has been checked against a historical dictionary, so treat specific dates and stories as a starting point rather than a citation.
Probably from theatre posters: an actor who 'filled the bill' matched what the poster promised.
Recorded from the 19th century.