Octadecylphosphonic acid (C<sub>18</sub>H<sub>39</sub>O<sub>3</sub>P) is a chemical compound used in thermal paper for receipts, adding machines and tickets.