Cash discount processing method, system, equipment and medium

The online platform processes cash discount applications from creditors and debtors, generates agreements and automatically records payments, solving the problems of cumbersome cash discount business processes and accounting errors, improving efficiency and accuracy, and simplifying operations.

CN118822751APending Publication Date: 2024-10-22BYD CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311424877.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-27
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

The cash discount business process is cumbersome and relies on offline communication. The payment and accounting processes are time-consuming and labor-intensive. It is prone to human recording errors and affects reconciliation.

Method used

Provide a cash discount processing method and system that obtains creditor applications through an online platform, generates agreements, automatically records accounts, realizes online payment and accounting processes, and reduces human intervention.

Benefits of technology

It improves the processing efficiency and accuracy of cash discount business, simplifies the operation process, reduces manual accounting, facilitates approval and management, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118822751A_ABST
    Figure CN118822751A_ABST
Patent Text Reader

Abstract

The invention discloses a cash discount processing method, system and device and a medium. The method comprises the following steps: obtaining a cash discount application initiated by a creditor to a debtor for a creditor / debt relationship voucher; generating a cash discount protocol according to the cash discount application, and sending a confirmation request to the creditor; after the creditor confirms that the cash discount agreement takes effect, paying to the creditor according to the discounted amount; and after the payment is successful, changing the creditor's right / debt relationship state of the creditor's right / debt relationship voucher, and carrying out automatic accounting. By adopting the method provided by the invention, the whole cash discount business is completed online, the whole process is convenient to operate for creditor, convenient to approve and manage for auditor, and free of manual accounting for finance, so that an online management scheme of application, loaning and automatic accounting is realized, and the user experience is effectively provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to the field of resource management technology, and in particular to a cash discount processing method, system, device and medium. Background Art

[0002] Cash discount refers to the deduction of debt provided by the creditor to the debtor to encourage the debtor to pay within the prescribed period. After completing the supply, invoicing, and establishing the creditor-debtor relationship, the creditor gives the debtor a certain discount and asks for early payment. The debtor prepares the discount information, the two parties sign the relevant agreement online, the creditor pays online, and the bookkeeping system SAP (System Applications and Products) interface is automatically recorded. There are the following disadvantages:

[0003] Cash discount business between creditors (suppliers) and debtors is mainly conducted through offline communication, which is cumbersome and time-consuming and laborious for subsequent payment and accounting processes. Payment report data is filled in manually, which is prone to human recording errors and affects reconciliation. Summary of the invention

[0004] Based on this, it is necessary to provide a cash discount processing method, device and medium to address the above-mentioned technical problems. The method of the present application has the advantages of high efficiency and accuracy in cash discount business processing, and effectively provides users with a good usage experience.

[0005] In a first aspect, a cash discount processing method is provided, the method comprising:

[0006] Obtain cash discount application initiated by the creditor to the debtor for the creditor's rights / debt relationship certificate;

[0007] generating a cash discount agreement based on the cash discount application and sending a confirmation request to the creditor;

[0008] After the creditor confirms that the cash discount agreement is effective, pay the creditor according to the discounted amount;

[0009] When the payment is successful, the creditor's rights / debtor ...

[0010] In a second aspect, a cash discount processing system is provided, the system comprising:

[0011] An acquisition module is used to obtain a cash discount application initiated by a creditor to a debtor for a creditor / debtor relationship certificate;

[0012] A confirmation module, used for generating a cash discount agreement according to the cash discount application, and sending a confirmation request to the creditor;

[0013] A payment calling module, used for paying the creditor according to the discounted amount after the creditor confirms that the cash discount agreement is effective;

[0014] The accounting calling module is used to change the creditor's rights / debtor relationship status of the creditor's rights / debtor relationship certificate and perform automatic accounting after the payment is successful.

[0015] According to a third aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method according to the first aspect and any possible implementation method of the first aspect are implemented.

[0016] According to a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the steps of the method according to the first aspect and any possible implementation method of the first aspect are implemented.

[0017] In a fifth aspect, a computer program product is provided, the computer program product comprising instructions, which, when executed, implement the steps of the method of the above-mentioned first aspect and any possible implementation manner of the first aspect.

