In many countries, small businesses pay taxes on gross income. Basically sales tax.
(of course, this is not relevant to the discussion at hand about a business in the US)
Of course it gets further complicated if your company is a standalone legal entity, but in that case you have a lot more funny scenarios, e.g. you can go to jail for acting against the interest of the company you are the sole owner of.