CN113450165A - Method for issuing invoices with different main bodies and tax rates according to configuration - Google Patents

Method for issuing invoices with different main bodies and tax rates according to configuration Download PDF

Info

Publication number
CN113450165A
CN113450165A CN202110721828.6A CN202110721828A CN113450165A CN 113450165 A CN113450165 A CN 113450165A CN 202110721828 A CN202110721828 A CN 202110721828A CN 113450165 A CN113450165 A CN 113450165A
Authority
CN
China
Prior art keywords
invoicing
invoice
information
tax
configuration
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
Application number
CN202110721828.6A
Other languages
Chinese (zh)
Inventor
邓勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shouyue Technology Beijing Co Ltd
Original Assignee
Shouyue Technology Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shouyue Technology Beijing Co Ltd filed Critical Shouyue Technology Beijing Co Ltd
Priority to CN202110721828.6A priority Critical patent/CN113450165A/en
Publication of CN113450165A publication Critical patent/CN113450165A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/04Billing or invoicing

Abstract

The invention discloses a method for issuing invoices with different main bodies and tax rates according to configuration, which comprises the following steps: acquiring an invoicing application, checking invoicing information and storing the invoicing information into a database; the invoicing interface receives a request sent by a timing task or manually clicking an invoicing button, reads invoicing application information and invoice configuration information, and obtains an invoice body and a tax rate; and calling an invoicing interface of a third-party invoicing mechanism to invoice according to the invoice application information, the configured main body and the tax rate information, updating the invoicing information in the database table, and recording a log. By the method, different subjects and tax rates can be obtained at different invoicing times of different cities according to configurable parameters; the labor development cost is saved, and the tax rate is not required to be redeveloped and changed due to the change of the national tax policy.

Description