[0018] By adopting the solution of this application, a cash discount application initiated by a creditor is obtained, a cash discount agreement is generated based on the cash discount application, and after the agreement takes effect, payment can be automatically made to the creditor. After the payment is successful, automatic accounting is performed. Thus, the entire cash discount business is completed online. The entire process is easy to operate for the creditor, convenient for approval and management for the reviewer, and no manual accounting is required for the finance department, thereby realizing an online management solution for application, loan issuance and automatic accounting, and effectively providing users with a good experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0020] Figure 1 A flowchart of a cash discount processing method provided in an embodiment of the present application;

[0021] Figure 2 A schematic diagram of the processing process of the cash discount processing method provided in the embodiment of the present application;

[0022] Figure 3 A schematic diagram of the approval signature in the cash discount processing method provided in the embodiment of the present application;

[0023] Figure 4A schematic diagram of the interaction between the creditor and the platform in the cash discount processing method provided in an embodiment of the present application;

[0024] Figure 5 A schematic diagram of the interaction between the creditor, the platform, the bank and the accounting system in the cash discount processing method provided in the embodiment of the present application;

[0025] Figure 6 A schematic diagram of the structure of a cash discount processing system provided in an embodiment of the present application;

[0026] Figure 7 A structural block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The present application is further described in detail below in conjunction with the embodiments and drawings. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the drawings.

[0028] It should be noted that, in the absence of conflict, the embodiments of the present application, that is, the features of the embodiments, can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0029] The following describes a discount processing method, system, device, and medium according to an embodiment of the present invention in conjunction with the accompanying drawings.

[0030] Figure 1 FIG. 1 is a flow chart of a cash discount processing method according to an embodiment of the present invention. Figure 1 As shown, the cash discount processing method according to an embodiment of the present invention includes the following steps:

[0031] S101: Obtain the cash discount application initiated by the creditor to the debtor for the creditor's rights / debt relationship certificate.

[0032] A certificate of creditor / debtor relationship is usually signed for each order between a creditor (such as a parts supplier) and a debtor (such as a parts demander). Therefore, there may be multiple orders between a creditor and a debtor, and accordingly, there will be multiple certificates of creditor / debtor relationship.

[0033] In each creditor / debtor relationship voucher, the order amount and payment deadline are recorded. Sometimes, if the creditor wants to get the money as soon as possible, he can apply for a cash discount from the debtor. The purpose is to get the money from the debtor as soon as possible, and provide the debtor with certain discounts. In this way, if the debtor confirms, the creditor can be paid earlier than the payment deadline.

[0034] The creditor can select one or more of the multiple creditor's rights / debt relationship certificates and initiate a corresponding cash discount application to the debtor. As a specific application, obtaining a cash discount application initiated by the creditor to the debtor for a creditor's rights / debt relationship certificate includes: providing the creditor with candidate creditor's rights / debt relationship certificates so that the creditor can select the creditor's rights / debt relationship certificate from the candidate creditor's rights / debt relationship certificates, wherein the creditor's rights / debt relationship certificate is one or more of the candidate creditor's rights / debt relationship certificates; and receiving the cash discount application initiated by the creditor based on the creditor's rights / debt relationship certificate.

[0035] like Figure 2 As shown, the cash discount processing method can be implemented using the platform. After the supplier (debtor) logs in to the platform, the supplier initiates a cash discount application on the platform. Specifically, the platform displays a list of creditor / debtor relationship certificates for each current order between the supplier and the debtor by distinguishing between prepaid accounts and accounts payable. Taking the platform named Dichain Platform as an example, on the Dichain platform, the creditor / debtor relationship certificate can be called Dichain certificate. That is, the Dichain certificate refers to the electronic certificate of the debt relationship between the debtor and the creditor in the trade.

[0036] Through the Dichain voucher in the creditor / debtor relationship voucher list, it can be determined whether each order can be applied for a cash discount. For example, if it is an order for prepaid accounts, a cash discount cannot be applied. In the Dichain voucher corresponding to the order that can be applied for a cash discount, each Dichain voucher displayed includes a "Cash Discount" button. By clicking this button, the supplier can apply for a cash discount to the debtor for the Dichain voucher. Figure 3 As shown, supplier 100 applies for a cash discount on one or more DiChain vouchers on the DiChain platform 200.

[0037] Based on the above example, according to the creditor's rights / debtor relationship certificate, receiving the cash discount application initiated by the creditor includes: receiving the cash discount application sent by the creditor through the Nginx reverse proxy; after receiving the cash discount application, it also includes: locking the creditor's rights / debtor relationship certificate, and after locking is completed, loading the cash discount application into the memory through the Redis cache service to wait for the approval of the cash discount application.

