Generating and viewing a bill