No person, firm, copartnership, corporation, association or other organization, or any combination of any thereof, engaged in the business or acting in the capacity of a contractor shall bring or maintain any action in the courts of this State for the collection of compensation for the performance of any act or contract for which a license is required by this chapter without alleging and proving that such person, firm, copartnership, corporation, association or other organization, or any combination of any thereof, was a duly licensed contractor at all times during the performance of such act or contract and when the job was bid.
NRS 624.320