Use SET NOTE to assign any note to a document. The note will also become visible, for example, in the Sales history. The inserted note can be printed out on the receipt, just in Print settings in the printing task Printing receipts activate the option Order note below Fields to print.