There are essentially two types of billing for contract work: Fixed Bid or Time & Materials. Both have their advantages and disadvantages. And you'd better know up-front which one your client has in mind before you start talking about money...