Wiktionary
filled the bill
vb. (en-past of: fill the bill)
Usage examples of "filled the bill".
It was he who pointed out that a candle should never be lit except with flint and steel, and a cigarette lighter filled the bill, infallibly.
He needed a companion, and for the time being she filled the bill well enough.
In his case the sparrows he shot out of hedges and bushes in his free time filled the bill.
Clearly, Prospero had wanted to provide a plausible explanation for being at the powercell depot, and a shopping expedition clearly filled the bill.
The next word was hard to make out-but I could think of a half dozen that filled the bill.
I was short a Second Hat, then, and he filled the bill until we got him a ship of his own.