This isn’t a legal opinion or advice. I’m not your lawyer. Don’t rely on it. You’ll go to hell if you do. Good. That’s out of the way.
The IRS says that an activity is an unrelated business (and subject to unrelated business income tax) if it is a trade or business that is regularly carried on and is not substantially related to furthering the exempt purpose of the organization. The IRS excludes from unrelated income a business in which substantially all the work is performed for the organization without compensation (e.g., bake sale). So maybe this applies. I don’t really know how this plays out in the statutes, cases, and IRS letter rulings, and I have no opinion about it.
But, the IRS doesn’t control Texas sales taxes. The Texas Comptroller says on its website:
The exemption from sales tax is for items an organization buys, not for the items it sells. Exempt organizations and other nonprofit organizations must get a sales tax permit (PDF) and collect and remit sales tax on all taxable items they sell, unless an exemption or exception applies.
The exempt or nonprofit organization does not need a sales tax permit if it: sells taxable items only during qualified tax-free fundraisers; sells only nontaxable items; or raises funds only by using a for-profit entity to sell taxable items.
The fundraising company can collect sales tax on the price of each taxable item, or it can be included in the price of each taxable item. If tax is included in the price of the item, the customer must be told that tax is included in the price.
IRC 501©(3) organizations can hold two one-day, tax-free sales or auctions each calendar year. An organization can hold the two tax-free sales back-to-back for a maximum of 48 consecutive hours during which they are not required to collect sales tax.
These organizations must apply with the Comptroller’s office and receive sales tax exempt status before holding a tax-free sales day.
And now you know.