[0038] Specifically, when a supplier applies for a cash discount, the supplier confirms the payment amount and discount amount by signing an agreement, e.g. Figure 4As shown, the request message for cash discount application is sent to the Dichain platform through the Nginx (engine x) reverse proxy mode. The Dichain platform changes the Dichain status according to the Dichain voucher submitted in the request, locks the corresponding Dichain, and loads it into the memory through the Redis (Remote Dictionary Server) cache service. When a cash discount application for a Dichain voucher is repeatedly requested, the lock is checked to determine whether the current Dichain voucher has been modified. If the Dichain voucher is locked, the Dichain voucher lock information is returned to notify the supplier. When the Dichain voucher status changes, the lock status in Redis is removed for unlocking, and the cash discount application corresponding to the Dichain voucher enters the approval status.

[0039] In the above description, the working principle of the reverse proxy is: the proxy server receives the client's network access connection request, and then the server strategically forwards the request to the business server that actually works in the network, and returns the result processed by the business server to the client that initiated the connection request on the network.

[0040] Among them, the contents included in the Dichain voucher include but are not limited to: accounts payable details, debtors, creditors, Dichain amount, currency, expiration time, holding source, Dichain status, Dichain number and Dichain type.

[0041] S102: Generate a cash discount agreement based on the cash discount application, and send a confirmation request to the creditor.

[0042] In this way, the creditor can confirm whether the cash discount agreement is effective based on the confirmation request.

[0043] In one embodiment of the present invention, generating a cash discount agreement according to the cash discount application and sending a confirmation request to the creditor includes: generating a cash discount agreement according to the creditor's rights / debtor relationship certificate; electronically signing the cash discount agreement; and sending a confirmation request for the cash discount agreement to the creditor. Thus, after receiving the creditor's confirmation information, it can be determined that the cash discount agreement is effective.

[0044] In this example, a cash discount agreement is generated based on a cash discount application, including: approving the creditor's rights / debtor relationship certificate based on the cash discount application; after the approval is correct, generating the cash discount agreement based on the certificate content and cash discount content in the creditor's rights / debtor relationship certificate.

[0045] Specifically, if Figure 2As shown, the Dichain platform approves the application submitted by the creditor. When the supplier (i.e., the creditor) applies for a cash discount, the supplier confirms that it recognizes the current discount rate and the content of the agreement through the electronic signature of the Dichain platform. The signature behavior can be a verification method such as SMS verification by the supplier, such as verification through SMS verification code. After verification, the electronic signature takes effect, confirming the recognition of the current discount rate and the content of the agreement. For example: When a supplier applies for a cash discount, the Dichain platform obtains the accounts payable period, amount, accounts payable number, Dichain number, supplier name, and supplier credit code based on the Dichain voucher information generated by the supplier's accounts payable package to generate a cash discount agreement. The agreement contains a unique cash discount agreement number, and the cash discount number is associated with the Dichain number. According to the accounts payable information associated with the Dichain voucher and the formula: the final payment amount of the company on the Dichain platform = application amount - discount amount (the discount amount is calculated based on the annual interest rate in the agreement), the payment amount confirmation is obtained.

[0046] After the supplier agrees to the terms of the agreement, the Dichain platform confirms the supplier's operation through SMS verification. After the supplier confirms, the Dichain platform obtains the name, ID number, mobile phone number, etc. through the Dichain credential number, and encrypts the parameters through the parameter encryption algorithm to ensure that the parameters are not lost or tampered with during the transmission process. The encryption method is but not limited to the signature type, contract number, signing status (in progress, completed, rejected), business serial number + system timestamp + 4-digit random number, and then encrypts it through MD5 (MD5 Message-Digest Algorithm) encryption method.

[0047] After the signature is completed, the system generates a corresponding agreement number file. The supplier can check and confirm whether there are any differences between the agreement content and the seal part through the DiChain platform. If there are any differences, the agreement content can be adjusted through the DiChain platform, that is, the agreement content can be revised and re-signed. After the agreement is signed, the supplier chooses to submit the application and enter the DiChain platform approval link again.

[0048] like Figure 2 As shown, the DiChain platform obtains the information entered by the supplier on the DiChain platform for review, such as approving the supplier's company information, bank information, DiChain voucher information, etc. That is, the approver DiChain platform approves the application initiated by the supplier, and verifies it based on the supplier's name, legal person information, ID number, agreement content, application amount, and supplier credit code. If the application is rejected, the supplier will be informed that it needs to reapply.