Method for issuing invoices with different main bodies and tax rates according to configuration
Technical Field
The invention belongs to the technical field of tax invoices, and particularly relates to a method for issuing invoices with different main bodies and tax rates according to configuration.
Background
According to the change of the state about the tax policy in recent years, the prior art can not completely meet the requirement of making corresponding changes along with the change of the state policy at any time, so the invention adds the configuration file on the technical scheme for quickly responding to the change of the state tax policy, and can obtain the tax rate of the state policy in different periods according to different time of different cities and issue corresponding invoices, thereby saving the development and labor cost, improving the working efficiency and quickly responding to the state tax policy.
The prior art has the following disadvantages:
1. the number of invoices issued by executing one program cannot be excessive;
2. the tax invoicing interface depending on the three parties is single, and the response is not timely when the abnormal three parties deal with the problem;
3. the synchronous waiting of the invoicing result is time-consuming.
Disclosure of Invention
In view of the above technical problems in the related art, the present invention provides a method for issuing invoices with different subjects and tax rates according to configurations, which can overcome the above disadvantages of the prior art.
In order to achieve the technical purpose, the technical scheme of the invention is realized as follows:
a method of invoicing different principals and tax rates according to a configuration, the method comprising:
acquiring an invoicing application, checking invoicing information and storing the invoicing information into a database;
the invoicing interface receives a request sent by a timing task or manually clicking an invoicing button, reads invoicing application information and invoice configuration information, and obtains an invoice body and a tax rate;
and calling an invoicing interface of a third-party invoicing mechanism to invoice according to the invoice application information, the configured main body and the tax rate information, updating the invoicing information in the database table, and recording a log.
Further, the timing task includes:
and scanning the data of which the state is to be invoiced in the database by the background invoicing timing task at set time intervals.
Further, the obtaining of the invoice body and the tax rate includes:
and acquiring an invoice main body and a tax rate from the configuration information according to the time of applying for invoicing and the city of the travel order.
Furthermore, in the process of invoicing according to the invoice application information and the configured main body and tax rate information, invoicing interfaces of the third-party invoicing mechanisms are called, and if a plurality of selected travel orders correspond to different tax rates, the invoicing details correspond to a plurality of pieces of data.
Further, the updating the billing information in the database table includes:
and updating the invoicing state in the database table, and the invoice code, the invoice number, the invoice check code and the invoice pdf file address after the invoicing is successful.
Furthermore, in the invoicing by calling the invoicing interface of the third-party invoicing mechanism, if the invoicing is successful, a successful invoicing short message is sent to the user, and the electronic invoice is sent to the user through an electronic mail; if the invoicing fails or is abnormal, an invoicing retry timing task is started, and invoices which fail to invoice or are abnormal are scanned.
The invention has the beneficial effects that: by the method, different subjects and tax rates can be obtained at different invoicing times of different cities according to configurable parameters; the labor development cost is saved, and the tax rate is not required to be redeveloped and changed due to the change of the national tax policy.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a block flow diagram of a method for invoicing different principals and tax rates according to a configuration according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
As shown in fig. 1, a method of invoicing different entities and tax rates according to a configuration, the method comprising:
acquiring an invoicing application, checking invoicing information and storing the invoicing information into a database;
the invoicing interface receives a request sent by a timing task or manually clicking an invoicing button, reads invoicing application information and invoice configuration information, and obtains an invoice body and a tax rate;
and calling an invoicing interface of a third-party invoicing mechanism to invoice according to the invoice application information, the configured main body and the tax rate information, updating the invoicing information in the database table, and recording a log.
In some embodiments of the invention, the timing task comprises:
and scanning the data of which the state is to be invoiced in the database by the background invoicing timing task at set time intervals.
In some embodiments of the present invention, the obtaining the invoice body and the tax rate comprises:
and acquiring an invoice main body and a tax rate from the configuration information according to the time of applying for invoicing and the city of the travel order.
In some embodiments of the present invention, the invoicing interface of the third-party invoicing mechanism is called according to the invoice application information and the configured main body and tax rate information, and if a plurality of selected travel orders correspond to different tax rates, the invoicing details correspond to a plurality of pieces of data.
In some embodiments of the present invention, the updating the billing information in the database table includes:
and updating the invoicing state in the database table, and the invoice code, the invoice number, the invoice check code and the invoice pdf file address after the invoicing is successful.
In some embodiments of the invention, in the invoicing by calling the invoicing interface of the third-party invoicing mechanism, if the invoicing is successful, a successful invoicing short message is sent to the user, and the electronic invoice is sent to the user through an electronic mail; if the invoicing fails or is abnormal, an invoicing retry timing task is started, and invoices which fail to invoice or are abnormal are scanned.
Step 1, a passenger initiates an application for invoicing through a taxi appointment app, selects a travel order to be invoiced or selects the amount of money to be invoiced according to the amount of money during the application, and fills information such as invoice head-up, taxpayer identification number, contact phone, mailbox address and the like
Step 2, after receiving the invoice application, the background system firstly checks the filled information, and after the check is passed, the data is stored in the database
And 3, scanning the data in the state of the invoicing in the database at intervals (the interval time can be configured by a configuration page) by the background invoicing timing task, and then automatically invoicing. Meanwhile, invoicing can be also carried out through manual intervention, a customer service worker logs in an invoice page of a customer service background system and manually clicks an invoicing button, and the invoicing can also be carried out, wherein the specific invoicing flow is consistent with the invoicing of the timing task
Step 4, after receiving the request sent by the timing task or manually clicking the invoicing button, the invoicing interface reads the invoicing application information and the invoice configuration information, and obtains an invoice body and a tax rate from the configuration information according to the invoicing application time and the city of the travel order applying the invoicing, for example: the user selects the travel order of Beijing No. 3/month 1 in 2021, and according to the time and the city, the tax rate is 0 and the main body of the invoice is a company in Beijing, while if the travel order of Tianjin No. 4/month 1 in 2021 is selected, the tax rate obtained from the configuration information is 0.03 and the main body of the invoice is a company in Tianjin.
And 5, calling an invoicing interface of a third-party invoicing mechanism to invoice according to the invoice application information and the information such as the correspondingly configured tax rate and the main body, and if a plurality of selected travel orders correspond to different tax rates, the invoicing detail corresponds to a plurality of pieces of data, namely, one invoice may be simultaneously listed with the details of tax exemption or 3% tax rate.
And 6, updating the invoicing state in the database table, the invoice code, the invoice number, the invoice check code, the invoice pdf file address and the like after successful invoicing, and recording a log.
And 6, if the invoicing is successful, sending a short message of successful invoicing to the user, and sending the electronic invoice to the user through an electronic mail.
And 7, if the invoicing fails or is abnormal, if the invoicing retry timing task exists, scanning the invoicing failed or abnormal invoices and then invoicing, wherein the specific flow is the same as that of the invoicing timing task, and the invoicing can also be performed by manual intervention of customer service, and the invoicing is performed by manually clicking or modifying the application information.
By the method, different subjects and tax rates can be obtained at different invoicing times of different cities according to configurable parameters; the labor development cost is saved, and the tax rate is not required to be redeveloped and changed due to the change of the national tax policy.
Although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. A method for invoicing different entities and tax rates according to a configuration, comprising:
acquiring an invoicing application, checking invoicing information and storing the invoicing information into a database;
the invoicing interface receives a request sent by a timing task or manually clicking an invoicing button, reads invoicing application information and invoice configuration information, and obtains an invoice body and a tax rate;
and calling an invoicing interface of a third-party invoicing mechanism to invoice according to the invoice application information, the configured main body and the tax rate information, updating the invoicing information in the database table, and recording a log.
2. The method of claim 1, wherein the timed task comprises:
and scanning the data of which the state is to be invoiced in the database by the background invoicing timing task at set time intervals.
3. The method of claim 1, wherein the obtaining of the invoice body and the tax rate comprises:
and acquiring an invoice main body and a tax rate from the configuration information according to the time of applying for invoicing and the city of the travel order.
4. The method of claim 1, wherein the method of issuing invoices with different subject matters and tax rates according to the configuration comprises calling an invoicing interface of a third party invoicing mechanism to issue invoices according to the invoice application information and the configured subject matters and tax rates, and if a plurality of selected travel orders correspond to different tax rates, the invoicing details correspond to a plurality of data.
5. The method of claim 1, wherein updating the billing information in the database table comprises:
and updating the invoicing state in the database table, and the invoice code, the invoice number, the invoice check code and the invoice pdf file address after the invoicing is successful.
6. The method for issuing invoices of different subjects and tax rates according to configuration as claimed in claim 1 wherein, in the invoicing of the invoicing interface of the third party invoicing mechanism, if the invoicing is successful, the short message of successful invoicing is sent to the user and the electronic invoice is sent to the user by e-mail; if the invoicing fails or is abnormal, an invoicing retry timing task is started, and invoices which fail to invoice or are abnormal are scanned.
CN202110721828.6A 2021-06-28 2021-06-28 Method for issuing invoices with different main bodies and tax rates according to configuration Pending CN113450165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110721828.6A CN113450165A (en) 2021-06-28 2021-06-28 Method for issuing invoices with different main bodies and tax rates according to configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110721828.6A CN113450165A (en) 2021-06-28 2021-06-28 Method for issuing invoices with different main bodies and tax rates according to configuration

