This might seem confusing, but it's because "bill" has multiple meanings:
* Bill (noun): A piece of paper money.
* Bill (noun): A statement of money owed.
* Bill (noun): A proposed law.
* Bill (noun): A bird's beak.
* Bill (verb): To present a bill for payment.
So, while the word is spelled the same, the meaning can vary depending on the context.