CN109389439B - Invoice splitting method and system - Google Patents

Invoice splitting method and system Download PDF

Info

Publication number
CN109389439B
CN109389439B CN201811301525.3A CN201811301525A CN109389439B CN 109389439 B CN109389439 B CN 109389439B CN 201811301525 A CN201811301525 A CN 201811301525A CN 109389439 B CN109389439 B CN 109389439B
Authority
CN
China
Prior art keywords
amount
disassembled
difference
materials
wholly
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.)
Active
Application number
CN201811301525.3A
Other languages
Chinese (zh)
Other versions
CN109389439A (en
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.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201811301525.3A priority Critical patent/CN109389439B/en
Publication of CN109389439A publication Critical patent/CN109389439A/en
Application granted granted Critical
Publication of CN109389439B publication Critical patent/CN109389439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a method and a system for splitting invoices, which are used for maximizing the use of the quota of each invoice. The method provided by the embodiment of the invention comprises the following steps: acquiring the sum of money of a first material to be invoiced and a minimum splitting unit of the first material, wherein the minimum splitting unit comprises an integer and a non-integer; determining the number of invoices to be invoiced according to the first material amount; and splitting the quota of each invoice according to the first material amount and the minimum splitting unit, so that the quota of each invoice is maximally utilized. The embodiment also provides a system for splitting the invoices, which is used for enabling the quota of each invoice to be maximally utilized.

Description

Invoice splitting method and system
Technical Field
The invention relates to the technical field of electronics, in particular to a method and a system for splitting invoices.
Background
The existing ERP system only supports the realization of splitting invoicing according to certain parameter configuration, if rolling splitting, the traversal is carried out according to the materials which are arranged in advance, and when the accumulated amount reaches the upper limit, splitting logic is executed; and the average splitting means that the required invoice amount is calculated according to the invoice limit after the sum of the selected materials is summed, and the sum of each invoice is equal to the sum divided by the invoice amount.
This resolution method has at least the following disadvantages:
whether the splitting is performed in a rolling mode or an average splitting mode is that splitting rules are set according to configured splitting parameters, and when the quantity of materials needing splitting is split according to an integer, the invoice amount cannot be close to the invoice limit to the maximum extent, so that the invoice resource is wasted.
Disclosure of Invention
The embodiment of the invention provides a method and a system for splitting invoices, which are used for maximizing the use of the quota of each invoice.
A first aspect of an embodiment of the present application provides a method for splitting an invoice, including:
acquiring the sum of money of a first material to be invoiced and a minimum splitting unit of the first material, wherein the minimum splitting unit comprises an integer and a non-integer;
determining the number of invoices to be invoiced according to the first material amount;
and splitting the quota of each invoice according to the first material amount and the minimum splitting unit, so that the quota of each invoice is maximally utilized.
Preferably, the splitting the quota of each invoice according to the first material amount and the minimum splitting unit so that the quota of each invoice is maximally utilized includes:
dividing the first material into wholly-disassembled materials and non-wholly-disassembled materials according to the minimum splitting unit of the first material;
carrying out first sequencing on the money amount of the whole disassembled material from large to small;
carrying out second sequencing on the money amount of the non-wholly-disassembled materials from small to large;
and sequentially traversing the amount of the wholly-disassembled materials and the amount of the non-wholly-disassembled materials, so that the current invoice limit is maximally utilized.
Preferably, the sequentially traversing the amount of the wholly-detached materials and the amount of the non-wholly-detached materials to make the current invoice limit maximally utilized includes:
traversing the amounts of the integrally-dismantled materials according to the first sequence preferentially, and judging whether a first amount equal to the current invoice amount exists in the amounts of the integrally-dismantled materials or not;
if not, selecting a second amount which is closest to and smaller than the current invoice amount from the total dismantled material amount, so that the current invoice amount is maximally utilized;
calculating a first difference between the second amount and the current invoice limit;
judging whether the integrally-disassembled material to be disassembled exists or not;
if so, acquiring the unit price and the quantity of the integrally-disassembled material to be disassembled, and judging whether the first difference is smaller than the unit price of the integrally-disassembled material to be disassembled;
and if so, traversing the amount of the non-wholly-disassembled materials according to the second sequence, so that the first difference is utilized to the maximum.
Preferably, said traversing the amounts of non-wholesale materials in said second ordering such that said first differential is maximally utilized comprises:
traversing the amounts of the non-wholly-disassembled materials according to the second sequence, and judging whether a third amount equal to the first difference exists in the amounts of the non-wholly-disassembled materials;
if not, selecting a fourth amount which is closest to and smaller than the first difference and a fifth amount which is larger than the first difference from the amounts of the non-wholly-disassembled materials;
and according to the fourth amount and the fifth amount, the first difference is enabled to be utilized to the maximum.
Preferably, said making the first difference maximally utilized according to the fourth amount and the fifth amount includes:
reading the unit price of the material corresponding to the fifth quota and the minimum quantity precision of the split material, wherein the minimum quantity precision is decimal place;
judging whether the fifth amount can be split into the first difference or not according to the unit price of the material corresponding to the fifth amount and the split minimum number precision;
if not, according to the unit price of the material corresponding to the fifth amount and the minimum quantity precision of the split, splitting the fifth amount into a sixth amount which is closest to and smaller than the first difference;
determining, from the fourth amount and the sixth amount, an amount value that is closest to and less than the first deficit such that the first deficit is maximally utilized.
A second aspect of the embodiments of the present application provides a system for splitting an invoice, including:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the sum of first materials to be invoiced and the minimum splitting unit of the first materials, and the minimum splitting unit comprises an integer and a non-integer;
the determining unit is used for determining the number of invoices to be invoiced according to the first material amount;
and the splitting unit is used for splitting the quota of each invoice according to the first material amount and the minimum splitting unit, so that the quota of each invoice is maximally utilized.
Preferably, the splitting unit includes:
the dividing subunit is used for dividing the first material into a wholly-disassembled material and a non-wholly-disassembled material according to the minimum splitting unit of the first material;
the first sequencing subunit is used for carrying out first sequencing on the money amount of the whole disassembled material according to a descending order;
the second sequencing subunit is used for carrying out second sequencing on the money amount of the non-wholly-disassembled material from small to large;
and the traversing subunit is used for sequentially traversing the amount of the wholly-disassembled materials and the amount of the non-wholly-disassembled materials, so that the current invoice limit is maximally utilized.
Preferably, the traversal subunit includes:
the traversal judging module is used for preferentially traversing the amounts of the integrally-dismantled materials according to the first sequence and judging whether a first amount equal to the current invoice amount exists in the amounts of the integrally-dismantled materials;
the selecting module is used for selecting a second amount which is closest to and smaller than the current invoice amount from the total dismantled material amount when the first amount does not exist in the total dismantled material amount, so that the current invoice amount is utilized to the maximum extent;
the calculation module is used for calculating a first difference between the second amount and the current invoice amount;
the judging module is used for judging whether the integrally-disassembled material to be disassembled exists or not;
the acquisition judging module is used for acquiring the unit price and the quantity of the integrally-disassembled materials to be disassembled when the integrally-disassembled materials to be disassembled exist, and judging whether the first difference is smaller than the unit price of the integrally-disassembled materials to be disassembled;
and the traversing module is used for traversing the amount of the non-wholly-disassembled materials according to the second sequence when the first difference is smaller than the unit price of the wholly-disassembled materials to be disassembled, so that the first difference is utilized to the maximum.
Preferably, the traversing module includes:
the traversal judgment submodule is used for traversing the amounts of the non-wholly-disassembled materials according to the second sequence and judging whether a third amount equal to the first difference exists in the amounts of the non-wholly-disassembled materials;
a selection submodule, configured to select, when the third amount does not exist, a fourth amount that is closest to and smaller than the first difference and a fifth amount that is larger than the first difference from the amounts of the non-detached materials;
and the difference maximization submodule is used for maximizing the first difference according to the fourth amount and the fifth amount.
Preferably, the difference maximization submodule includes:
the reading micromodule is used for reading the unit price of the material corresponding to the fifth quota and the split minimum number precision, and the minimum number precision is decimal place;
the judging micromodule is used for judging whether the fifth amount can be split into the first difference amount according to the unit price of the material corresponding to the fifth amount and the split minimum number precision;
the splitting micromodule is used for splitting the fifth amount into a sixth amount which is closest to and smaller than the first difference according to the unit price of the material corresponding to the fifth amount and the split minimum number precision when the fifth amount cannot be split into the first difference;
a determining micromodule for determining from said fourth amount and said sixth amount the amount value closest to and less than said first difference such that said first difference is maximally utilized.
The present application further provides a computer apparatus comprising a processor, which when executing a computer program stored in a memory, is configured to implement the method for splitting an invoice provided in the first aspect of the embodiments of the present application.
An embodiment of the present application further provides a readable storage medium, on which a computer program is stored, where the computer program is used, when executed by a processor, to implement the method for splitting an invoice provided in the first aspect of the embodiment of the present application.
According to the technical scheme, the embodiment of the invention has the following advantages:
in the embodiment of the invention, the sum of the first material to be invoiced and the minimum splitting unit of the first material are obtained firstly, the minimum splitting unit comprises integral splitting and non-integral splitting, and then the limit of each invoice is split according to the sum of the first material and the minimum splitting unit, so that the limit of each invoice is maximally utilized, and the waste of invoice resources is avoided.
Drawings
FIG. 1 is a schematic diagram of an embodiment of a method for splitting an invoice in an embodiment of the present application;
FIG. 2 is a schematic diagram of another embodiment of a method for splitting an invoice in an embodiment of the present application;
FIG. 3 is a schematic diagram of another embodiment of a method for splitting an invoice in an embodiment of the present application;
FIG. 4 is a schematic diagram of another embodiment of a method for splitting an invoice in an embodiment of the present application;
FIG. 5 is a schematic diagram of another embodiment of a method for splitting an invoice in an embodiment of the present application;
FIG. 6 is a schematic diagram of one embodiment of a system for splitting invoices in an embodiment of the present application;
FIG. 7 is a detailed structural diagram of a splitting unit in the embodiment of the present application;
FIG. 8 is a detailed structure diagram of traversal subunits in the embodiment of the present application;
FIG. 9 is a detailed structural diagram of a traversal module in the embodiment of the present application;
fig. 10 is a detailed structural diagram of a difference maximization submodule in the embodiment of the present application.
Detailed Description
The embodiment of the invention provides a method and a system for splitting invoices, which are used for splitting the quota of each invoice according to the quota of a first material to be invoiced and the minimum splitting unit, so that the quota of each invoice is maximally utilized, and the waste of the quota of the invoice is avoided.
In order to make the technical solutions of the present invention better understood, 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 only a part of the embodiments of the present invention, 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 invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations 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, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Aiming at the problem that the invoice amount cannot be fully utilized by a rolling splitting and average splitting method in the prior art, the invention provides an invoice splitting method and system, which are used for splitting the amount of each invoice according to the amount of a first material of the invoice to be issued and the minimum splitting unit of the first material, so that the amount of each invoice is maximally utilized.
For convenience of understanding, the method for splitting an invoice in the present invention is described below, and referring to fig. 1, an embodiment of the method for splitting an invoice in the embodiment of the present invention includes:
101. acquiring the sum of money of a first material to be invoiced and a minimum splitting unit of the first material, wherein the minimum splitting unit comprises an integer and a non-integer;
before invoicing the materials, the first material amount of the invoices to be invoiced needs to be obtained, and then the invoices are invoiced for the first material amount according to the amount of each invoice.
Different from the prior art, the minimum splitting unit of the first material of the invoice to be issued is acquired before the invoice is issued, wherein the minimum splitting unit comprises an integer and a non-integer.
Specifically, when the splitting unit is an integer, the minimum unit of the split materials must be an integer when invoicing invoices, and when the splitting unit is a non-integer, the minimum unit of the split materials can be a decimal when invoicing invoices.
For example: when the first material is a chair, the minimum splitting unit can only be an integer when invoicing, and when the first material is a pipe, the minimum splitting unit can be a decimal when invoicing, it needs to be explained that the first material in the embodiment is a general name of the material to be invoiced, the first material can include but not limited to one material, and if the first material can include multiple materials, it can also include only one material, and the type of the first material is not specifically limited here.
102. Determining the number of invoices to be invoiced according to the first material amount;
in practical application, after the amount of the first material is obtained, the amount of invoices to be invoiced can be determined according to the amount of each invoice, such as: the sum of the first material is 265, and the amount of each invoice is 100, at least 3 invoices are needed.
103. And splitting the quota of each invoice according to the first material amount and the minimum splitting unit, so that the quota of each invoice is maximally utilized.
After the sum of the first material of the invoice to be issued and the minimum splitting unit are obtained, the sum of each invoice is split according to the sum of the first material and the minimum splitting unit, and the sum of each invoice is made the maximum use.
Specifically, how to split the quota of each invoice according to the amount of the first material and the minimum splitting unit so that the quota of each invoice is maximally utilized will be described in detail in the following embodiments, and details are not repeated herein.
In the embodiment of the invention, the sum of the first material to be invoiced and the minimum splitting unit of the first material are obtained firstly, the minimum splitting unit comprises integral splitting and non-integral splitting, and then the limit of each invoice is split according to the sum of the first material and the minimum splitting unit, so that the limit of each invoice is maximally utilized, and the waste of invoice resources is avoided.
Referring to fig. 2, another embodiment of a method for splitting an invoice according to an embodiment of the present invention includes:
201. dividing the first material into wholly-disassembled materials and non-wholly-disassembled materials according to the minimum splitting unit of the first material;
specifically, after the minimum splitting unit of the first material is obtained, the first material is divided into a wholly-split material and a non-wholly-split material, where the wholly-split material means that the number of split materials can only be an integer when an invoice is split, and the non-wholly-split material means that the number of split materials can be a small number when the invoice is split.
202. Carrying out first sequencing on the money amount of the whole disassembled material from large to small;
after the integrally-disassembled materials are marked, the money amount of the integrally-disassembled materials is sorted in the descending order, and the money amount closest to the invoice amount can be selected more easily when the invoice is disassembled, because the integrally-disassembled materials have requirements on a disassembling unit when the invoice is disassembled, the integrally-disassembled materials are preferentially considered when the invoice is disassembled, and the money amount of the integrally-disassembled materials is sorted in the first order.
203. Carrying out second sequencing on the money amount of the non-wholly-disassembled materials from small to large;
because the small-number materials can be split from the non-integral-split materials, the non-integral-split materials are generally mainly used for supplementing the invoice amount and the remaining amount after the amount is occupied by the integral-split materials, so that the non-integral-split materials can be sorted out more easily after being sorted in the order from small to large, and the amount close to the remaining amount can be selected, and the invoice amount can be utilized to the maximum.
204. And sequentially traversing the amount of the wholly-disassembled materials and the amount of the non-wholly-disassembled materials, so that the current invoice limit is maximally utilized.
And after the total amount of the wholly-disassembled materials in the first sequence and the total amount of the non-wholly-disassembled materials in the second sequence are obtained, sequentially traversing the total amount of the wholly-disassembled materials and the total amount of the non-wholly-disassembled materials, and enabling the current invoice limit to be maximally utilized.
Specifically, the manner for maximizing the utilization of the current invoice limit will be specifically described in the following embodiments, and will not be described herein again.
In the embodiment of the application, the amount of each invoice is split according to the first material amount and the minimum splitting unit, so that the manner of maximally utilizing the amount of each invoice is further described, and the implementability of the embodiment of the application is improved.
Referring to fig. 3, another embodiment of a method for splitting an invoice in the embodiment of the present application includes, based on step 204 in the embodiment described in fig. 2, a specific manner of sequentially traversing the amounts of the integrity materials and the amounts of the non-integrity materials to maximize the utilization of the current invoice amount is described in detail below, where:
301. preferentially traversing the amounts of the integrally-dismantled materials according to the first sequence, and judging whether a first amount equal to the current invoice amount exists in the amounts of the integrally-dismantled materials, if so, executing a step 307, and if not, executing a step 302;
and after the money amounts of the integrally-disassembled materials are subjected to first sequencing from big to small, preferentially traversing the money amounts of the integrally-disassembled materials according to the first sequencing, and judging whether the first money amount equal to the current invoice money amount exists in the money amounts of the integrally-disassembled materials, if so, executing a step 307, and if not, executing a step 302.
302. Selecting a second amount which is closest to and smaller than the current invoice amount from the total dismantled material amount, so that the current invoice amount is maximally utilized;
and if the first amount equal to the current invoice amount does not exist in the amounts of the integrally-disassembled materials, selecting a second amount which is closest to and smaller than the current invoice amount from the amounts of the integrally-disassembled materials, so that the current invoice amount is maximally utilized.
Specifically, for example: the total amount of the wholly dismantled materials is respectively as follows: 60 (unit price 20),50 (unit price 8),35 (unit price 7), the amount of non-integrity material is: 1.99,2.5,5.5, and the current invoice has a credit of 100, then 60 and 35 are preferably selected from the total detached material amount, so that 60+35 is 95, which is closest to the current invoice credit 100.
It will be readily appreciated that the second amount may be the amount of one material or the sum of a plurality of materials, in the above example, the second amount is the sum of 60 and 35.
303. Calculating a first difference between the second amount and the current invoice limit;
after the second amount is obtained, a first difference between the second amount and the current invoice amount is calculated, for example, the first difference is 100-95 to 5, and then step 304 is performed.
304. Judging whether the integral material to be split exists or not, if not, executing a step 306, and if so, executing a step 305;
after the first difference is obtained, whether the wholly dismantled material needing to be dismantled exists is judged, if yes, step 305 is executed, and if not, step 306 is executed.
305. Acquiring the quantity and unit price of the wholly-disassembled materials to be disassembled, judging whether the first difference is less than the unit price of the wholly-disassembled materials to be disassembled, if so, executing step 306, and if not, executing step 308;
when the integrally-disassembled material to be disassembled exists, judging whether the first difference is smaller than the unit price of the integrally-disassembled material to be disassembled, because only the integrally-disassembled material is considered preferentially when the invoice is disassembled, judging whether the first difference is smaller than the unit price of the integrally-disassembled material to be disassembled after the first difference is obtained, namely judging whether the first difference can be continuously disassembled into one integrally-disassembled material, if so, executing step 306, and if not, executing step 308.
306. Traversing the amounts of the non-wholesale materials in the second ordering such that the first differential is maximally utilized;
and if the first difference is smaller than the unit price of the wholly-disassembled materials, the current first difference indicates that one wholly-disassembled material cannot be disassembled, and the sum of the incompletely-disassembled materials is traversed according to the second sequence, so that the first difference is utilized to the maximum.
Specifically, corresponding to the first difference in step 303, when the first differences 5 are respectively smaller than the unit prices of the wholly-disassembled materials, it indicates that the first difference cannot be disassembled into one wholly-disassembled material, and the amounts of the incompletely-disassembled materials are traversed according to the second sequence, so that the first difference is utilized to the maximum.
Further, the specific manner of traversing the amounts of the non-wholly-disassembled materials according to the second order to maximize the utilization of the first difference will be described in detail in the following embodiments, and will not be described herein again.
307. And selecting the first amount, finishing the issuing of the current invoice amount, and triggering to enter the issuing of the next invoice.
And if the first amount equal to the amount of the current invoice exists in the amount of the completely disassembled materials, filling the amount of the current invoice with the first amount, triggering to enter a next invoice issuing process, and simultaneously triggering to execute the step 301.
308. And splitting the first difference according to the quantity and the unit price of the wholly-split materials to be split, and traversing the amount of the non-wholly-split materials according to a second sequence until the residual amount of the current invoice is less than the unit price of the wholly-split materials to be split, so that the residual amount is utilized to the maximum.
When the first difference is not less than the unit price of the wholly-dismantled materials, namely the first difference can be continuously split into the wholly-dismantled materials, the first difference is continuously split according to the unit price and the number of the wholly-dismantled materials to be split until the wholly-dismantled materials cannot be split, the remaining difference of the current invoice is calculated, the amount of the non-wholly-dismantled materials is traversed according to the second sequence, and the remaining difference is made the maximum use.
In the embodiment of the application, how to sequentially traverse the sum of the wholly-detached materials and the sum of the non-wholly-detached materials is described in detail in a specific mode of maximizing the current invoice limit, so that the implementability of the embodiment of the application is improved.
Referring to fig. 4, a detailed description is given below of a specific manner of traversing the amounts of the non-integrity-disassembled material according to the second ranking so that the first difference is maximally utilized based on step 306 in the embodiment shown in fig. 3, where another embodiment of a method for splitting an invoice in the embodiment of the present application includes:
401. traversing the amounts of the non-wholly-disassembled materials according to the second sequence, and judging whether a third amount equal to the first difference exists in the amounts of the non-wholly-disassembled materials, if not, executing a step 402, and if so, executing a step 404;
and after the first difference is obtained, traversing the amounts of the non-wholly-disassembled materials according to a second sequence, and judging whether a third amount equal to the first difference exists in the amounts of the non-wholly-disassembled materials, if not, executing a step 402, and if so, executing a step 404.
402. Selecting a fourth amount which is closest to and smaller than the first difference and a fifth amount which is larger than the first difference from the amounts of the non-wholly-disassembled materials;
and when the third amount equal to the first difference does not exist in the non-wholly-disassembled materials, selecting a fourth amount which is closest to and smaller than the first difference and a fifth amount which is larger than the first difference from the amounts of the non-wholly-disassembled materials.
Specifically, as shown in step 302 in the embodiment shown in fig. 3, the amounts of the non-integrity materials are: 1.99,2.5,5.5 and the first difference is 5, a fourth amount closest to and less than the first difference of 5, i.e., 2.5, and a fifth amount greater than the first difference, i.e., 5.5, are selected and step 403 is performed.
403. And according to the fourth amount and the fifth amount, the first difference is enabled to be utilized to the maximum.
After obtaining the fourth amount closest to and smaller than the first difference and the fifth amount larger than the first difference, the specific manner how the first difference is maximally utilized according to the fourth amount and the fifth amount will be described in detail in the following embodiments.
404. A third amount is selected to complete the utilization of the first balance and trigger the entry into the issuing of the next invoice.
And when the first difference equal to the third amount just exists in the non-wholly-disassembled materials, selecting the third amount, utilizing the third amount to complete the utilization of the first difference, and triggering to enter the issuing process of the next invoice.
In the embodiment of the present application, a specific manner of how to traverse the amount of the non-total-dismantled material according to the second sorting so that the first difference is maximally utilized is described in detail, thereby improving the implementability of the present application.
Referring to fig. 5, another embodiment of a method for splitting an invoice in the embodiment of the present application includes, based on step 403 in the embodiment illustrated in fig. 4, a specific manner how to maximize the utilization of the first difference according to the fourth amount and the fifth amount is described in detail below, where:
501. reading the unit price of the material corresponding to the fifth quota and the minimum quantity precision of the split material, wherein the minimum quantity precision is decimal place;
it is easy to understand that in practical applications, there is often a requirement for the minimum number precision of the materials, for example, for the minimum number precision of X materials, it can be precise to 2 bits after the decimal point, and for the minimum number precision of Y materials, it can be precise to only 1 bit after the decimal point, so that it may result in that the fifth amount may split the first difference, or may not split the first difference, or the fifth amount may split a value closer to the first difference than the fourth amount, or the fifth amount may not split a value closer to the first difference than the fourth amount, so that it is necessary to read the unit price of the material corresponding to the fifth amount and the minimum number precision of the split material to execute step 502, in this embodiment, the minimum number precision of the material corresponding to the minimum number precision of the split material, that is, the minimum number precision of the non-split material, refers to the minimum number precision of the split material, decimal place after decimal point.
502. Judging whether the fifth amount can be split into the first difference or not according to the unit price of the material corresponding to the fifth amount and the split minimum number precision, if not, executing a step 503, and if so, executing a step 505;
after the unit price of the material corresponding to the fifth amount and the minimum quantity precision of the split materials are obtained, whether the first difference can be split out from the fifth amount can be judged, if the sum of the materials which are not completely split is respectively: 1.99,2.5,5.5, 5 of the difference, 5 of the fifth amount, 5.5, assuming that the unit price of the material with the fifth amount of 5.5 is 1, and the precision of the minimum split amount is 0.1, the fifth amount of 5.5 can be split into the first difference 5, and when the unit price of the material with the fifth amount of 5.5 is 1.5, and the precision of the minimum split amount is 0.01, the first difference 5 cannot be split into the fifth amount, because when the first difference 5 is split, the quantity of the split material is 3.33333333, and the requirement of the minimum amount precision cannot be met.
503. Splitting the fifth amount into a sixth amount which is closest to and smaller than the first difference according to the unit price of the material corresponding to the fifth amount and the split minimum number precision;
when the fifth amount cannot be split into the first difference, the fifth amount is split into a sixth amount which is closest to and smaller than the first difference according to the unit price of the corresponding material and the split minimum number precision, namely the fifth amount 5.5 can only be split into the sixth amount which is closest to and smaller than the first difference and is 4.995.
Note that, in the invoice removal process, a certain amount of money precision may be set, for example, when the sixth amount removed by the fifth amount 5.5 is 4.995, if the set amount of money precision is 2 bits after decimal, the sixth amount of money is rounded to 5.00, and in order to balance the error, the amount of unit price is generally calculated back to eliminate the error.
504. Determining, from the fourth amount and the sixth amount, an amount value that is closest to and less than the first deficit such that the first deficit is maximally utilized.
When the fifth amount 5.5 is split into a sixth amount 4.995, comparing the fourth amount 2.5 with the sixth amount 4.995 to determine that the amount closest to and less than the first difference 5 is 4.995, so that the first difference 5 is maximally utilized, and at this point, completing the step of maximally utilizing the first difference according to the non-wholly-split materials.
505. And splitting the fifth amount into a first difference, so that the first difference is utilized to the maximum.
When the fifth amount can be split into the first difference, the fifth amount is split into the first difference, so that the first difference is utilized to the maximum.
In the embodiment of the present application, a specific manner how to maximize the utilization of the first difference according to the fourth amount and the fifth amount is described in detail, so that the implementability of the present application is improved.
While a method for splitting invoices is described above, the splitting invoice system of the present application is described below with reference to fig. 6, and an embodiment of the splitting invoice system of the present application includes:
an obtaining unit 601, configured to obtain an amount of a first material to be invoiced and a minimum splitting unit of the first material, where the minimum splitting unit includes an integer and a non-integer;
a determining unit 602, configured to determine the number of invoices to be invoiced according to the first material amount;
the splitting unit 603 is configured to split the amount of each invoice according to the first material amount and the minimum splitting unit, so that the amount of each invoice is maximally utilized.
It should be noted that the functions of the units in this embodiment are similar to those described in the embodiment shown in fig. 1, and are not described again here.
Referring to fig. 7 based on the splitting unit 603 in fig. 6, fig. 7 is a detailed structure of the splitting unit 603, specifically, the splitting unit 603 includes:
a molecule dividing unit 6031, configured to divide the first material into a wholly-disassembled material and a non-wholly-disassembled material according to the minimum splitting unit of the first material;
a first ordering subunit 6032, configured to perform first ordering on the money amounts of the wholly detached materials in an order from large to small;
a second sorting subunit 6033, configured to perform second sorting on the money amounts of the non-whole disassembled materials in a descending order;
and the traversal subunit 6034 is configured to sequentially traverse the amount of the wholly-detached material and the amount of the non-wholly-detached material, so that the current invoice amount is maximally utilized.
It should be noted that the functions of the units in this embodiment are similar to those described in the embodiment illustrated in fig. 2, and are not described again here.
Based on the traverse sub-unit 6034 in fig. 7, please refer to fig. 8, fig. 8 is a detailed structure of the traverse sub-unit 6034, specifically, the traverse sub-unit 6034 includes:
the traversal judging module 60341 is configured to preferentially traverse the amounts of the wholly-detached materials according to the first order, and judge whether a first amount equal to the current invoice amount exists in the amounts of the wholly-detached materials;
a selecting module 60342, configured to select a second amount that is closest to and smaller than the current invoice amount from the total torn open material amount when the first amount does not exist in the total torn open material amount, so that the current invoice amount is maximally utilized;
a calculating module 60343, configured to calculate a first difference between the second amount and the current invoice limit;
the judging module 60344 is used for judging whether the integrally-disassembled material to be disassembled exists;
the obtaining and judging module 60345 is configured to, when a material to be completely dismantled exists, obtain unit prices and quantities of the material to be completely dismantled, and judge whether the first difference is smaller than the unit prices of the material to be completely dismantled;
a traversing module 60346, configured to traverse the amounts of the non-integrity-disassembled materials according to the second ranking when the first difference is smaller than the unit price of the integrity-disassembled materials to be disassembled, so that the first difference is maximally utilized.
It should be noted that the functions of the modules in this embodiment are similar to those described in the embodiment described in fig. 3, and are not described again here.
Referring to fig. 9 based on traversal module 60346 in fig. 8, fig. 9 is a detailed structure of traversal module 60346, and in particular, traversal module 60246 includes:
a traversal judgment sub-module 603461, configured to traverse the amounts of the non-wholly-disassembled materials according to the second sorting, and judge whether a third amount equal to the first difference exists in the amounts of the non-wholly-disassembled materials;
a selecting submodule 603462 for selecting a fourth amount that is closest to and less than the first difference and a fifth amount that is greater than the first difference from the amounts of the non-singulated materials when the third amount is not present;
a difference maximization sub-module 603463, configured to maximize utilization of the first difference based on the fourth amount and the fifth amount.
It should be noted that the functions of each sub-module in this embodiment are similar to those described in the embodiment described in fig. 4, and are not described again here.
Referring to fig. 10, based on the difference maximization submodule 603463 in fig. 9, fig. 10 is a detailed structure of the difference maximization submodule 603463, and specifically, the difference maximization submodule 603463 includes:
a reading micromodule 6034631, configured to read the unit price of the material corresponding to the fifth amount and the minimum precision of the split minimum quantity, where the minimum precision is a decimal place;
a determining micromodule 6034632, configured to determine whether the fifth amount can be split into the first difference according to the unit price of the material corresponding to the fifth amount and the split minimum precision;
a splitting micromodule 6034633, configured to, when the fifth amount cannot be split into the first difference, split the fifth amount into a sixth amount that is closest to and smaller than the first difference according to the unit price of the material corresponding to the fifth amount and the split minimum amount precision;
a determination micromodule 6034634 for determining from said fourth amount and said sixth amount the amount value closest to and less than said first difference such that said first difference is maximally utilized.
It should be noted that the functions of each of the micro modules in this embodiment are similar to those described in the embodiment described in fig. 5, and are not described again here.
The system for splitting invoices in the embodiment of the present invention is described above from the perspective of a modular functional entity, and the computer device in the embodiment of the present invention is described below from the perspective of hardware processing:
the computer device is used for realizing the function of a system for splitting invoices, and one embodiment of the computer device in the embodiment of the invention comprises the following steps:
a processor and a memory;
the memory is used for storing the computer program, and the processor is used for realizing the following steps when executing the computer program stored in the memory:
acquiring the sum of money of a first material to be invoiced and a minimum splitting unit of the first material, wherein the minimum splitting unit comprises an integer and a non-integer;
determining the number of invoices to be invoiced according to the amount of the first material;
and splitting the quota of each invoice according to the first material amount and the minimum splitting unit, so that the quota of each invoice is maximally utilized.
In some embodiments of the present invention, the processor is specifically configured to implement the following steps:
dividing the first material into wholly-disassembled materials and non-wholly-disassembled materials according to the minimum splitting unit of the first material;
carrying out first sequencing on the money amount of the whole disassembled material from large to small;
carrying out second sequencing on the money amount of the non-wholly-disassembled materials from small to large;
and sequentially traversing the amount of the wholly-disassembled materials and the amount of the non-wholly-disassembled materials, so that the current invoice limit is maximally utilized.
In some embodiments of the present invention, the processor is specifically configured to implement the following steps:
traversing the amounts of the integrally-dismantled materials according to the first sequence preferentially, and judging whether a first amount equal to the current invoice amount exists in the amounts of the integrally-dismantled materials or not;
if not, selecting a second amount which is closest to and smaller than the current invoice amount from the total dismantled material amount, so that the current invoice amount is maximally utilized;
calculating a first difference between the second amount and the current invoice limit;
judging whether the integrally-disassembled material to be disassembled exists or not;
if so, acquiring the unit price and the quantity of the integrally-disassembled material to be disassembled, and judging whether the first difference is smaller than the unit price of the integrally-disassembled material to be disassembled;
and if so, traversing the amount of the non-wholly-disassembled materials according to the second sequence, so that the first difference is utilized to the maximum.
In some embodiments of the present invention, the processor is specifically configured to implement the following steps:
traversing the amounts of the non-wholly-disassembled materials according to the second sequence, and judging whether a third amount equal to the first difference exists in the amounts of the non-wholly-disassembled materials;
if not, selecting a fourth amount which is closest to and smaller than the first difference and a fifth amount which is larger than the first difference from the amounts of the non-wholly-disassembled materials;
and according to the fourth amount and the fifth amount, the first difference is enabled to be utilized to the maximum.
In some embodiments of the present invention, the processor is specifically configured to implement the following steps:
reading the unit price of the material corresponding to the fifth quota and the minimum quantity precision of the split material, wherein the minimum quantity precision is decimal place;
judging whether the fifth amount can be split into the first difference or not according to the unit price of the material corresponding to the fifth amount and the split minimum number precision;
if not, according to the unit price of the material corresponding to the fifth amount and the minimum quantity precision of the split, splitting the fifth amount into a sixth amount which is closest to and smaller than the first difference;
determining, from the fourth amount and the sixth amount, an amount value that is closest to and less than the first deficit such that the first deficit is maximally utilized.
It is to be understood that, when the processor in the computer apparatus described above executes the computer program, the functions of each unit in the corresponding apparatus embodiments may also be implemented, and are not described herein again. Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program in the system for splitting invoices. For example, the computer program may be divided into units in the system for splitting invoices as described above, and the units may implement the specific functions as described above in the system for splitting invoices accordingly.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing equipment. The computer device may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that the processor, memory are merely examples of a computer apparatus and are not meant to be limiting, and that more or fewer components may be included, or certain components may be combined, or different components may be included, for example, the computer apparatus may also include input output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like which is the control center for the computer device and which connects the various parts of the overall computer device using various interfaces and lines.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the computer device by running or executing the computer programs and/or modules stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the terminal, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The present invention also provides a computer readable storage medium for implementing the functionality of a system for splitting invoices, having stored thereon a computer program which, when executed by a processor, the processor may be adapted to perform the steps of:
acquiring the sum of money of a first material to be invoiced and a minimum splitting unit of the first material, wherein the minimum splitting unit comprises an integer and a non-integer;
determining the number of invoices to be invoiced according to the amount of the first material;
and splitting the quota of each invoice according to the first material amount and the minimum splitting unit, so that the quota of each invoice is maximally utilized.
In some embodiments of the invention, the computer program stored on the computer-readable storage medium, when executed by the processor, may be specifically configured to perform the steps of:
dividing the first material into wholly-disassembled materials and non-wholly-disassembled materials according to the minimum splitting unit of the first material;
carrying out first sequencing on the money amount of the whole disassembled material from large to small;
carrying out second sequencing on the money amount of the non-wholly-disassembled materials from small to large;
and sequentially traversing the amount of the wholly-disassembled materials and the amount of the non-wholly-disassembled materials, so that the current invoice limit is maximally utilized.
In some embodiments of the invention, the computer program stored on the computer-readable storage medium, when executed by the processor, may be specifically configured to perform the steps of:
traversing the amounts of the integrally-dismantled materials according to the first sequence preferentially, and judging whether a first amount equal to the current invoice amount exists in the amounts of the integrally-dismantled materials or not;
if not, selecting a second amount which is closest to and smaller than the current invoice amount from the total dismantled material amount, so that the current invoice amount is maximally utilized;
calculating a first difference between the second amount and the current invoice limit;
judging whether the integrally-disassembled material to be disassembled exists or not;
if so, acquiring the unit price and the quantity of the integrally-disassembled material to be disassembled, and judging whether the first difference is smaller than the unit price of the integrally-disassembled material to be disassembled;
and if so, traversing the amount of the non-wholly-disassembled materials according to the second sequence, so that the first difference is utilized to the maximum.
In some embodiments of the invention, the computer program stored on the computer-readable storage medium, when executed by the processor, may be specifically configured to perform the steps of:
traversing the amounts of the non-wholly-disassembled materials according to the second sequence, and judging whether a third amount equal to the first difference exists in the amounts of the non-wholly-disassembled materials;
if not, selecting a fourth amount which is closest to and smaller than the first difference and a fifth amount which is larger than the first difference from the amounts of the non-wholly-disassembled materials;
and according to the fourth amount and the fifth amount, the first difference is enabled to be utilized to the maximum.
In some embodiments of the invention, the computer program stored on the computer-readable storage medium, when executed by the processor, may be specifically configured to perform the steps of:
reading the unit price of the material corresponding to the fifth quota and the minimum quantity precision of the split material, wherein the minimum quantity precision is decimal place;
judging whether the fifth amount can be split into the first difference or not according to the unit price of the material corresponding to the fifth amount and the split minimum number precision;
if not, according to the unit price of the material corresponding to the fifth amount and the minimum quantity precision of the split, splitting the fifth amount into a sixth amount which is closest to and smaller than the first difference;
determining, from the fourth amount and the sixth amount, an amount value that is closest to and less than the first deficit such that the first deficit is maximally utilized.
It will be appreciated that the integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a corresponding one of the computer readable storage media. Based on such understanding, all or part of the flow of the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the above embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; 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 (4)

1. A method of splitting an invoice, comprising:
acquiring the sum of money of a first material to be invoiced and a minimum splitting unit of the first material, wherein the minimum splitting unit comprises an integer and a non-integer;
determining the number of invoices to be invoiced according to the first material amount;
dividing the first material into wholly-disassembled materials and non-wholly-disassembled materials according to the minimum splitting unit of the first material;
carrying out first sequencing on the money amount of the whole disassembled material from large to small;
carrying out second sequencing on the money amount of the non-wholly-disassembled materials from small to large;
traversing the amounts of the integrally-dismantled materials according to the first sequence preferentially, and judging whether a first amount equal to the current invoice amount exists in the amounts of the integrally-dismantled materials or not;
if the first amount equal to the current invoice amount does not exist in the amounts of the integrally-dismantled materials, selecting a second amount which is closest to and smaller than the current invoice amount from the amounts of the integrally-dismantled materials, so that the current invoice amount is utilized to the maximum extent;
calculating a first difference between the second amount and the current invoice limit;
judging whether the integrally-disassembled material to be disassembled exists or not;
if the integral dismantling material to be dismantled exists, acquiring the unit price and the quantity of the integral dismantling material to be dismantled, and judging whether the first difference is smaller than the unit price of the integral dismantling material to be dismantled;
if the first difference is smaller than the unit price of the wholly-disassembled materials to be disassembled, traversing the amounts of the non-wholly-disassembled materials according to the second sequence, and judging whether a third amount equal to the first difference exists in the amounts of the non-wholly-disassembled materials;
if the third amount equal to the first difference does not exist in the amounts of the non-wholly-disassembled materials, selecting a fourth amount which is closest to and smaller than the first difference and a fifth amount which is larger than the first difference from the amounts of the non-wholly-disassembled materials;
reading the unit price of the material corresponding to the fifth quota and the minimum quantity precision of the split material, wherein the minimum quantity precision is decimal place;
judging whether the fifth amount can be split into the first difference or not according to the unit price of the material corresponding to the fifth amount and the split minimum number precision;
if the fifth amount cannot be split into the first difference, according to the unit price of the material corresponding to the fifth amount and the split minimum number precision, and adopting unit price number = amount, performing back calculation on the unit price of the material, and splitting the fifth amount into a sixth amount which is closest to and smaller than the first difference;
determining, from the fourth amount and the sixth amount, an amount value that is closest to and less than the first deficit such that the first deficit is maximally utilized.
2. A system for splitting invoices, comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the sum of first materials to be invoiced and the minimum splitting unit of the first materials, and the minimum splitting unit comprises an integer and a non-integer;
the determining unit is used for determining the number of invoices to be invoiced according to the first material amount;
a splitting unit comprising:
the dividing subunit is used for dividing the first material into a wholly-disassembled material and a non-wholly-disassembled material according to the minimum splitting unit of the first material;
the first sequencing subunit is used for carrying out first sequencing on the money amount of the whole disassembled material according to a descending order;
the second sequencing subunit is used for carrying out second sequencing on the money amount of the non-wholly-disassembled material from small to large;
a traversal subunit, comprising:
the traversal judging module is used for preferentially traversing the amounts of the integrally-disassembled materials according to the first sequence and judging whether a first amount equal to the current invoice amount exists in the amounts of the integrally-disassembled materials;
the selecting module is used for selecting a second amount which is closest to and smaller than the current invoice amount from the total dismantled material amount when the first amount does not exist in the total dismantled material amount, so that the current invoice amount is utilized to the maximum extent;
the calculation module is used for calculating a first difference between the second amount and the current invoice amount;
the judging module is used for judging whether the integrally-disassembled material to be disassembled exists or not;
the acquisition judging module is used for acquiring the unit price and the quantity of the integrally-disassembled materials to be disassembled when the integrally-disassembled materials to be disassembled exist, and judging whether the first difference is smaller than the unit price of the integrally-disassembled materials to be disassembled;
a traversal module, comprising:
the traversal judgment submodule is used for traversing the amounts of the non-wholly-disassembled materials according to the second sequence and judging whether a third amount equal to the first difference exists in the amounts of the non-wholly-disassembled materials;
a selection submodule, configured to select, when the third amount does not exist, a fourth amount that is closest to and smaller than the first difference and a fifth amount that is larger than the first difference from the amounts of the non-detached materials;
a difference maximization submodule, comprising:
the reading micromodule is used for reading the unit price of the material corresponding to the fifth quota and the split minimum number precision, and the minimum number precision is decimal place;
the judging micromodule is used for judging whether the fifth amount can be split into the first difference amount according to the unit price of the material corresponding to the fifth amount and the split minimum number precision;
a splitting micromodule, configured to, when the fifth amount cannot be split into the first difference, perform back calculation on the unit price of the material according to the unit price of the material corresponding to the fifth amount and the split minimum precision, and by adopting unit price number = amount, split the fifth amount into a sixth amount that is closest to and smaller than the first difference;
a determining micromodule for determining from said fourth amount and said sixth amount the amount value closest to and less than said first difference such that said first difference is maximally utilized.
3. A computer arrangement comprising a processor, wherein the processor, when processing a computer program stored in a memory, is adapted to carry out the method of splitting an invoice as claimed in claim 1.
4. A readable storage medium having stored thereon a computer program for implementing a method of splitting an invoice as claimed in claim 1, when the computer program is executed by a processor.
CN201811301525.3A 2018-11-02 2018-11-02 Invoice splitting method and system Active CN109389439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811301525.3A CN109389439B (en) 2018-11-02 2018-11-02 Invoice splitting method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811301525.3A CN109389439B (en) 2018-11-02 2018-11-02 Invoice splitting method and system

Publications (2)

Publication Number Publication Date
CN109389439A CN109389439A (en) 2019-02-26
CN109389439B true CN109389439B (en) 2021-02-26

Family

ID=65428344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811301525.3A Active CN109389439B (en) 2018-11-02 2018-11-02 Invoice splitting method and system

Country Status (1)

Country Link
CN (1) CN109389439B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106204171A (en) * 2015-05-08 2016-12-07 航天信息股份有限公司 The method and system of single tax rate VAT invoice is opened for the sales slip containing the amount of tax to be paid
CN106980994A (en) * 2016-01-15 2017-07-25 航天信息股份有限公司 A kind of method for splitting of billing request document
US20170372386A1 (en) * 2014-05-30 2017-12-28 Paypal, Inc. Voice and context recognition for bill creation
CN107679926A (en) * 2017-10-11 2018-02-09 中启行物联科技(北京)有限公司 A kind of invoice batch intelligence is split and combinational algorithm
CN107833081A (en) * 2017-09-30 2018-03-23 平安科技(深圳)有限公司 Automatic method for splitting, device, terminal device and the storage medium of a kind of invoice amount

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103761811B (en) * 2014-01-06 2015-11-25 武小毛 A kind of invoice generation method and device
CN105243365B (en) * 2015-09-28 2019-07-16 四川长虹电器股份有限公司 A kind of data processing method and data processing system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170372386A1 (en) * 2014-05-30 2017-12-28 Paypal, Inc. Voice and context recognition for bill creation
CN106204171A (en) * 2015-05-08 2016-12-07 航天信息股份有限公司 The method and system of single tax rate VAT invoice is opened for the sales slip containing the amount of tax to be paid
CN106980994A (en) * 2016-01-15 2017-07-25 航天信息股份有限公司 A kind of method for splitting of billing request document
CN107833081A (en) * 2017-09-30 2018-03-23 平安科技(深圳)有限公司 Automatic method for splitting, device, terminal device and the storage medium of a kind of invoice amount
CN107679926A (en) * 2017-10-11 2018-02-09 中启行物联科技(北京)有限公司 A kind of invoice batch intelligence is split and combinational algorithm

Also Published As

Publication number Publication date
CN109389439A (en) 2019-02-26

Similar Documents

Publication Publication Date Title
US9424012B1 (en) Programmable code fingerprint
CN107833081A (en) Automatic method for splitting, device, terminal device and the storage medium of a kind of invoice amount
CN107491907A (en) Cost for Electric Power Engineering control and analysis and system
CN109191090A (en) Means of payment recommended method, device, equipment and computer readable storage medium
US10839420B2 (en) Constrained large-data markdown optimizations based upon markdown budget
CN111709777A (en) Payment mode recommendation method, system, terminal device and storage medium
CN112256720A (en) Data cost calculation method, system, computer device and storage medium
JP2017016513A (en) Charging information generation device, charging information generation method, and program
CN110598993B (en) Data processing method and device
CN109389439B (en) Invoice splitting method and system
KR20120105601A (en) Managing method of commission for general agency and system thereof
CN108038758B (en) Application recommendation method and system and terminal equipment
CN113407254A (en) Form generation method and device, electronic equipment and storage medium
CN1783120A (en) Analytic technology of computer system
CN111861691A (en) Enterprise income tax declaration method and device, storage medium and electronic equipment
CN116485019A (en) Data processing method and device
US11532150B1 (en) Method for determining a histogram of variable sample rate waveforms
CN114626932A (en) Method and device for separating financial product data, electronic equipment and storage medium
US20170140014A1 (en) Extract transform load input suggestion
CN113360839A (en) Commodity distribution method, commodity distribution device, electronic equipment and computer storage medium
CN106325849A (en) Data processing method and data processing device
CN110838001A (en) Sample analysis method and sample analysis system for nuclear power plant
CN110214315B (en) Information processing system, information processing apparatus, peripheral apparatus, data transmission method, and computer program
WO2016186631A1 (en) Price, completion time, and resource allocation determination for cloud services
CN111144810A (en) Data processing method and device and related equipment

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
GR01 Patent grant
GR01 Patent grant