Which accounting method records income when it is earned, even though actual payment may not be received until later?

Which accounting method records income when it is earned, even though actual payment may not be received until later?