The invention provides a method for recording invoice information by a two-dimensional code. The method comprises the following steps of enabling a customer to access a two-dimensional code generating website through intelligent handheld equipment, computers and the like, and inputting invoice titles, such as name, identification number of a taxpayer, address and telephone, and opening bank and account number; enabling the website to generate the two-dimensional code containing the information, and feeding the two-dimensional code back to the customer; enabling the customer to store or print the two-dimensional code on an application medium in a picture way; connecting a host of an invoicing system and code scanning equipment, and installing decoding module software in the code scanning equipment or the host, so that an invoicing person can automatically record the invoice titles and the information by scanning the two-dimensional code without modifying the invoicing information. The method has the advantages that the recording process of the invoicing information is simplified, the workload is reduced, and the working efficiency is improved; any function and use habit of the original invoicing system are not changed; the fault rate is reduced, and the information is more accurately recorded; the information of the two-dimensional code can be encrypted, and the security is high.