for juridical persons, the law of the place of incorporation, the lex incorporationis for companies while other forms of business entity derive their capacity either from the law of the place in which they were formed or the laws of the states in which they establish a presence for trading purposes depending on the nature of the entity and the transactions entered into.
When the law limits or bars a person from engaging in specified activities, any agreements or contracts to do so are either voidable or void for incapacity. Sometimes such legal incapacity is referred to as incompetence. For comparison, see Competence (law).