[0049] S103: After the creditor confirms that the cash discount agreement is effective, payment is made to the creditor according to the discounted amount.

[0050] For example, calling the payment interface box to ask the creditor to pay, in one embodiment of the present invention, after the creditor confirms that the cash discount agreement is effective, payment is made to the creditor according to the discounted amount, including: after receiving the creditor's confirmation message for the cash discount agreement, sending a payment instruction to the bank clearing system by calling the payment interface, so that after the bank clearing system confirms that the cash discount agreement is correct, payment is made to the creditor according to the payment instruction; receiving the payment result message sent by the bank clearing system; and notifying the creditor according to the payment result message.

[0051] This example also includes: when the bank clearing system confirms that the cash discount agreement is incorrect, refusing to pay the creditor, and receiving a payment result message sent by the bank clearing system.

[0052] Specifically, if Figure 2 As shown, the DiChain platform locks the currently approved data and submits the data to the bank for reserve. For example: after approval, the DiChain platform automatically calls the bank clearing system payment interface to trigger the payment instruction. Among them, the bank clearing system is mainly used to execute the payment instructions of the DiChain platform, and the DiChain platform provides the payment object name, credit code, amount, invoice, trade voucher, accounts payable details and other data to verify the data, and then make a loan after the verification is correct, or, if the verification is incorrect, do not make a loan, that is, refuse to make a loan, and the loan fails.

[0053] like Figure 2 As shown, the bank clearing system returns a clearing instruction, that is, the Dichain platform sends the Dichain number, amount, supplier name, supplier's bank account, etc. to the bank clearing system as a clearing instruction, notifying the Dichain platform that the creditor has successfully paid, or that the payment has failed, etc., where the clearing instruction includes but is not limited to information such as successful payment or failed payment. In this example, if the payment fails, the reason for the payment failure is returned, and the creditor makes adjustments based on the reason for the payment failure and submits the application again, etc. The reason for failure is, for example, that the information registered by the creditor in the bank system and the Dichain platform is different.

[0054] The Dichain platform receives clearing instructions and modifies the pending payment in the Dichain status to paid or failed payment based on the payment success or payment failure information returned in the clearing instructions. For example, if the creditor's company name information or credit code is inconsistent, the payment failure information is returned. The Dichain platform modifies the Dichain status to payment failure based on the payment failure information returned by the bank clearing system. The Dichain status includes but is not limited to: pending receipt, received, transferred, pending payment, paid, payment failure and other states. After the payment fails, the creditor will wait for the information to be corrected and then re-examined. After the review is passed, the creditor will be loaned (paid).

[0055] After the DiChain platform updates the DiChain status, the DiChain platform triggers a message notification, such as sending a text message notification to the supplier (creditor), notifying the supplier (creditor) that payment has been made.

[0056] S104: When the payment is successful, the creditor's rights / debts relationship status of the creditor's rights / debts relationship certificate is changed, and automatic accounting is performed. That is, when the payment is successful, the creditor's rights / debts relationship status of the creditor's rights / debts relationship certificate is changed to a paid status; the accounting interface can be called to clear the creditor's rights / debts relationship certificate through the accounting system.

[0057] For example: modify the pending payment in the Dichain status to paid or payment failed. At the same time, transmit the accounting instructions to the accounting system, and the accounting system records the clearing of accounts payable.

[0058] Through the above S101-S104, when a supplier applies for a cash discount, after submitting the application to the Dichain platform, the status will be changed from the receipt status or the waiting receipt status to the discount application status. At this time, the supplier will be notified by SMS that a cash discount application has been submitted. After the Dichain platform approves the application submitted by the supplier, it will promptly notify the bank to release the loan. After the bank successfully releases the loan, it returns the loan success information including the successful data processing mark. The platform notifies the supplier of the successful loan release by SMS or email. If the bank returns the loan failure mark, it returns the failure mark and the reason for the failure message. The platform notifies the user of the loan failure by SMS or email. The supplier repairs the data according to the platform prompt message or contacts the platform customer service to assist the user in processing, such as: the bank account provided by the supplier to the Dichain platform cannot be transferred normally.

