They both seem to me to be clearly passive voice here: It's written (by our management) on the receipt; It was purchased (by the customer) on sale. Of course, some of these structures take on adjectival qualities when the agent is more than hidden; it is almost forgotten, as in 'I'm tired'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.