An embodiment of the invention relates to the field of information technology, particularly to a method and apparatus for editing a printed receipt based on a POS terminal, which are used for editing a printed receipt in a simple way. In the embodiment of the invention, application program codes of a POS terminal are packaged into at least two parts, and one part after the application program codes of the POS terminal are packaged is corresponding codes to format information of a printed receipt of the POS terminal, such that, the format information of the printed receipt of the POS terminal can be modified separately. Further, a printed receipt template is acquired, which is a graphical interface, according to an acquired printed receipt template identifier, such that, the user can edit the printed receipt template visually on the graphical interface of the printed receipt template, the editing process of the printed receipt is simplified, and the requirement of editing the printed receipt from a user is reduced.