[0059] like Figure 5 As shown, the supplier applies for a cash discount business and confirms the payment amount and discount amount by signing an agreement. The Dichain platform changes the Dichain status according to the Dichain voucher submitted in the request, and the Dichain voucher enters the approval status. The Dichain platform approver approves the supplier's application for the Dichain voucher. After approval, the bank will release the loan. After the loan is successfully released, the Dichain platform automatically calls the accounting system to perform accounting operations. The Dichain platform uniformly processes the payment success information returned by the bank, clears the Dichain voucher of successful payment, obtains detailed accounts payable information in the database, performs batch operations according to the Dichain voucher information, and signs the accounts payable information and Dichain voucher information (signature generation: Dichain voucher parameter information + timestamp + key). The accounting system obtains parameters to decrypt and verify the signature, and performs clearing operations on the accounts payable information corresponding to the Dichain voucher number. If the clearing fails, the Dichain platform clearing failure mark is returned, and the clearing failure prompt information is provided. The Dichain platform notifies the supplier to correct the data according to the error information. After the clearing is successful, the clearing success mark is returned, and the Dichain platform changes the Dichain voucher status to paid, and notifies the creditor of the successful payment.

[0060] According to the cash discount processing method of the embodiment of the present invention, a cash discount application initiated by a creditor is obtained, a cash discount agreement is generated according to the cash discount application, and after the agreement takes effect, payment can be automatically made to the creditor. After the payment is successful, automatic accounting is performed. Thus, the entire cash discount business is completed online. The entire process is easy to operate for the creditor, convenient for approval and management for the auditor, and no manual accounting is required for the finance department, thereby realizing an online management solution for application, loan issuance and automatic accounting, and effectively providing users with a good experience.

[0061] Figure 6 is a structural block diagram of a cash discount processing system according to an embodiment of the present invention. Figure 6 As shown, the cash discount processing system according to one embodiment of the present invention specifically includes: an acquisition module 610, a confirmation module 620, a payment calling module 630 and an accounting calling module 640, wherein:

[0062] The acquisition module 610 is used to obtain the cash discount application initiated by the creditor to the debtor for the creditor's rights / debt relationship certificate.

[0063] Specifically, each order between a creditor (such as a parts supplier) and a debtor (such as a parts demander) usually requires the signing of a creditor / debtor relationship certificate. Therefore, there may be multiple orders between a creditor and a debtor, and accordingly, there will be multiple creditor / debtor relationship certificates.

[0064] In each creditor / debtor relationship voucher, the order amount and payment deadline are recorded. Sometimes, if the creditor wants to get the money as soon as possible, he can apply for a cash discount from the debtor. The purpose is to get the money from the debtor as soon as possible, and provide the debtor with certain discounts. In this way, if the debtor confirms, the creditor can be paid earlier than the payment deadline.

[0065] The creditor can select one or more of the multiple creditor's rights / debt relationship certificates and initiate a corresponding cash discount application to the debtor. As a specific application, obtaining a cash discount application initiated by the creditor to the debtor for a creditor's rights / debt relationship certificate includes: providing the creditor with candidate creditor's rights / debt relationship certificates so that the creditor can select the creditor's rights / debt relationship certificate from the candidate creditor's rights / debt relationship certificates, wherein the creditor's rights / debt relationship certificate is one or more of the candidate creditor's rights / debt relationship certificates; and receiving the cash discount application initiated by the creditor based on the creditor's rights / debt relationship certificate.

[0066] like Figure 2As shown, the cash discount processing method can be implemented using the platform. After the supplier (debtor) logs in to the platform, the supplier initiates a cash discount application on the platform. Specifically, the platform displays a list of creditor / debtor relationship certificates for each current order between the supplier and the debtor by distinguishing between prepaid accounts and accounts payable. Taking the platform named Dichain Platform as an example, on the Dichain platform, the creditor / debtor relationship certificate can be called Dichain certificate. That is, the Dichain certificate refers to the electronic certificate of the debt relationship between the debtor and the creditor in the trade.

[0067] Through the Dichain voucher in the creditor / debtor relationship voucher list, it can be determined whether each order can be applied for a cash discount. For example, if it is an order for prepaid accounts, a cash discount cannot be applied. In the Dichain voucher corresponding to the order that can be applied for a cash discount, each Dichain voucher displayed includes a "Cash Discount" button. By clicking this button, the supplier can apply for a cash discount to the debtor for the Dichain voucher. Figure 3 As shown, supplier 100 applies for a cash discount on one or more DiChain vouchers on the DiChain platform 200.

