Quickbooks does this. But I Hate quickbooks, I just don't know anything better.
I've been using QB both personally and professionally for over 15 years, it has just about every feature a small to medium sized business could want, and it's a default in the sense that you can go to just about any tax professional who prepares business tax returns and they will have no problem using your QB data, often by working with a copy of your actual company file, and providing year-end journal entries for you to reflect various tax adjustments.
The current problem is that Intuit is forcing everyone to subscription-only, even for the desktop product, and they've nearly doubled the annual license fee, mostly to try to force people to QB Online.