A fare basis code (often just referred to as a fare basis) is an alphabetic or alpha-numeric code used by airlines to identify a fare type and allow airline staff and travel agents to find the rules applicable to that fare. Although airlines now set their own fare basis codes, there are some patterns that have evolved over the years and may still be in use.