CN116797299A - Logistics expense billing method, device, equipment and storage medium - Google Patents
Logistics expense billing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN116797299A CN116797299A CN202310450939.7A CN202310450939A CN116797299A CN 116797299 A CN116797299 A CN 116797299A CN 202310450939 A CN202310450939 A CN 202310450939A CN 116797299 A CN116797299 A CN 116797299A
- Authority
- CN
- China
- Prior art keywords
- order
- data
- billing
- verification
- information
- 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
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000012795 verification Methods 0.000 claims abstract description 288
- 238000012545 processing Methods 0.000 claims abstract description 83
- 238000010586 diagram Methods 0.000 description 3
- 230000010354 integration Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention relates to the technical field of logistics, in particular to a logistics cost billing method, a device, equipment and a storage medium, which are used for judging and processing order billing application information after the order billing application information is obtained through the order information, so that the accuracy of the order billing application information is ensured, accurate order data to be billed is obtained according to the order billing application information, verification processing is further carried out on the order data to be billed, order verification data are obtained, then an electronic invoice is billed according to the order billing verification data, the counterfeit electronic invoice is prevented from being verified, more strict order billing data are obtained, the anti-counterfeiting performance of the electronic invoice billed is higher, the invoice state of the order is updated according to the order billing data, repeated billing operation of customers is avoided, the problem of fake electronic circulation market is effectively prevented, the verification accuracy of the electronic invoice is greatly improved, and standardized operation of enterprises is promoted.
Description
Technical Field
The present invention relates to the field of logistics technologies, and in particular, to a method, an apparatus, a device, and a storage medium for billing a logistics fee.
Background
In the logistics industry of modern high-speed development, how to improve the accuracy of logistics invoicing is one of the problems of the logistics industry. However, the current electronic invoice usually carries out text recognition to simply check whether the electronic invoice is valid or not; the simple verification method in the prior art is adopted to verify the electronic invoice, so that the accuracy is low, the standardized operation of enterprises is not facilitated, and a plurality of clients are difficult to carry out logistics maintenance through the electronic invoice.
It can be seen that there is a need for improvements and improvements in the art.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a logistics expense billing method, a device, equipment and a storage medium, which can effectively prevent the problem of the circulation market of a fake electronic invoice, prevent the fake electronic invoice from being verified, improve the accuracy of the verification of the electronic invoice and promote the standardized operation of enterprises.
The first aspect of the present invention provides a method for billing a logistic fee, comprising: acquiring order information, and acquiring order billing application information according to the order information; judging and processing the order billing application information to generate order data to be billed; checking the order data to be checked to generate check data of the order to be checked; according to the checking data of the order, the order is processed to generate the order billing data; and updating the invoice state of the order according to the order invoicing data.
Optionally, in a first implementation manner of the first aspect of the present invention, the acquiring order information and obtaining order billing application information according to the order information includes: the order information comprises a client tax number, a client name, a client account opening row, a client bank account number, a client address, a client telephone, a client mailbox and an account opening content; acquiring a customer name, a customer account opening row, a customer bank account number, a customer address, a customer telephone, a customer mailbox and an account opening content according to the customer tax number; acquiring a client billing instruction to obtain invoice type data; the invoice type data comprises value-added tax electronic common invoice type data and value-added tax electronic special invoice type data; and integrating the client tax number, the client name, the client account number, the client address, the client telephone, the client mailbox, the billing content and the corresponding invoice type to obtain the order billing application information.
Optionally, in a second implementation manner of the first aspect of the present invention, the determining the order form application information to generate the order form data to be formed includes: judging and processing the payment state of the order according to the order billing application information, wherein the payment state comprises an unfinished payment state and a finished payment state; if the payment state is the unfinished payment state, marking the order billing application information as unfinished payment order information; if the payment state is the completed payment state, the order billing application information is marked as the completed payment order information, and the to-be-billed order data is generated according to the completed payment order information.
Optionally, in a third implementation manner of the first aspect of the present invention, if the payment status is a completed payment status, marking the order billing application information as completed payment order information, and generating the to-be-billed order data according to the completed payment order information includes: judging the real payment amount and the preset amount of the order according to the information of the completed payment order; if the actual payment amount is not equal to the preset amount, marking the information of the completed payment order as information of the wrong payment order; if the actual payment amount is equal to the preset amount, the information of the completed payment order is marked as the information of the order with no amount, and the data of the order to be billed is generated according to the information of the order with no amount.
Optionally, in a fourth implementation manner of the first aspect of the present invention, if the actual payment amount is equal to the preset amount, marking the completed payment order information as the amount error-free order information, and generating the to-be-billed order data according to the amount error-free order information includes: judging and processing the billing state of the order according to the information of the order without error of the amount, wherein the billing state comprises a billed state and a non-billed state; if the billing state is the billing state, marking the order information without errors of the amount as the billing order information; if the billing state is the non-billing state, marking the non-error order information of the amount as non-billing order information, and generating order data to be billed according to the non-billing order information.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the verifying the to-be-invoiced order data to generate the to-be-invoiced order verification data includes: performing authenticity verification processing on the order data to be invoiced, wherein the authenticity verification comprises format verification, repeatability verification and integrity verification; if any one of the format verification, the repeatability verification and the integrity verification is wrong, marking the order as wrong order data; if the format verification, the repeatability verification and the integrity verification are all correct, marking the order as correct order data, and generating billing order verification data according to the correct order data.
Optionally, in a sixth implementation manner of the first aspect of the present invention, the making an order according to the making order verification data to generate order making data includes: the invoicing order verification data comprises an invoice two-dimensional code; acquiring an invoice first verification code, an invoice second verification code and an invoice verification code according to the invoice two-dimensional code; acquiring a historical first verification code, a historical second verification code and a historical verification code, and generating a database according to the historical first verification code, the historical second verification code and the historical verification code; comparing the invoice first verification code with the historical first verification code in the database; if the invoice first verification code is consistent with the historical first verification code, marking the billing order verification data as first-level verification unqualified data; if the invoice first verification code is inconsistent with the historical first verification code, marking the billing order verification data as first-level verification qualified data; comparing the invoice second verification code with the historical second verification code in the database according to the first-level verification qualified data; if the invoice second verification code is consistent with the historical second verification code, marking the billing order verification data as second-level verification unqualified data; if the invoice second verification code is inconsistent with the historical second verification code, marking the billing order verification data as second-level verification qualified data; comparing the invoice check code with the historical check code in the database according to the second-level verification qualified data; if the invoice check code is consistent with the history check code, marking the check data of the invoicing order as unqualified check data; if the invoice check code is inconsistent with the history check code, marking the check data of the order to be checked as qualified check data, and performing the order making process according to the qualified check data to generate the order making data.
The second aspect of the present invention provides a logistic fee billing device, comprising: the acquisition module is used for acquiring order information and acquiring order billing application information according to the order information; the judging and processing module is used for judging and processing the order billing application information so as to generate order data to be billed; the verification processing module is used for performing verification processing on the order data to be invoiced so as to generate order verification data to be invoiced; the billing processing module is used for billing the order according to the billing order verification data so as to generate order billing data; and the updating processing module is used for updating the invoice state of the order according to the order billing data.
Optionally, in a first implementation manner of the second aspect of the present invention, the acquiring module includes: the first acquisition part is used for acquiring corresponding client tax numbers according to the order information; the first acquisition unit is used for acquiring a customer name, a customer account opening row, a customer bank account number, a customer address, a customer telephone, a customer mailbox and billing contents according to the customer tax number; the first acquisition unit is used for acquiring a client billing instruction to obtain invoice type data; the invoice type data comprises value-added tax electronic common invoice type data and value-added tax electronic special invoice type data; and the integration processing unit is used for integrating the client tax number, the client name, the client account opening row, the client bank account number, the client address, the client telephone, the client mailbox, the account opening content and the corresponding invoice type to obtain order account opening application information.
Optionally, in a second implementation manner of the second aspect of the present invention, the determining processing module includes: the first judging and processing unit is used for judging and processing the payment state of the order according to the order billing application information, wherein the payment state comprises an unfinished payment state and a finished payment state; a first judgment processing marking part for marking the order billing application information as the unfinished payment order information if the payment state is the unfinished payment state; and the second judging and processing marking part is used for marking the order billing application information as the finished payment order information if the payment state is the finished payment state, and generating the order data to be billed according to the finished payment order information.
Optionally, in a third implementation manner of the second aspect of the present invention, the judging processing module further includes: the second judging and processing unit is used for judging and processing the real payment amount and the preset amount of the order according to the information of the completed payment order; a third judgment processing marking part for marking the information of the completed payment order as the information of the order with the error amount if the real payment amount is not equal to the preset amount; and a fourth judgment processing marking part for marking the information of the completed payment order as the information of the order without the error of the amount if the real payment amount is equal to the preset amount, and generating the data of the order to be billed according to the information of the order without the error of the amount.
Optionally, in a fourth implementation manner of the second aspect of the present invention, the judging processing module further includes: the third judging and processing unit is used for judging and processing the billing state of the order according to the information of the order without error of the amount, wherein the billing state comprises a billed state and a non-billed state; a fifth judgment processing marking part for marking the amount of the order information as the invoiced order information if the invoiced state is the invoiced state; and a sixth judgment processing marking part for marking the non-error order information of the amount as non-invoicing order information if the invoicing state is the non-invoicing state, and generating the to-be-invoicing order data according to the non-invoicing order information.
Optionally, in a fifth implementation manner of the second aspect of the present invention, the verification processing module includes: the verification processing unit is used for carrying out authenticity verification processing on the order data to be invoiced, wherein the authenticity verification comprises format verification, repeatability verification and integrity verification; a first verification process marking section for marking the order as erroneous order data if any one of the format verification, the repeatability verification, and the integrity verification is erroneous; and the second checking and processing marking part is used for marking the order as error-free order data if the format verification, the repeatability verification and the integrity verification are all error-free, and generating billing order checking data according to the error-free order data.
Optionally, in a sixth implementation manner of the second aspect of the present invention, the billing processing module includes: the second acquisition part is used for acquiring an invoice first verification code, an invoice second verification code and an invoice verification code according to the invoice two-dimensional code; the generation part is used for acquiring the historical first verification code, the historical second verification code and the historical verification code and generating a database according to the historical first verification code, the historical second verification code and the historical verification code; the first comparison part is used for comparing the invoice first verification code with the historical first verification code in the database; the first verification code marking part is used for marking the billing order verification data as first-stage verification unqualified data if the invoice first verification code is consistent with the historical first verification code; the second verification code marking part is used for marking the billing order verification data as first-stage verification qualified data if the invoice first verification code is inconsistent with the history first verification code; the second comparison part is used for comparing the invoice second verification code with the historical second verification code in the database according to the first-level verification qualified data; the third verification code marking part is used for marking the billing order verification data as second-level verification unqualified data if the invoice second verification code is consistent with the history second verification code; a fourth verification code marking part for marking the billing order verification data as second-level verification qualified data if the invoice second verification code is inconsistent with the history second verification code; the third comparison part is used for comparing the invoice check code with the historical check code in the database according to the second-level verification qualified data; the first check code marking part is used for marking the check data of the invoicing order as unqualified check data if the invoice check code is consistent with the history check code; and the second check code marking part is used for marking the checking data of the order to be checked as qualified checking data if the invoice checking code is inconsistent with the history checking code, and performing the order checking processing on the order according to the qualified checking data so as to generate the order checking data.
A third aspect of the present invention provides a logistic charge billing apparatus comprising: a memory and at least one processor, the memory having instructions stored therein; at least one of the processors invokes the instructions in the memory to cause the logistic fare invoicing device to perform the steps of the logistic fare invoicing method as described in any one of the preceding claims.
A fourth aspect of the present invention provides a computer readable storage medium having instructions stored thereon which when executed by a processor perform the steps of the method of billing a logistic fee of any one of the above.
According to the technical scheme, after order billing application information is obtained through order information, the order billing application information is judged and processed firstly to ensure the accuracy of the order billing application information, so that accurate order data to be billed are obtained according to the order billing application information, verification processing is further carried out on the order data to be billed to obtain billing order verification data, then electronic invoices are billed according to the billing order verification data, counterfeit electronic invoices are prevented from being verified and passed, more strict order billing data are obtained, so that the anti-counterfeiting performance of the electronic invoices billed is higher, the invoice state of the order is updated according to the order billing data, repeated billing operation of customers is avoided, problems of false electronic invoice circulation market are effectively prevented, the accuracy of electronic invoice verification is greatly improved, and standardized operation of enterprises is promoted.
Drawings
FIG. 1 is a first flow chart of a method for billing a logistic fee according to an embodiment of the present invention;
FIG. 2 is a second flow chart of a method for billing a logistic fee according to an embodiment of the present invention;
FIG. 3 is a third flow chart of a method for billing a logistic fee according to an embodiment of the present invention;
FIG. 4 is a fourth flowchart of a method for billing a logistic fee according to an embodiment of the present invention;
FIG. 5 is a fifth flow chart of a method for billing a logistic fee according to an embodiment of the present invention;
FIG. 6 is a sixth flowchart of a method for billing a logistic fee according to an embodiment of the present invention;
FIG. 7 is a seventh flowchart of a method for billing a logistic fee according to an embodiment of the present invention;
FIG. 8 is a schematic structural view of a device for opening a ticket for logistic fees according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of another embodiment of a device for opening a ticket for logistic fees according to the present invention;
fig. 10 is a schematic structural diagram of a logistic fee billing device according to an embodiment of the present invention.
Detailed Description
The invention provides a logistics expense billing method, a device, equipment and a storage medium, which are characterized in that after order billing application information is obtained through order information, the order billing application information is judged and processed firstly so as to ensure the accuracy of the order billing application information, thereby obtaining accurate order data to be billed according to the order billing application information, further checking the order data to be billed so as to obtain billing order checking data, then, according to the billing order checking data, electronic invoices are billed, the counterfeit electronic invoices are prevented from being checked and passed, so that more strict order billing data are obtained, the anti-counterfeiting performance of the electronic invoices is higher, finally, the invoice state of the order is updated according to the order billing data, repeated billing operation of customers is avoided, the problem of false electronic invoices on the market is effectively prevented, the accuracy of electronic invoice checking is greatly improved, and standardized operation of enterprises is promoted.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
For ease of understanding, a specific flow of an embodiment of the present invention will be described below with reference to fig. 1, where an embodiment of a method for billing a logistic fee according to the embodiment of the present invention includes:
101. acquiring order information, and acquiring order billing application information according to the order information;
in this embodiment, a customer selects an order requiring electronic invoice to be made on an electronic commerce platform to make an invoice application, and after the electronic commerce platform receives a task of making an invoice application, order making application information is generated according to order information, so that the order making application information is further checked later, and the accuracy of subsequent order making of the order is ensured.
102. Judging and processing the order billing application information to generate order data to be billed;
in this embodiment, after order billing application information is obtained through order information, the order billing application information is firstly judged to ensure the accuracy of the order billing application information, so that accurate order data to be billed is obtained according to the order billing application information, and further verification of the order data to be billed is facilitated. For example, in the process of issuing an electronic invoice, the data of the order to be issued provided by the customer may have incomplete data, and a hash algorithm may be used to check the integrity of the data of the order to be issued, thereby completing the integrity check of the data of the order to be issued.
It should be noted that the hash algorithm maps binary values of arbitrary length to binary values of shorter fixed length, and this small binary value is called a hash value. Hash values are a unique and extremely compact representation of a piece of data. If a piece of plaintext is hashed and even only one letter of the piece is changed, the subsequent hash will produce a different value. It is computationally impossible to find two different inputs hashed to the same value, so the hash value of the data can verify the integrity of the data. Namely, the order data to be invoiced can be understood as a hash value, and if the order data to be invoiced is incomplete, different hash values can be generated; similarly, if the order data to be invoiced is incomplete, the same hash value is generated.
103. Checking the order data to be checked to generate check data of the order to be checked;
in the embodiment, the correct checking data of the order to be checked is obtained by further checking the data of the order to be checked, so that the anti-counterfeiting performance of the electronic invoice is further improved; for example, a plurality of anti-counterfeiting codes are endowed to the order data to be invoiced, and whether the electronic invoice is valid or not can be verified only by accurately checking the plurality of anti-counterfeiting codes, so that the anti-counterfeiting performance of the electronic invoice is improved.
104. According to the checking data of the order, the order is processed to generate the order billing data;
in this embodiment, electronic invoices are issued for the orders through the order checking data, so as to obtain more strict order issuing data, and finally, the invoice state of the orders is updated according to the order issuing data, so that repeated issuing operations by enterprises are avoided, and the anti-counterfeiting performance of the issued electronic invoices is higher.
105. And updating the invoice state of the order according to the order invoicing data.
In this embodiment, after the electronic invoice of the order is issued, the electronic invoice status of the order is updated, and the electronic invoice of the order is displayed, so that repeated invoices cannot be issued, so that clients do not repeatedly issue orders, and standardized operation of enterprises is promoted.
In the embodiment of the invention, after order billing application information is obtained through order information, the order billing application information is judged and processed firstly to ensure the accuracy of the order billing application information, so that accurate order data to be billed is obtained according to the order billing application information, verification processing is further carried out on the order data to be billed to obtain the order verification data, then an electronic invoice is billed according to the order verification data, the counterfeit electronic invoice is prevented from being verified and passed, more strict order billing data is obtained, so that the anti-counterfeiting performance of the billed electronic invoice is higher, finally, the invoice state of the order is updated according to the order billing data, repeated billing operation is avoided, the problem of false electronic invoice circulation market is effectively prevented, the accuracy of electronic invoice verification is greatly improved, and standardized operation of enterprises is promoted.
Wherein the order information includes a customer tax number, a customer name, a customer issuer, a customer bank account number, a customer address, a customer phone, a customer mailbox, and an issuer, referring to fig. 2, a second embodiment of a method for issuing a logistic fee in an embodiment of the present invention includes:
201. Acquiring corresponding client tax numbers according to the order information;
202. acquiring a customer name, a customer account opening row, a customer bank account number, a customer address, a customer telephone, a customer mailbox and an account opening content according to the customer tax number;
203. acquiring a client billing instruction to obtain invoice type data; the invoice type data comprises value-added tax electronic common invoice type data and value-added tax electronic special invoice type data;
204. integrating the client tax number, the client name, the client account number, the client address, the client telephone, the client mailbox, the billing content and the corresponding invoice type to obtain order billing application information;
it should be noted that, the tax number refers to a unique identification code assigned by the tax department when the tax payer pays the tax, and is also called as "tax payer identification number" or "tax registration number". Tax numbers are typically made up of a number, letter, or character, and tax rules and lengths may vary from country to country and region to region. When applying for business license or doing business, tax payers must register and obtain their tax numbers with tax departments, and use tax numbers as unique identifications in various tax information reports.
In this embodiment, by using the uniqueness of the client tax number, the corresponding client name, client account opening row, client bank account number, client address, client phone, client mailbox and billing content can be accurately obtained by inquiring the client tax number, and meanwhile, the integration processing is performed according to the invoice type selected by the client to form order billing application information; for example, when the invoice type selected by the customer is the value-added tax electronic general invoice type, integrating the information of the customer name, the customer account opening row, the customer bank account number, the customer address, the customer telephone, the customer mailbox, the invoicing content, the invoice type is the value-added tax electronic general invoice type and the like to obtain corresponding order invoicing application information.
Referring to fig. 3, a third embodiment of a method for billing a logistic fee according to the embodiment of the present invention includes:
301. judging and processing the payment state of the order according to the order billing application information, wherein the payment state comprises an unfinished payment state and a finished payment state;
302. if the payment state is the unfinished payment state, marking the order billing application information as unfinished payment order information;
303. if the payment state is the completed payment state, marking the order billing application information as completed payment order information, and generating order data to be billed according to the completed payment order information;
In this embodiment, when a customer applies for an electronic invoice according to an order, it is first determined whether the order has completed payment, that is, the corresponding electronic invoice can be issued after the order has completed payment, and the electronic invoice cannot be issued for an order that has not completed payment, so that the situation that the electronic invoice is issued after the order has not completed payment is avoided, and the corresponding running amount of the order is ensured, so that the actual payment situation of the order is queried according to the running amount of the order; thus, for customers who are urgent for electronic invoices, the customers can be prompted to complete payment as soon as possible.
Referring to fig. 4, a fourth embodiment of the method for billing a logistic fee according to the embodiment of the present invention includes:
401. judging the real payment amount and the preset amount of the order according to the information of the completed payment order;
402. if the actual payment amount is not equal to the preset amount, marking the information of the completed payment order as information of the wrong payment order;
403. if the real payment amount is equal to the preset amount, marking the completed payment order information as amount error-free order information, and generating order data to be billed according to the amount error-free order information;
in this embodiment, after the order is paid, the actual real payment amount of the customer is obtained according to the order payment information, and the real payment amount is compared with the corresponding preset amount, so as to avoid the phenomenon of false report amount; for example, if the real payment amount of an order is three thousand yuan, the preset amount is set to be three thousand yuan, and in the process of electronic invoice making, the order can only make three thousand yuan electronic invoice, and can not make electronic invoice with less than three thousand yuan or more than three thousand yuan, so that the accuracy of the amount of the electronic invoice made is ensured.
Referring to fig. 5, a fifth embodiment of the method for billing a logistic fee according to the embodiment of the present invention includes:
501. judging and processing the billing state of the order according to the information of the order without error of the amount, wherein the billing state comprises a billed state and a non-billed state;
502. if the billing state is the billing state, marking the order information without errors of the amount as the billing order information;
503. if the billing state is the non-billing state, marking the non-error order information of the amount as non-billing order information, and generating order data to be billed according to the non-billing order information.
In this embodiment, the order that has already been issued with the electronic invoice is excluded by determining the state of issuing an order, and when the order is in a state of not issuing, the data of the order to be issued is generated according to the information of the order that has not issued, so as to avoid the phenomenon of repeated issuing.
Referring to fig. 6, a sixth embodiment of a method for billing a logistic fee according to the embodiment of the present invention includes:
601. performing authenticity verification processing on the order data to be invoiced, wherein the authenticity verification comprises format verification, repeatability verification and integrity verification;
602. if any one of the format verification, the repeatability verification and the integrity verification is wrong, marking the order as wrong order data;
603. If the format verification, the repeatability verification and the integrity verification are all correct, marking the order as correct order data, and generating billing order verification data according to the correct order data;
in this embodiment, format verification, repeatability verification and integrity verification are performed on the order data to be invoiced, if any one of three conditions including format errors, data repetition and incomplete data appear in the order data to be invoiced, the electronic invoice issuing step cannot be performed in the next step, that is, the electronic invoice issuing step can be performed only after the format verification, the repeatability verification and the integrity verification are correct, so that the anti-counterfeiting performance of the issued electronic invoice is further improved. For example, when the format of the order data to be invoiced does not match the standard format, the format of the order data to be invoiced needs to be modified to the standard format to generate the order verification data.
Referring to fig. 7, a seventh embodiment of the method for billing logistic charges in the embodiment of the present invention includes:
701. acquiring an invoice first verification code, an invoice second verification code and an invoice verification code according to the invoice two-dimensional code;
702. Acquiring a historical first verification code, a historical second verification code and a historical verification code, and generating a database according to the historical first verification code, the historical second verification code and the historical verification code;
703. comparing the invoice first verification code with the historical first verification code in the database;
704. if the invoice first verification code is consistent with the historical first verification code, marking the billing order verification data as first-level verification unqualified data;
705. if the invoice first verification code is inconsistent with the historical first verification code, marking the billing order verification data as first-level verification qualified data;
706. comparing the invoice second verification code with the historical second verification code in the database according to the first-level verification qualified data;
707. if the invoice second verification code is consistent with the historical second verification code, marking the billing order verification data as second-level verification unqualified data;
708. if the invoice second verification code is inconsistent with the historical second verification code, marking the billing order verification data as second-level verification qualified data;
709. comparing the invoice check code with the historical check code in the database according to the second-level verification qualified data;
710. if the invoice check code is consistent with the history check code, marking the check data of the invoicing order as unqualified check data;
711. If the invoice check code is inconsistent with the history check code, marking the check data of the order to be checked as qualified check data, and performing the order making process according to the qualified check data to generate the order making data;
in the embodiment, each electronic invoice is endowed with a unique invoice first verification code, invoice second verification code and invoice verification code, the invoice first verification code, the invoice second verification code and the invoice verification code are checked by scanning the invoice two-dimensional code, three-layer verification is formed by utilizing the invoice first verification code, the invoice second verification code and the invoice verification code, and the invoice verification accuracy is greatly improved. For example, after the client obtains the electronic invoice, the invoice two-dimensional code can be scanned by the relevant verification department, the invoice first verification code, the invoice second verification code and the invoice verification code of the electronic invoice are obtained, the relevant verification department inputs the invoice first verification code, the invoice second verification code and the invoice verification code into the database respectively to be compared with the corresponding historical first verification code, the historical second verification code and the historical verification code, so that the validity of the electronic invoice is verified, and the verification of the electronic invoice is more accurate.
The method for billing the logistic cost in the embodiment of the present invention is described above, and the device for billing the logistic cost in the embodiment of the present invention is described below, referring to fig. 8, and one embodiment of the device for billing the logistic cost in the embodiment of the present invention includes:
The acquiring module 801 is configured to acquire order information, and obtain order billing application information according to the order information;
the judging and processing module 802 is configured to judge and process the order billing application information to generate order data to be billed;
the verification processing module 803 is configured to perform verification processing on order data to be invoiced, so as to generate order verification data to be invoiced;
the billing processing module 804 is configured to perform billing processing on the order according to the billing order verification data, so as to generate order billing data;
and the update processing module 805 is configured to update the invoice status of the order according to the order invoicing data.
Referring to fig. 9, another embodiment of the logistic fee billing device according to the embodiment of the present invention includes:
the acquiring module 801 is configured to acquire order information, and obtain order billing application information according to the order information;
the judging and processing module 802 is configured to judge and process the order billing application information to generate order data to be billed;
the verification processing module 803 is configured to perform verification processing on order data to be invoiced, so as to generate order verification data to be invoiced;
the billing processing module 804 is configured to perform billing processing on the order according to the billing order verification data, so as to generate order billing data;
The update processing module 805 is configured to update an invoice status of an order according to order billing data;
in this embodiment, the obtaining module 801 includes: a first obtaining section 8011, configured to obtain a corresponding customer tax number according to the order information; a first obtaining unit 80112, configured to obtain a customer name, a customer account opening row, a customer bank account number, a customer address, a customer phone, a customer mailbox, and an billing content according to a customer tax number; a second obtaining unit 80113, configured to obtain an invoice instruction from a client, so as to obtain invoice type data; the invoice type data comprises value-added tax electronic common invoice type data and value-added tax electronic special invoice type data; the integration processing unit 80114 is configured to integrate the customer tax number, the customer name, the customer account opening party, the customer bank account number, the customer address, the customer phone, the customer mailbox, the billing content and the corresponding invoice type, so as to obtain the order billing application information.
In this embodiment, the determining processing module 802 includes: the first judging and processing unit 8021 is configured to mark the order billing application information as incomplete payment order information if the payment status is an incomplete payment status; a first judgment processing marking section 8022 for marking the order billing application information as incomplete payment order information if the payment state is an incomplete payment state; and a second judging and processing marking section 8023 for marking the order billing application information as the completed payment order information if the payment state is the completed payment state, and generating the to-be-billed order data according to the completed payment order information.
In this embodiment, the determining processing module 802 further includes: a second judging and processing unit 8024, configured to judge the real payment amount and the preset amount of the order according to the information of the completed payment order; a third judgment processing marking section 8025 for marking the completed payment order information as the order information with the wrong amount if the real payment amount is not equal to the preset amount; and a fourth judging and processing marking section 8026 for marking the completed payment order information as the amount-free order information if the real payment amount is equal to the preset amount, and generating the to-be-billed order data according to the amount-free order information.
In this embodiment, the determining processing module 802 further includes: a third judging and processing unit 8027, configured to judge an invoicing state of an order according to the information of the order without error, where the invoicing state includes an invoiced state and an unexpoked state; a fifth judgment processing marking section 8028 for marking the amount error-free order information as the invoiced order information if the invoiced state is an invoiced state; and a sixth judging and processing marking section 8029 for marking the amount error-free order information as the non-invoicing order information if the invoicing state is the non-invoicing state, and generating the to-be-invoicing order data according to the non-invoicing order information.
In this embodiment, the verification processing module 803 includes: the verification processing unit 8031 is used for performing authenticity verification processing on the order data to be invoiced, wherein the authenticity verification comprises format verification, repeatability verification and integrity verification; a first verification process marking section 8032 for marking the order as erroneous order data if any one of the format verification, the repeatability verification, and the integrity verification is erroneous; the second checking process marking section 8033 is configured to mark the order as error-free order data if the format verification, the repeatability verification, and the integrity verification are all error-free, and generate billing order checking data according to the error-free order data.
In this embodiment, the billing processing module 804 includes: the second obtaining part 8041 is used for obtaining an invoice first verification code, an invoice second verification code and an invoice verification code according to the invoice two-dimensional code; a generating section 8042 for acquiring the history first verification code, the history second verification code, and the history verification code, and generating a database according to the history first verification code, the history second verification code, and the history verification code; the first comparing part 8043 is used for comparing the invoice first verification code with the historical first verification code in the database; the first verification code marking part 8044 is used for marking the billing order verification data as first-stage verification failure data if the invoice first verification code is consistent with the history first verification code; the second verification code marking part 8045 is used for marking the billing order verification data as first-level verification qualified data if the invoice first verification code is inconsistent with the history first verification code; the second comparing part 8046 is used for comparing the invoice second verification code with the historical second verification code in the database according to the first-level verification qualified data; a third identifying code marking section 8047 for marking the billing order checking data as second-level checking disqualification data if the invoice second identifying code is consistent with the history second identifying code; a fourth identifying code marking section 8048, configured to mark the billing order verification data as second-level verification qualified data if the invoice second identifying code is inconsistent with the history second identifying code; a third comparing section 8049 for comparing the invoice verification code with the history verification code in the database according to the second-level verification qualified data; a first check code marking unit 80410, configured to mark the billing order check data as verification failure data if the invoice check code is consistent with the history check code; and the second check code marking part 80411 is used for marking the checking data of the invoicing order as checking qualified data if the invoice checking code is inconsistent with the history checking code, and performing invoicing processing on the order according to the checking qualified data to generate the invoicing data of the order.
The above-mentioned fig. 8 and fig. 9 describe the logistics expense billing device in the embodiment of the present invention in detail from the point of view of the modularized functional entity, and the logistics expense billing device in the embodiment of the present invention is described in detail from the point of view of hardware processing.
Fig. 10 is a schematic structural diagram of a logistical fee billing device according to an embodiment of the present invention, where the logistical fee billing device 900 may have a relatively large difference according to a configuration or a performance, and may include one or more processors (central processing units, CPU) 910 (e.g., one or more processors) and a memory 920, and one or more storage media 930 (e.g., one or more mass storage devices) storing application programs 933 or data 932. Wherein the memory 920 and storage medium 930 may be transitory or persistent storage. The program stored on the storage medium 930 may include one or more modules (not shown), each of which may include a series of instruction operations in the logistic fee billing device 900. Still further, the processor 910 may be configured to communicate with the storage medium 930 and execute a series of instruction operations in the storage medium 930 on the logistic fee billing device 900 to implement the steps of the logistic fee billing method provided in the above method embodiments.
The logistic fare opening device 900 may also include one or more power supplies 940, one or more wired or wireless network interfaces 950, one or more input/output interfaces 960, and/or one or more operating systems 931, such as Windows service, mac OS X, unix, linux, freeBSD, etc. It will be appreciated by those skilled in the art that the configuration of the logistic fee billing device shown in fig. 10 is not limiting of the logistic fee based billing device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components may be used.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, and which may also be a volatile computer readable storage medium, the computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the steps of the method for billing a logistic fee.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the system or apparatus and unit described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the foregoing is merely a preferred example of the present invention, and the present invention is not limited thereto, but it is to be understood that modifications and equivalents of some of the technical features described in the foregoing embodiments may be made by those skilled in the art, although the present invention has been described in detail with reference to the foregoing embodiments. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A method for billing a logistic fee, comprising:
acquiring order information, and acquiring order billing application information according to the order information;
judging and processing the order billing application information to generate order data to be billed;
checking the order data to be checked to generate check data of the order to be checked;
according to the checking data of the order, the order is processed to generate the order billing data;
and updating the invoice state of the order according to the order invoicing data.
2. The method for billing a logistic fee according to claim 1, wherein the acquiring order information and obtaining order billing application information according to the order information includes:
acquiring corresponding client tax numbers according to the order information;
acquiring a customer name, a customer account opening row, a customer bank account number, a customer address, a customer telephone, a customer mailbox and an account opening content according to the customer tax number;
acquiring a client billing instruction to obtain invoice type data; the invoice type data comprises value-added tax electronic common invoice type data and value-added tax electronic special invoice type data;
and integrating the client tax number, the client name, the client account number, the client address, the client telephone, the client mailbox, the billing content and the corresponding invoice type to obtain the order billing application information.
3. The method for billing logistic charges according to claim 1, wherein the determining the order billing application information to generate the order data to be billed comprises:
judging and processing the payment state of the order according to the order billing application information, wherein the payment state comprises an unfinished payment state and a finished payment state;
if the payment state is the unfinished payment state, marking the order billing application information as unfinished payment order information;
if the payment state is the completed payment state, the order billing application information is marked as the completed payment order information, and the to-be-billed order data is generated according to the completed payment order information.
4. The logistic fee billing method according to claim 3, wherein if the payment status is a completed payment status, marking the order billing application information as completed payment order information and generating order data to be billed according to the completed payment order information, comprising:
judging the real payment amount and the preset amount of the order according to the information of the completed payment order;
if the actual payment amount is not equal to the preset amount, marking the information of the completed payment order as information of the wrong payment order;
If the actual payment amount is equal to the preset amount, the information of the completed payment order is marked as the information of the order with no amount, and the data of the order to be billed is generated according to the information of the order with no amount.
5. The method for billing a logistic fee according to claim 4, wherein if the real payment amount is equal to the preset amount, the information of the completed payment order is marked as the information of the no-error payment order, and the data of the order to be billed is generated according to the information of the no-error payment order, comprising:
judging and processing the billing state of the order according to the information of the order without error of the amount, wherein the billing state comprises a billed state and a non-billed state;
if the billing state is the billing state, marking the order information without errors of the amount as the billing order information;
if the billing state is the non-billing state, marking the non-error order information of the amount as non-billing order information, and generating order data to be billed according to the non-billing order information.
6. The logistic fee billing method according to claim 1, wherein the verifying process of the to-be-billed order data to generate billing order verification data includes:
performing authenticity verification processing on the order data to be invoiced, wherein the authenticity verification comprises format verification, repeatability verification and integrity verification;
If any one of the format verification, the repeatability verification and the integrity verification is wrong, marking the order as wrong order data;
if the format verification, the repeatability verification and the integrity verification are all correct, marking the order as correct order data, and generating billing order verification data according to the correct order data.
7. The logistic fee billing method according to claim 1, wherein the billing process for the order according to the billing order checking data to generate the order billing data includes:
the invoicing order verification data comprises an invoice two-dimensional code;
acquiring an invoice first verification code, an invoice second verification code and an invoice verification code according to the invoice two-dimensional code;
acquiring a historical first verification code, a historical second verification code and a historical verification code, and generating a database according to the historical first verification code, the historical second verification code and the historical verification code;
comparing the invoice first verification code with the historical first verification code in the database;
if the invoice first verification code is consistent with the historical first verification code, marking the billing order verification data as first-level verification unqualified data;
if the invoice first verification code is inconsistent with the historical first verification code, marking the billing order verification data as first-level verification qualified data;
Comparing the invoice second verification code with the historical second verification code in the database according to the first-level verification qualified data;
if the invoice second verification code is consistent with the historical second verification code, marking the billing order verification data as second-level verification unqualified data;
if the invoice second verification code is inconsistent with the historical second verification code, marking the billing order verification data as second-level verification qualified data;
comparing the invoice check code with the historical check code in the database according to the second-level verification qualified data;
if the invoice check code is consistent with the history check code, marking the check data of the invoicing order as unqualified check data;
if the invoice check code is inconsistent with the history check code, marking the check data of the order to be checked as qualified check data, and performing the order making process according to the qualified check data to generate the order making data.
8. A logistic fee billing device, comprising:
the acquisition module is used for acquiring order information and acquiring order billing application information according to the order information;
the judging and processing module is used for judging and processing the order billing application information so as to generate order data to be billed;
The verification processing module is used for performing verification processing on the order data to be invoiced so as to generate order verification data to be invoiced;
the billing processing module is used for billing the order according to the billing order verification data so as to generate order billing data;
and the updating processing module is used for updating the invoice state of the order according to the order billing data.
9. A logistic fee billing apparatus, characterized in that the logistic fee billing apparatus comprises: a memory and at least one processor, the memory having instructions stored therein;
at least one of the processors invokes the instructions in the memory to cause the logistic fare invoicing device to perform the steps of the logistic fare invoicing method according to any one of claims 1-7.
10. A computer readable storage medium having instructions stored thereon, which when executed by a processor, perform the steps of the logistic cost billing method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310450939.7A CN116797299A (en) | 2023-04-24 | 2023-04-24 | Logistics expense billing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310450939.7A CN116797299A (en) | 2023-04-24 | 2023-04-24 | Logistics expense billing method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116797299A true CN116797299A (en) | 2023-09-22 |
Family
ID=88045381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310450939.7A Pending CN116797299A (en) | 2023-04-24 | 2023-04-24 | Logistics expense billing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116797299A (en) |
-
2023
- 2023-04-24 CN CN202310450939.7A patent/CN116797299A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108922012B (en) | Invoice checking method without leakage of original information based on block chain technology | |
US11062132B2 (en) | System and method for identification of missing data elements in electronic documents | |
US20130325706A1 (en) | System, method, apparatus, and computer program product for improved payment processing | |
WO2019127889A1 (en) | Data check method and apparatus, computer device, and readable storage medium | |
CN107016602B (en) | Management method and management system for bid security | |
CN107730374B (en) | Electronic accounting platform system and automatic checking method for accounting and link times of invoice data buyer | |
CN110263239B (en) | Invoice identification method and device, storage medium and computer equipment | |
CN113902573A (en) | Method and device for processing claim settlement data, storage medium and terminal | |
CN111784423B (en) | Invoice matching method and device, electronic equipment and storage medium | |
CN112785402A (en) | Bill information processing method, bill information processing system, and storage medium | |
CN109829769B (en) | Electronic invoice duplicate checking method and system | |
CN105808625A (en) | Document data processing method and device | |
CN116503184A (en) | Financial tax ticketing integrated management platform | |
CN116797299A (en) | Logistics expense billing method, device, equipment and storage medium | |
CN111768565A (en) | Method for identifying and post-processing invoice codes in value-added tax invoices | |
CN111242773A (en) | Virtual resource application docking method and device, computer equipment and storage medium | |
CN116228265A (en) | Invoice risk identification method, device and equipment | |
CN115660878A (en) | Electronic invoice realization method and system | |
CN115170017A (en) | Waybill processing method and device and storage medium | |
CN113781007A (en) | Data verification system and method | |
CN114358707A (en) | Man-machine cooperative hybrid examination order decision method and system | |
CN114048732A (en) | Multi-terminal information processing method, device, equipment and storage medium | |
CN111340517A (en) | Method, system and related equipment for rapidly inquiring authenticity of invoice | |
CN112000697A (en) | Enterprise performance identification method for bid evaluation | |
CN111242764A (en) | Invoice reimbursement method and device based on block chain and readable storage medium |
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 |