Guide to accounting foundations