[0068] Based on the above example, according to the creditor's rights / debtor relationship certificate, receiving the cash discount application initiated by the creditor includes: receiving the cash discount application sent by the creditor through the Nginx reverse proxy; after receiving the cash discount application, it also includes: locking the creditor's rights / debtor relationship certificate, and after locking is completed, loading the cash discount application into the memory through the Redis cache service to wait for the approval of the cash discount application.

[0069] Specifically, when a supplier applies for a cash discount, the supplier confirms the payment amount and discount amount by signing an agreement, e.g. Figure 4 As shown, the request message for cash discount application is sent to the Dichain platform through the Nginx (engine x) reverse proxy mode. The Dichain platform changes the Dichain status according to the Dichain voucher submitted in the request, locks the corresponding Dichain, and loads it into the memory through the Redis (Remote Dictionary Server) cache service. When a cash discount application for a Dichain voucher is repeatedly requested, the lock is checked to determine whether the current Dichain voucher has been modified. If the Dichain voucher is locked, the Dichain voucher lock information is returned to notify the supplier. When the Dichain voucher status changes, the lock status in Redis is removed for unlocking, and the cash discount application corresponding to the Dichain voucher enters the approval status.

[0070] In the above description, the working principle of the reverse proxy is: the proxy server receives the client's network access connection request, and then the server strategically forwards the request to the business server that actually works in the network, and returns the result processed by the business server to the client that initiated the connection request on the network.

[0071] Among them, the contents included in the Dichain voucher include but are not limited to: accounts payable details, debtors, creditors, Dichain amount, currency, expiration time, holding source, Dichain status, Dichain number and Dichain type.

[0072] The confirmation module 620 is used to generate a cash discount agreement according to the cash discount application and send a confirmation request to the creditor so that the creditor can confirm whether the cash discount agreement is effective.

[0073] In one embodiment of the present invention, a cash discount agreement is generated based on the cash discount application, and a confirmation request is sent to the creditor, including: generating a cash discount agreement based on the creditor's rights / debtor relationship certificate; electronically signing the cash discount agreement; sending a confirmation request for the cash discount agreement to the creditor; and after receiving the creditor's confirmation information, determining that the cash discount agreement is effective.

[0074] In this example, a cash discount agreement is generated based on a cash discount application, including: approving the creditor's rights / debtor relationship certificate based on the cash discount application; after the approval is correct, generating the cash discount agreement based on the certificate content and cash discount content in the creditor's rights / debtor relationship certificate.

[0075] Specifically, if Figure 2 As shown, the Dichain platform approves the application submitted by the creditor. When the supplier (i.e., the creditor) applies for a cash discount, the supplier confirms that it recognizes the current discount rate and the content of the agreement through the electronic signature of the Dichain platform. The signature behavior can be a verification method such as SMS verification by the supplier, such as verification through SMS verification code. After verification, the electronic signature takes effect, confirming the recognition of the current discount rate and the content of the agreement. For example: When a supplier applies for a cash discount, the Dichain platform obtains the accounts payable period, amount, accounts payable number, Dichain number, supplier name, and supplier credit code based on the Dichain voucher information generated by the supplier's accounts payable package to generate a cash discount agreement. The agreement contains a unique cash discount agreement number, and the cash discount number is associated with the Dichain number. According to the accounts payable information associated with the Dichain voucher and the formula: the final payment amount of the company on the Dichain platform = application amount - discount amount (the discount amount is calculated based on the annual interest rate in the agreement), the payment amount confirmation is obtained.

[0076] After the supplier agrees to the terms of the agreement, the Dichain platform confirms the supplier's operation through SMS verification. After the supplier confirms, the Dichain platform obtains the name, ID number, mobile phone number, etc. through the Dichain credential number, and encrypts the parameters through the parameter encryption algorithm to ensure that the parameters are not lost or tampered with during the transmission process. The encryption method is but not limited to the signature type, contract number, signing status (in progress, completed, rejected), business serial number + system timestamp + 4-digit random number, and then encrypts it through MD5 (MD5 Message-Digest Algorithm) encryption method.

[0077] After the signature is completed, the system generates a corresponding agreement number file. The supplier can check and confirm whether there are any differences between the agreement content and the seal part through the DiChain platform. If there are any differences, the agreement content can be adjusted through the DiChain platform, that is, the agreement content can be revised and re-signed. After the agreement is signed, the supplier chooses to submit the application and enter the DiChain platform approval link again.