Publications (1)

Publication Number Publication Date
CN113450165A true CN113450165A (en) 2021-09-28

Family

ID=77813837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110721828.6A Pending CN113450165A (en) 2021-06-28 2021-06-28 Method for issuing invoices with different main bodies and tax rates according to configuration

Country Status (1)

Country Link
CN (1) CN113450165A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090089209A1 (en) * 2007-09-28 2009-04-02 The Western Union Company Methods and systems for generating invoices
CN106875236A (en) * 2015-12-11 2017-06-20 航天信息股份有限公司 Tax control counting system and the method using the tax control counting system statistics commodity data
US10395287B1 (en) * 2018-04-30 2019-08-27 Capital One Services, Llc Systems and methods for improving invoice management using enhanced analytical insight
CN111738783A (en) * 2020-08-18 2020-10-02 国信电子票据平台信息服务有限公司 High-availability electronic invoice issuing method and system
CN112270580A (en) * 2020-10-26 2021-01-26 浙江吉利控股集团有限公司 Invoice issuing method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090089209A1 (en) * 2007-09-28 2009-04-02 The Western Union Company Methods and systems for generating invoices
CN106875236A (en) * 2015-12-11 2017-06-20 航天信息股份有限公司 Tax control counting system and the method using the tax control counting system statistics commodity data
US10395287B1 (en) * 2018-04-30 2019-08-27 Capital One Services, Llc Systems and methods for improving invoice management using enhanced analytical insight
CN111738783A (en) * 2020-08-18 2020-10-02 国信电子票据平台信息服务有限公司 High-availability electronic invoice issuing method and system
CN112270580A (en) * 2020-10-26 2021-01-26 浙江吉利控股集团有限公司 Invoice issuing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN101990208B (en) Automatic data checking method, system and equipment
CN102819767A (en) Complaining and suggesting system and method based on intelligent mobile communication equipment
WO2004072813A2 (en) sYSTEM AND METHOD FOR MANAGING AND PROCESSING OF TELECOMMUNICATIONS INVOICES
CN108805632B (en) Charging method and device
US20120270520A1 (en) Service Reminding Method, Service Reminding System and Communication System
US10762580B2 (en) Methods and systems for setting and sending reminders
EP3591894B1 (en) Tariff data determination method and device
AU2016222286B2 (en) Managing the generation of text messages
CN110750692B (en) Automatic invoice verification computer processing method and device
CN103200338A (en) Telephone traffic statistic method
CN111144963A (en) Automatic billing method and system
CN114240524A (en) Platform-based unified billing method and system, computer equipment and storage medium
US7860232B2 (en) Method and system for migrating a telephone service from a first local exchange carrier to a second local exchange carrier
US20110171948A1 (en) Transaction in memory object store
CN113450165A (en) Method for issuing invoices with different main bodies and tax rates according to configuration
CN110992116A (en) Electronic invoice generation method, device, equipment and storage medium based on ETC system
CN116108420A (en) Enterprise intranet portal system based on multi-service system integration and working method thereof
CN111788591A (en) Supplier evaluation system and supplier evaluation method
CN102393852B (en) Comprehensive monitoring system of keyword flow data and calling data and method thereof
CN113778383B (en) Service processing method, device, equipment and storage medium
CN111861509A (en) Interactive customer service platform
CN110796455A (en) Customer service center management efficiency computing system
CN111078899A (en) Multimedia information integration method
EP3522087A1 (en) Multi-source address management systems and methods
KR20060067005A (en) Automatic postal information capture system and method for registered mail

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