Sounds like an extra hammer would have cost an $15+$420=$435. Anyways, we'll never know.
I will say, the one thing I believe, is that the government had a bucket of money to spend on the project. Let's say it was $1 million. And the contractor was going to get all of it, all $1 million. Not a penny more and not a penny less.
And so you can't really trust the invoice is accurate except for the total being the budget available to spend.