[0078] like Figure 2 As shown, the DiChain platform obtains the information entered by the supplier on the DiChain platform for review, such as approving the supplier's company information, bank information, DiChain voucher information, etc. That is, the approver DiChain platform approves the application initiated by the supplier, and verifies it based on the supplier's name, legal person information, ID number, agreement content, application amount, and supplier credit code. If the application is rejected, the supplier will be informed that it needs to reapply.

[0079] The payment invoking module 630 is used to pay the creditor according to the discounted amount after the creditor confirms that the cash discount agreement is effective.

[0080] In one embodiment of the present invention, after the creditor confirms that the cash discount agreement is effective, payment is made to the creditor according to the discounted amount, including: after receiving the creditor's confirmation message for the cash discount agreement, sending a payment instruction to the bank clearing system through the payment interface, so that after the bank clearing system confirms that the cash discount agreement is correct, payment is made to the creditor according to the payment instruction; receiving a payment result message sent by the bank clearing system; and notifying the creditor according to the payment result message.

[0081] This example also includes: when the bank clearing system confirms that the cash discount agreement is incorrect, refusing to pay the creditor, and receiving a payment result message sent by the bank clearing system.

[0082] Specifically, if Figure 2As shown, the DiChain platform locks the currently approved data and submits the data to the bank for reserve. For example: after approval, the DiChain platform automatically calls the bank clearing system payment interface to trigger the payment instruction. Among them, the bank clearing system is mainly used to execute the payment instructions of the DiChain platform, and the DiChain platform provides the payment object name, credit code, amount, invoice, trade voucher, accounts payable details and other data to verify the data, and then make a loan after the verification is correct, or, if the verification is incorrect, do not make a loan, that is, refuse to make a loan, and the loan fails.

[0083] like Figure 2 As shown, the bank clearing system returns a clearing instruction, that is, the Dichain platform sends the Dichain number, amount, supplier name, supplier's bank account, etc. to the bank clearing system as a clearing instruction, notifying the Dichain platform that the creditor has successfully paid, or that the payment has failed, etc., where the clearing instruction includes but is not limited to information such as successful payment or failed payment. In this example, if the payment fails, the reason for the payment failure is returned, and the creditor makes adjustments based on the reason for the payment failure and submits the application again, etc. The reason for failure is, for example, that the information registered by the creditor in the bank system and the Dichain platform is different.

[0084] The Dichain platform receives clearing instructions and modifies the pending payment in the Dichain status to paid or failed payment based on the payment success or payment failure information returned in the clearing instructions. For example, if the creditor's company name information or credit code is inconsistent, the payment failure information is returned. The Dichain platform modifies the Dichain status to payment failure based on the payment failure information returned by the bank clearing system. The Dichain status includes but is not limited to: pending receipt, received, transferred, pending payment, paid, payment failure and other states. After the payment fails, the creditor will wait for the information to be corrected and then re-examined. After the review is passed, the creditor will be loaned (paid).

[0085] After the DiChain platform updates the DiChain status, the DiChain platform triggers a message notification, such as sending a text message notification to the supplier (creditor), notifying the supplier (creditor) that payment has been made.

[0086] The accounting calling module 640 is used to change the creditor's rights / debtor ...

[0087] That is, after the payment is successful, the creditor's rights / debtor relationship status of the creditor's rights / debtor relationship certificate is changed to a paid status; the accounting interface can be called to clear the creditor's rights / debtor relationship certificate through the accounting system.

[0088] For example: modify the pending payment in the Dichain status to paid or payment failed. At the same time, transmit the accounting instructions to the accounting system, and the accounting system records the clearing of accounts payable.

[0089] According to the cash discount processing system of the embodiment of the present invention, a cash discount application initiated by a creditor is obtained, a cash discount agreement is generated according to the cash discount application, and after the agreement takes effect, payment can be automatically made to the creditor. After the payment is successful, automatic accounting is automatically performed. Thus, the entire cash discount business is completed online. The entire process is convenient for the creditor to operate, convenient for the reviewer to approve and manage, and no manual accounting is required for the finance department, thereby realizing an online management solution for application, loan issuance and automatic accounting, and effectively providing users with a user experience.

[0090] The specific definition of the cash discount processing system can be found in the definition of the cash discount processing method above, which will not be repeated here. The various modules of the above cash discount processing system can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0091] In one embodiment, a computer device is provided. Figure 7 For a structural block diagram of a computer device provided in an embodiment of the present application, refer to Figure 7 The computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the aforementioned cash discount processing method embodiment is implemented.

