Coupon class and fare basis are 2 seperate things - the fare basis tells you how the fare was calculated, while the coupon class is what determines mileage earning and interline revenue sharing.
Often, the first letter of the fare basis is the coupon class, but not always.