CN111679872A - Invoice head-up information filling method and device, electronic equipment and storage medium - Google Patents
Invoice head-up information filling method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111679872A CN111679872A CN202010801567.4A CN202010801567A CN111679872A CN 111679872 A CN111679872 A CN 111679872A CN 202010801567 A CN202010801567 A CN 202010801567A CN 111679872 A CN111679872 A CN 111679872A
- Authority
- CN
- China
- Prior art keywords
- head
- information
- positioning
- invoice
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4482—Procedural
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/04—Billing or invoicing
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Development Economics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses an invoice head-up information filling method and device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring head-up information of invoices to be issued, and generating a list to be issued according to the head-up information; receiving a selection instruction aiming at the head-up information issued according to a list to be issued, and determining the target head-up information of the current invoice to be issued; automatically positioning the position of a head-up input frame in a current billing main window to obtain positioning information of the head-up input frame; and according to the head-up input box positioning information, sequentially filling the target head-up information into the corresponding head-up input boxes to finish head-up information filling. According to the method and the device, the position of the head-up input box in the current invoicing main window can be automatically positioned, the positioning information of the head-up input box is obtained, and then the target head-up information is filled into the corresponding head-up input box according to the positioning information of the input box, so that the automatic filling of the invoice head-up information is realized, the use difficulty and cost of invoicing are reduced, and the invoicing efficiency is remarkably improved.
Description
Technical Field
The present application relates to the field of financial information technology, and more particularly, to an invoice new line information filling method and apparatus, an electronic device, and a computer-readable storage medium.
Background
In order to save the cost of taxpayers and reduce the tax rate, and simultaneously, in order to reduce the hardware cost of enterprises, an electronic invoice public service platform is produced, the platform can provide free electronic invoice issuing services for the taxpayers, and value-added tax invoice issuing software based on UKey version is developed as an issuing system for relevant invoices such as value-added tax special invoices, value-added tax common invoices and the like, namely value-added tax invoice issuing software (tax UKey version). However, UKey edition value-added tax invoice issuing software is developed based on a QT frame without handles, and is not developed by adopting a technical mode with handles or a webpage technology, so that the technology used by third-party auxiliary invoice issuing software existing on the market at present cannot meet the full-automatic rapid head-up filling requirement of the UKey edition value-added tax invoice issuing software, the use difficulty and the operation cost of issuing invoices by merchants are increased, and the invoice issuing efficiency is reduced.
Therefore, how to solve the above problems is a great concern for those skilled in the art.
Disclosure of Invention
The application aims to provide an invoice head-up information filling method and device, an electronic device and a computer readable storage medium, so that automatic filling of invoice head-up information is realized, the use difficulty and cost of invoicing are reduced, and the invoicing efficiency is obviously improved.
In order to achieve the above object, the present application provides an invoice new line information filling method, including:
acquiring head-up information of invoices to be issued, and generating a list to be issued according to the head-up information;
receiving a selection instruction aiming at the head-up information issued according to the list to be issued, and determining the target head-up information of the current invoice to be issued;
automatically positioning the position of a head-up input frame in a current billing main window to obtain positioning information of the head-up input frame;
according to the head-up input frame positioning information, sequentially filling the target head-up information into corresponding head-up input frames to complete head-up information filling;
the method for automatically positioning the position of the head-up input frame in the current billing main window to obtain the positioning information of the head-up input frame comprises the following steps:
determining a handle of current invoice issuing software by calling a FindWindow function;
according to the handle, obtaining the relative position of the current invoicing main window in the screen by calling a GetWindowRect function;
and automatically positioning the position of the head-up input frame by using the relative position to obtain positioning information of the head-up input frame.
Optionally, the acquiring the new line information of the invoice to be issued includes:
receiving the head-up information which is sent by a user terminal through scanning the two-dimensional code and needs invoicing;
or acquiring the head-up information which is obtained by the head-up information searching mode and needs invoicing.
Optionally, the automatically positioning the position of the head-up input frame by using the relative position to obtain the positioning information of the head-up input frame includes:
respectively calculating the relative position based on the width relative ratio and the height relative ratio of the current billing main window;
determining the width and height of a main window of the current billing main window;
calculating a position of a first head-up input box for inputting a head-up name by combining the width relative ratio, the height relative ratio, the main window width and the main window height;
and according to the position offset information, sequentially calculating the positions of a second head-up input box for inputting the taxpayer identification number, a third head-up input box for inputting the address telephone and a fourth head-up input box for inputting the account opening row and the account number.
Optionally, the sequentially filling the target head-up information into the corresponding head-up input boxes according to the positioning information of the head-up input box includes:
filling the head-up name into a first head-up input box according to the head-up input box positioning information;
and after the first head-up input box is filled, automatically switching to the next head-up input box to be filled for sequential filling until the input box is filled.
Optionally, the automatically positioning the position of the head-up input frame in the current billing main window, after obtaining the positioning information of the head-up input frame, further includes:
if the head-up input frame positioning information fails to be automatically acquired, receiving the operation that the user terminal moves a preset input frame icon to a corresponding input frame in the current invoicing main window through clicking and dragging;
and acquiring the final position of the preset input frame icon to obtain the position information of the head-up input frame.
In order to achieve the above object, the present application provides an invoice new line information filling device, including:
the system comprises a head-up acquiring unit, a head-up processing unit and a display unit, wherein the head-up acquiring unit is used for acquiring head-up information of invoices to be issued and generating a list to be issued according to the head-up information;
the head-up determining unit is used for receiving a selection instruction aiming at head-up information and issued according to the list to be issued and determining target head-up information of the current invoice to be issued;
the first positioning unit is used for automatically positioning the position of the head-up input frame in the current billing main window to obtain positioning information of the head-up input frame;
the head-up filling unit is used for sequentially filling the target head-up information into the corresponding head-up input frames according to the positioning information of the head-up input frames to complete head-up information filling;
wherein the first positioning unit is specifically configured to:
determining a handle of current invoice issuing software by calling a FindWindow function;
according to the handle, obtaining the relative position of the current invoicing main window in the screen by calling a GetWindowRect function;
and automatically positioning the position of the head-up input frame by using the relative position to obtain positioning information of the head-up input frame.
Optionally, the method further includes:
the operation receiving unit is used for receiving the operation that the user terminal moves the preset input frame icon to the corresponding input frame in the current invoicing main window through clicking and dragging if the head-up input frame positioning information fails to be automatically acquired;
and the second positioning unit is used for acquiring the final position of the preset input frame icon to obtain the position information of the head-up input frame.
To achieve the above object, the present application provides an electronic device including:
a memory for storing a computer program;
a processor for implementing the steps of any one of the invoice new line information filling methods disclosed above when executing the computer program.
To achieve the above object, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the invoice new line information filling methods disclosed above.
According to the scheme, the invoice head-up information filling method comprises the following steps: acquiring head-up information of invoices to be issued, and generating a list to be issued according to the head-up information; receiving a selection instruction aiming at the head-up information issued according to the list to be issued, and determining the target head-up information of the current invoice to be issued; automatically positioning the position of a head-up input frame in a current billing main window to obtain positioning information of the head-up input frame; and sequentially filling the target head-up information into the corresponding head-up input boxes according to the positioning information of the head-up input boxes to finish head-up information filling. According to the method and the device, after the head-up information of the invoice to be issued is acquired, the list to be issued can be generated, the selection instruction for the head-up information is received, the target head-up information is determined, the position of the head-up input box in the current invoice main window is automatically positioned, the positioning information of the head-up input box is obtained, and then the target head-up information can be sequentially filled into the corresponding head-up input boxes according to the positioning information of the head-up input box, so that the automatic filling of the invoice head-up information is realized, the use difficulty and cost of the invoice to be issued are reduced, and the invoice issuing efficiency is remarkably improved.
The application also discloses an invoice new line information filling device, electronic equipment and a computer readable storage medium, and the technical effects can be realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is an architecture diagram of an invoice head-up information filling system disclosed in an embodiment of the present application;
fig. 2 is a flowchart of an invoice new line information filling method disclosed in an embodiment of the present application;
fig. 3 is a schematic flowchart of a first embodiment of an invoice new line information filling method disclosed in the embodiment of the present application;
fig. 4 is a schematic flowchart of an invoice new line information filling method according to a second embodiment of the present disclosure;
fig. 5 is a structural diagram of an invoice raising information filling device disclosed in an embodiment of the present application;
fig. 6 is a block diagram of an electronic device disclosed in an embodiment of the present application;
fig. 7 is a block diagram of another electronic device disclosed in the embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the traditional technology, UKey edition value-added tax invoice issuing software is developed based on a QT frame without handles, and the technology with handles is not adopted for development, and the technology is not developed based on a webpage technology, so that the technology used by third-party auxiliary invoice issuing software existing on the market at present cannot meet the full-automatic extremely-rapid head-up filling of the UKey edition value-added tax invoice issuing software, the use difficulty and the operation cost of issuing invoices by merchants are increased, and the invoice issuing efficiency is reduced.
Therefore, the embodiment of the application discloses an invoice head-up information filling method, which realizes automatic filling of invoice head-up information, reduces the use difficulty and cost of invoicing, and obviously improves invoicing efficiency.
In order to facilitate understanding of the invoice header information filling method provided in the present application, a description is first given below of a system used in the method. Referring to fig. 1, which shows an architecture diagram of an invoice head-up information filling system provided by an embodiment of the present application, as shown in fig. 1, the system may include a message pushing module, a head-up searching module, a to-be-listed list module, a head-up filling module, a relative position positioning module, and an absolute position positioning module.
Specifically, the message pushing module is used for acquiring the head-up information sent by the consumer through scanning the two-dimensional code by a code scanning tool such as WeChat or Paibao, and the two-dimensional code is generated in advance by the system and provided for the consumer. The head-up searching module is used for providing a head-up information searching function for invoices, returning an enterprise name list in real time for the invoices to select and confirm by inputting a full name or partial keyword of the enterprise name, and acquiring corresponding head-up information after confirming the enterprise; meanwhile, the method supports the input of enterprise tax numbers to search the new information. The head-up searching module is mainly used for sending head-up information under the scene that invoices staff actively inquire consumers without scanning two-dimensional codes by the consumers.
In specific implementation, the to-be-invoiced list module is used for receiving the head-up information sent by the message pushing module and the head-up searching module, generating the to-be-invoiced list, and allowing invoicers to select and confirm the head-up information which needs to be filled in the value-added tax invoice invoicing software tax UKey edition for invoice invoicing.
The head-up filling module is used for receiving head-up information sent by the to-be-issued list module, acquiring the position information of a head-up input frame in the value-added tax invoice issuing software tax UKey edition through the relative position positioning module or the absolute position positioning module, and sequentially filling the head-up information to the corresponding positions of the head-up input frame.
It should be noted that the relative position positioning module is used for automatically positioning the position of the new line input box of the value-added tax invoice billing software tax UKey edition. The absolute position positioning module is used for positioning the position of a head-up input frame of the tax UKey edition of the value-added tax invoice billing software in a manual auxiliary mode by billing personnel.
Referring to fig. 2 and 3, an invoice new line information filling method disclosed in the embodiment of the present application includes:
s101: acquiring head-up information of invoices to be issued, and generating a list to be issued according to the head-up information;
in the embodiment of the application, the head-up information of invoices which need to be issued can be acquired, and the list to be issued is generated according to the head-up information. Specifically, the new line information of the invoice to be issued, which is sent by the user terminal through scanning the two-dimensional code, may be received, or the new line information of the invoice to be issued, which is obtained through a new line information search mode, may be obtained. That is, in a specific embodiment, the message pushing module may obtain the head-up information filled by the consumer actively scanning the two-dimensional code by using the user terminal, and send the head-up information to the to-be-listed module; in another specific implementation mode, the invoicing personnel can input all contents or partial keywords of information such as enterprise names or tax numbers and the like, and all new-line information meeting the contents is sent to the list to be invoiced in a searching mode for selection of the invoicing personnel.
As a preferred embodiment, a message pushing mechanism may be adopted in the process of sending the head-up information to the to-be-listed module by the message pushing module, so that compared with a conventional timing scheduling mode, pressure on the server side caused by the client side through the timing scheduling mode is reduced.
S102: receiving a selection instruction aiming at the head-up information issued according to the list to be issued, and determining the target head-up information of the current invoice to be issued;
in this step, the invoicing personnel can select the target head-up information which needs to be invoiced currently in the list to be invoiced. For example, the target head-up information may be selected by clicking, checking, double-clicking, and the like according to all the head-up information displayed in the list to be opened.
S103: automatically positioning the position of a head-up input frame in a current billing main window to obtain positioning information of the head-up input frame;
in specific implementation, after the listing module determines the target head-up information, the target head-up information can be sent to the head-up filling module, and after the head-up filling module receives the target head-up information, the relative position positioning module can be called to automatically position the head-up input box position of the value-added tax invoice billing software tax UKey edition, so as to obtain the positioning information of the head-up input box.
The process of calling the relative position positioning module to automatically position the new line input box position of the value-added tax invoice invoicing software tax UKey edition can specifically be as follows: acquiring a handle of current value-added tax invoice billing software, acquiring a relative position of a billing main window in a billing equipment screen, positioning a head-up name input box position through a relative ratio, and further positioning three input boxes corresponding to a taxpayer identification number, an address phone, a billing line and an account number of a purchaser according to an offset.
It should be noted that, after the position of the new line name input box is calculated in this step, in addition to positioning the other three input boxes by using the offset, the three input boxes corresponding to the taxpayer identification number, the address phone, the account issuer, and the account number of the purchaser may be individually and absolutely positioned according to the positioning method of the new line name input box. In addition, in a specific implementation, the positioning and filling order of the four input boxes may be set in combination with practical flexibility, and this embodiment does not limit this.
S104: and sequentially filling the target head-up information into the corresponding head-up input boxes according to the positioning information of the head-up input boxes to finish head-up information filling.
It can be understood that, after the head-up input frame positioning information is obtained, the filling position of the target head-up information may be determined based on the head-up input frame positioning information, that is, the target head-up information may be sequentially filled into the corresponding head-up input frames.
According to the scheme, the invoice head-up information filling method comprises the following steps: acquiring head-up information of invoices to be issued, and generating a list to be issued according to the head-up information; receiving a selection instruction aiming at the head-up information issued according to the list to be issued, and determining the target head-up information of the current invoice to be issued; automatically positioning the position of a head-up input frame in a current billing main window to obtain positioning information of the head-up input frame; and sequentially filling the target head-up information into the corresponding head-up input boxes according to the positioning information of the head-up input boxes to finish head-up information filling. According to the method and the device, after the head-up information of the invoice to be issued is acquired, the list to be issued can be generated, the selection instruction for the head-up information is received, the target head-up information is determined, the position of the head-up input box in the current invoice main window is automatically positioned, the positioning information of the head-up input box is obtained, and then the target head-up information can be sequentially filled into the corresponding head-up input boxes according to the positioning information of the head-up input box, so that the automatic filling of the invoice head-up information is realized, the use difficulty and cost of the invoice to be issued are reduced, and the invoice issuing efficiency is remarkably improved.
The invoice new line information filling method provided by the embodiment of the present application is described below by a first specific embodiment.
Specifically, the message pushing module acquires invoice head-up information sent by a user terminal and pushes the head-up information to the to-be-listed module; or the seller searches the invoice head-up information through the head-up searching module and sends the head-up information to the to-be-listed module. The to-be-issued list module generates a to-be-issued list according to the received head-up information, and the seller can select the head-up information of the current invoice to be issued in the to-be-issued list and send the head-up information to the head-up filling module. After the head-up filling module receives the head-up information, the head-up input frame position of the value-added tax invoice billing software tax UKey edition is positioned by calling the relative position positioning module, and the head-up input frame positioning information is obtained.
It should be noted that the relative position positioning module is used for automatically and accurately positioning the head-up name input box in the invoicing main window according to the position of the invoicing main window of the value-added tax invoice invoicing software UKey version. Firstly, a handle of a value-added tax invoice issuing software UKey version can be searched by calling a FindWindow function, then the relative position of an issuing main window in a screen is obtained by calling a GetWindowRect function, and further the fixed position of a new line name input box is automatically positioned by relative ratio.
In a specific implementation, the automatically positioning the fixed position of the new head name input box by the relative ratio may include: respectively calculating the width relative ratio and the height relative ratio of the relative position based on the current billing main window; determining the width and height of a main window of a current billing main window; calculating the position of a first head-up input box for inputting a head-up name by combining the width relative ratio, the height relative ratio, the main window width and the main window height; and according to the position offset information, sequentially calculating the positions of a second head-up input box for inputting the taxpayer identification number, a third head-up input box for inputting the address telephone and a fourth head-up input box for inputting the account opening row and the account number.
For example, the new-line name may be calculated by fixing the position of the purchaser taxpayer name input box in the main billing main window:
double rate x = 0.24388// width relative ratio
double rate y = 0.23473// height relative ratio
int width = rt right-rt left// main window width of invoicing
int height = rt. bottom-rt. top// main window height of invoicing
int x = rate _ x width + rt, left + 2// calculating the x coordinate of the purchaser taxpayer name
int y = rate _ y height + rt. top + 2// calculating the y coordinate of the purchaser taxpayer name
Furthermore, after the positioning information of the head-up name input box is acquired, the specific positions of the three head-up input boxes of the taxpayer identification number, the address phone, the account opening row and the account number can be directly calculated according to the distance offset. For example, if the x and y coordinate positioning information of the head-up name input boxes are obtained as (476,237), and the offset amount of the position of each head-up input box in the y-axis direction is 20, the positioning information of the three input boxes of the taxpayer identification number, the address phone, the account opening row and the account number are respectively (476,217), (476,197) and (476,177).
Of course, the specific positions of the three head-up input frames, namely the taxpayer identification number, the address phone, the account opening row and the account number, can be directly calculated according to the distance offset, and each head-up input frame can be independently positioned. That is, both a relative offset and an absolute positioning for each input box may be implemented.
It can be understood that after the positioning of the input frame is completed, the head-up filling module can sequentially fill the head-up information into the head-up input frames corresponding to the value-added tax invoice billing software tax UKey edition according to the positioning information of the head-up input frame, so as to complete the filling of the head-up information.
In a specific implementation mode, the new line filling module can call a copy and paste command of an operating system according to the positioning information of the new line input box, and sequentially fill the new line information into the new line input boxes corresponding to the UKey version of the value-added tax invoice billing software tax, wherein the new line input boxes specifically include four new line input boxes of a purchaser name, a taxpayer identification number, an address phone, an account opening line and an account number.
In another specific embodiment, the first new head input box may be filled with the new head name according to the new head input box positioning information; and after the first head-up input box is filled, automatically switching to the next head-up input box to be filled for sequential filling until the input boxes are filled. That is, after the positioning information of the head-up name input box is acquired, the position information of the other three head-up input boxes may not be calculated, and the head-up filling module directly and automatically switches to the next input box to be filled with the VK _ TAB message for filling after the filling of the first input box, i.e., the head-up name input box, is completed. It should be noted that, in the implementation process of automatically switching to the next input box to be filled with VK _ TAB message for filling, a Sleep delay function may be further added, and a relatively appropriate delay speed is set to avoid that data cannot be filled correctly due to too fast operation.
The invoice new line information filling method provided by the embodiment of the present application is described below by a second specific embodiment. The relative position positioning is a default positioning mode in the embodiment of the application, and in consideration of certain special conditions, if the relative position positioning fails, an absolute position positioning mode can be adopted for auxiliary positioning. Referring to fig. 4, before absolute position positioning, an invoicing person needs to start the absolute position positioning module first, and then position according to prompt operation. If the head-up input box positioning information fails to be automatically acquired, receiving the operation that the user terminal moves the preset input box icon to the corresponding input box in the current invoicing main window through clicking and dragging; and acquiring the final position of the icon of the preset input frame to obtain the position information of the head-up input frame. Through the combination of the relative position positioning mode and the absolute position positioning mode, the accurate positioning of the input frame can be realized. The method comprises the following specific steps:
in the embodiment of the application, the invoicing personnel can start the absolute position positioning module. After the list to be issued is generated, the head-up name icon of the absolute position positioning module is dragged to move to the position of a head-up name input box of the UKey version of the value-added tax invoice issuing software, and the position of the head-up name input box is positioned.
In the specific implementation, the absolute position positioning module can be parked at the lower right side of the operating system in a right side mode, the user side can click and drag an icon of the head-up name of the buyer enterprise, the icon is moved into a buyer enterprise name input box of the UKey edition of the value-added tax invoice billing software, in the moving process, the absolute position positioning module can record the coordinate information of the icon position of the buyer enterprise name into cache configuration in real time, and the coordinate of the final stop position of the icon is the position information of the head-up name input box of the UKey edition of the value-added tax invoice billing software.
Further, after the positioning information of the head-up name input box is acquired, the specific positions of the rest head-up input boxes can be directly calculated according to the distance offset. The subsequent process of filling the head-up information may refer to the corresponding content disclosed in the foregoing embodiments, and is not described herein again. It should be noted that, in the present application, besides acquiring the positioning information of the head-up name input box first, and then determining the specific positions of the three head-up input boxes corresponding to the taxpayer identification number, the address phone, the account opening row, and the account number according to the position offset or the absolute positioning mode, the specific positions of any head-up input box may also be determined first, and then the specific positions of the other head-up input boxes are determined according to the position offset or the absolute positioning mode, that is, the present embodiment does not limit the positioning sequence, and does not specifically limit the sequence of subsequent information filling, and both can be flexibly set according to the actual situation.
The invoice head-up information filling device provided by the embodiment of the application is introduced below, and the invoice head-up information filling device described below and the invoice head-up information filling method described above can be referred to each other.
Referring to fig. 5, an invoice new line information filling device provided in an embodiment of the present application includes:
the head-up acquiring unit 201 is configured to acquire head-up information that requires invoicing, and generate a list to be invoiced according to the head-up information;
a head-up determining unit 202, configured to receive a selection instruction for head-up information issued according to the to-be-issued list, and determine target head-up information for which invoices need to be issued currently;
the first positioning unit 203 is used for automatically positioning the position of the head-up input frame in the current billing main window to obtain positioning information of the head-up input frame;
and a head-up filling unit 204, configured to sequentially fill the target head-up information into the corresponding head-up input boxes according to the positioning information of the head-up input boxes, so as to complete head-up information filling.
For the specific implementation process of the modules 201 to 204, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not repeated here.
On the basis of the foregoing embodiment, as a preferred implementation manner, the invoice new line information filling device provided in the embodiment of the present application may further include:
the operation receiving unit is used for receiving the operation that the user terminal moves the preset input frame icon to the corresponding input frame in the current invoicing main window through clicking and dragging if the head-up input frame positioning information fails to be automatically acquired;
and the second positioning unit is used for acquiring the final position of the preset input frame icon to obtain the position information of the head-up input frame.
The present application further provides an electronic device, and as shown in fig. 6, an electronic device provided in an embodiment of the present application includes:
a memory 100 for storing a computer program;
the processor 200, when executing the computer program, may implement the steps provided by the above embodiments.
Specifically, the memory 100 includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operating system and the computer-readable instructions in the non-volatile storage medium to run. The processor 200 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip in some embodiments, and provides computing and controlling capabilities for electronic devices, and when executing the computer program stored in the memory 100, the invoice new line information filling method provided in any of the foregoing embodiments may be implemented.
On the basis of the above embodiment, as a preferred implementation, referring to fig. 7, the electronic device further includes:
and an input interface 300 connected to the processor 200, for acquiring computer programs, parameters and instructions imported from the outside, and storing the computer programs, parameters and instructions into the memory 100 under the control of the processor 200. The input interface 300 may be connected to an input device for receiving parameters or instructions manually input by a user. The input device may be a touch layer covered on a display screen, or a button, a track ball or a touch pad arranged on a terminal shell, or a keyboard, a touch pad or a mouse, etc.
And a display unit 400 connected to the processor 200 for displaying data processed by the processor 200 and for displaying a visualized user interface. The display unit 400 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like.
And a network port 500 connected to the processor 200 for performing communication connection with each external terminal device. The communication technology adopted by the communication connection can be a wired communication technology or a wireless communication technology, such as a mobile high definition link (MHL) technology, a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), a wireless fidelity (WiFi), a bluetooth communication technology, a low power consumption bluetooth communication technology, an ieee802.11 s-based communication technology, and the like.
While fig. 7 shows only an electronic device having the assembly 100 and 500, those skilled in the art will appreciate that the configuration shown in fig. 7 is not intended to be limiting of electronic devices and may include fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
The present application also provides a computer-readable storage medium, which may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk. The storage medium stores thereon a computer program, which when executed by a processor implements the invoice new line information filling method provided by any one of the foregoing embodiments.
According to the method and the device, after the head-up information of the invoice to be issued is acquired, the list to be issued can be generated, the selection instruction for the head-up information is received, the target head-up information is determined, the position of the head-up input box in the current invoice main window is automatically positioned, the positioning information of the head-up input box is obtained, and then the target head-up information can be sequentially filled into the corresponding head-up input boxes according to the positioning information of the head-up input box, so that the automatic filling of the invoice head-up information is realized, the use difficulty and cost of the invoice to be issued are reduced, and the invoice issuing efficiency is remarkably improved.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Claims (9)
1. An invoice head-up information filling method is characterized by comprising the following steps:
acquiring head-up information of invoices to be issued, and generating a list to be issued according to the head-up information;
receiving a selection instruction aiming at the head-up information issued according to the list to be issued, and determining the target head-up information of the current invoice to be issued;
automatically positioning the position of a head-up input frame in a current billing main window to obtain positioning information of the head-up input frame;
according to the head-up input frame positioning information, sequentially filling the target head-up information into corresponding head-up input frames to complete head-up information filling;
the method for automatically positioning the position of the head-up input frame in the current billing main window to obtain the positioning information of the head-up input frame comprises the following steps:
determining a handle of current invoice issuing software by calling a FindWindow function;
according to the handle, obtaining the relative position of the current invoicing main window in the screen by calling a GetWindowRect function;
and automatically positioning the position of the head-up input frame by using the relative position to obtain positioning information of the head-up input frame.
2. The invoice head-up information filling method according to claim 1, wherein the acquiring head-up information required for invoicing comprises:
receiving the head-up information which is sent by a user terminal through scanning the two-dimensional code and needs invoicing;
or acquiring the head-up information which is obtained by the head-up information searching mode and needs invoicing.
3. The invoice head-up information filling method according to claim 2, wherein the automatically positioning the position of the head-up input frame by using the relative position to obtain the positioning information of the head-up input frame comprises:
respectively calculating the relative position based on the width relative ratio and the height relative ratio of the current billing main window;
determining the width and height of a main window of the current billing main window;
calculating a position of a first head-up input box for inputting a head-up name by combining the width relative ratio, the height relative ratio, the main window width and the main window height;
and according to the position offset information, sequentially calculating the positions of a second head-up input box for inputting the taxpayer identification number, a third head-up input box for inputting the address telephone and a fourth head-up input box for inputting the account opening row and the account number.
4. The invoice head-up information filling method according to claim 1, wherein the sequentially filling the target head-up information into the corresponding head-up input boxes according to the head-up input box positioning information comprises:
filling the head-up name into a first head-up input box according to the head-up input box positioning information;
and after the first head-up input box is filled, automatically switching to the next head-up input box to be filled for sequential filling until the input box is filled.
5. The invoice head-up information filling method according to any one of claims 1 to 4, wherein the automatically positioning the position of the head-up input box in the current invoicing main window, after obtaining the positioning information of the head-up input box, further comprises:
if the head-up input frame positioning information fails to be automatically acquired, receiving the operation that the user terminal moves a preset input frame icon to a corresponding input frame in the current invoicing main window through clicking and dragging;
and acquiring the final position of the preset input frame icon to obtain the position information of the head-up input frame.
6. The utility model provides an invoice new line information filling device which characterized in that includes:
the system comprises a head-up acquiring unit, a head-up processing unit and a display unit, wherein the head-up acquiring unit is used for acquiring head-up information of invoices to be issued and generating a list to be issued according to the head-up information;
the head-up determining unit is used for receiving a selection instruction aiming at head-up information and issued according to the list to be issued and determining target head-up information of the current invoice to be issued;
the first positioning unit is used for automatically positioning the position of the head-up input frame in the current billing main window to obtain positioning information of the head-up input frame;
the head-up filling unit is used for sequentially filling the target head-up information into the corresponding head-up input frames according to the positioning information of the head-up input frames to complete head-up information filling;
wherein the first positioning unit is specifically configured to:
determining a handle of current invoice issuing software by calling a FindWindow function;
according to the handle, obtaining the relative position of the current invoicing main window in the screen by calling a GetWindowRect function;
and automatically positioning the position of the head-up input frame by using the relative position to obtain positioning information of the head-up input frame.
7. The invoice head-up information filling apparatus according to claim 6, further comprising:
the operation receiving unit is used for receiving the operation that the user terminal moves the preset input frame icon to the corresponding input frame in the current invoicing main window through clicking and dragging if the head-up input frame positioning information fails to be automatically acquired;
and the second positioning unit is used for acquiring the final position of the preset input frame icon to obtain the position information of the head-up input frame.
8. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the invoice head-up information filling method according to any one of claims 1 to 5 when executing the computer program.
9. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the invoice head-up information filling method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010801567.4A CN111679872A (en) | 2020-08-11 | 2020-08-11 | Invoice head-up information filling method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010801567.4A CN111679872A (en) | 2020-08-11 | 2020-08-11 | Invoice head-up information filling method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111679872A true CN111679872A (en) | 2020-09-18 |
Family
ID=72458235
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010801567.4A Pending CN111679872A (en) | 2020-08-11 | 2020-08-11 | Invoice head-up information filling method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111679872A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112528886A (en) * | 2020-12-16 | 2021-03-19 | 中国平安财产保险股份有限公司 | OCR information detection and recognition method, device, terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105553954A (en) * | 2015-12-09 | 2016-05-04 | 百度在线网络技术(北京)有限公司 | Data processing method and system |
CN105719168A (en) * | 2016-04-22 | 2016-06-29 | 刘珂 | Method and system for printing invoice |
CN107481073A (en) * | 2017-08-21 | 2017-12-15 | 百望电子***数据服务有限公司 | A kind of invoice new line fill method, apparatus and system based on barcode scanning technology |
CN107832284A (en) * | 2017-11-29 | 2018-03-23 | 百望电子***数据服务有限公司 | A kind of method and system filled invoice and come back |
CN111144959A (en) * | 2019-11-07 | 2020-05-12 | 广东电网有限责任公司 | Tax data checking and reporting method, system and readable storage medium |
-
2020
- 2020-08-11 CN CN202010801567.4A patent/CN111679872A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105553954A (en) * | 2015-12-09 | 2016-05-04 | 百度在线网络技术(北京)有限公司 | Data processing method and system |
CN105719168A (en) * | 2016-04-22 | 2016-06-29 | 刘珂 | Method and system for printing invoice |
CN107481073A (en) * | 2017-08-21 | 2017-12-15 | 百望电子***数据服务有限公司 | A kind of invoice new line fill method, apparatus and system based on barcode scanning technology |
CN107832284A (en) * | 2017-11-29 | 2018-03-23 | 百望电子***数据服务有限公司 | A kind of method and system filled invoice and come back |
CN111144959A (en) * | 2019-11-07 | 2020-05-12 | 广东电网有限责任公司 | Tax data checking and reporting method, system and readable storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112528886A (en) * | 2020-12-16 | 2021-03-19 | 中国平安财产保险股份有限公司 | OCR information detection and recognition method, device, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20150073955A1 (en) | Management interface for business management applications | |
TW201504923A (en) | Form processing | |
US9262556B2 (en) | Embedded search results within the context of a process | |
CN101256483A (en) | Method and apparatus for persistent tool object | |
CN111679872A (en) | Invoice head-up information filling method and device, electronic equipment and storage medium | |
CN105933154A (en) | Management method of cloud calculation resources | |
US9438694B1 (en) | Managing page-level usage data | |
CN112132599A (en) | Image processing method and device, computer readable storage medium and electronic device | |
CN113342249A (en) | Content management method, device, equipment and storage medium capable of previewing in real time | |
CN111127224B (en) | Information processing method, information processing device, electronic equipment and storage medium | |
CN102843369A (en) | Network access method and system of user interface (UI) | |
CN109634500B (en) | User data filling method and device, terminal equipment and storage medium | |
US20230325904A1 (en) | Method and component of processing commodity, electronic device, and computer-readable medium | |
CN113296912A (en) | Task processing method, device and system, storage medium and electronic equipment | |
CN114816405A (en) | Business view interface display method and device, computer equipment and storage medium | |
KR101397175B1 (en) | Method for providing usercustomized point of sale service | |
CN112069780A (en) | Control method and device for custom billboard data display in third-party platform | |
KR20220001219A (en) | Digital book service method and digital book using the method | |
CN113157712A (en) | Data processing method, system and related equipment | |
US20220318192A1 (en) | Method and apparatus for displaying event information, storage medium and electronic device | |
KR102370585B1 (en) | Order and delivery service providing method | |
US20090171809A1 (en) | Efficient purchase order creation | |
WO2024119408A1 (en) | Electronic sign control system and method, and storage medium and electronic device | |
US20240211114A1 (en) | Information processing method, device, electronic apparatus, and storage medium | |
JP2003141022A (en) | Web content delivery method and system and web content editing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200918 |
|
RJ01 | Rejection of invention patent application after publication |