[0092] The embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the processor executes the computer program, the aforementioned cash discount processing method embodiment is implemented.

[0093] The present application embodiment provides a computer program product, which includes instructions. When the instructions are executed, the method described in the present application embodiment is executed. For example, Figure 1 The steps of the cash discount processing method are shown.

[0094] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0095] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0096] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A cash discount processing method, characterized in that: include: Obtain cash discount application initiated by the creditor to the debtor for the creditor's rights / debt relationship certificate; generating a cash discount agreement based on the cash discount application and sending a confirmation request to the creditor; After the creditor confirms that the cash discount agreement is effective, pay the creditor according to the discounted amount; When the payment is successful, the creditor's rights / debtor ...

2. The cash discount processing method according to claim 1, characterized in that: The cash discount application initiated by the creditor to the debtor for the creditor's rights / debt relationship certificate includes: Providing candidate creditor's rights / debts relationship certificates to the creditor so that the creditor can select the creditor's rights / debts relationship certificate from the candidate creditor's rights / debts relationship certificates, wherein the creditor's rights / debts relationship certificate is one or more of the candidate creditor's rights / debts relationship certificates; Based on the creditor / debtor relationship certificate, receive a cash discount application initiated by the creditor.

3. The cash discount processing method according to claim 2, characterized in that: The receiving the cash discount application initiated by the creditor according to the creditor's rights / debt relationship certificate includes: receiving the cash discount application sent by the creditor through the Nginx reverse proxy; After receiving the cash discount application, the method further includes: The creditor's rights / debtor relationship certificate is locked, and after the locking is completed, the cash discount application is loaded into the memory through the Redis cache service to wait for the approval of the cash discount application.

4. The cash discount processing method according to claim 1, characterized in that: The step of generating a cash discount agreement according to the cash discount application and sending a confirmation request to the creditor comprises: Generate a cash discount agreement based on the creditor / debtor relationship voucher; electronically signing the cash discount agreement; A confirmation request for the cash discount agreement is sent to the creditor.

5. The cash discount processing method according to claim 1, characterized in that: Generating a cash discount agreement according to the cash discount application includes: According to the cash discount application, the creditor's rights / debtor relationship certificate is approved; After approval, the cash discount agreement is generated based on the voucher content and cash discount content in the creditor's rights / debtor relationship voucher.

6. The cash discount processing method according to claim 1, characterized in that: After the creditor confirms that the cash discount agreement is effective, payment will be made to the creditor based on the discounted amount, including: After receiving the creditor's confirmation message for the cash discount agreement, sending a payment instruction to the bank clearing system by calling the payment interface, so that after the bank clearing system confirms that the cash discount agreement is correct, it will pay the creditor according to the payment instruction; Receiving the payment result message sent by the bank clearing system; The creditor is notified according to the payment result message.

7. The cash discount processing method according to claim 6, characterized in that: Also includes: When the bank clearing system confirms that the cash discount agreement is wrong, it refuses to pay the creditor and receives the payment result message sent by the bank clearing system.

8. The cash discount processing method according to claim 1, characterized in that: After the payment is successful, the creditor's rights / debt relationship status of the creditor's rights / debt relationship certificate is changed, and automatic accounting is performed, including: When the payment is successful, the creditor's rights / debt relationship status of the creditor's rights / debt relationship certificate is changed to a paid status; The accounting interface is called to clear the creditor's rights / debtor relationship voucher through the accounting system.

9. A cash discount processing system, characterized in that: include: An acquisition module is used to obtain a cash discount application initiated by a creditor to a debtor for a creditor / debtor relationship certificate; A confirmation module, used for generating a cash discount agreement according to the cash discount application, and sending a confirmation request to the creditor; A payment calling module, used for paying the creditor according to the discounted amount after the creditor confirms that the cash discount agreement is effective; The accounting calling module is used to change the creditor's rights / debtor relationship status of the creditor's rights / debtor relationship certificate and perform automatic accounting after the payment is successful.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the cash discount processing method according to any one of claims 1 to 8 is implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the cash discount processing method according to any one of claims 1 to 8 is implemented.

12. A computer program product, comprising instructions, characterized in that: When the instruction is executed, the cash discount processing method according to any one of claims 1-8 is implemented.