Enterprise credit limit calculation system, method, electronic device and storage medium
By obtaining the company's invoice, industrial and commercial and judicial data, establishing a credit model and calculating a credit index, the problem of insufficient data in the existing technology is solved and a more accurate credit limit calculation is achieved.
Patent Information
- Application Number
- CN202011423936.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-08
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2040-12-08
AI Technical Summary
When calculating an enterprise's credit limit, the existing technology has fewer data types and the financial data cannot accurately reflect the enterprise's operating status and market conditions, resulting in low accuracy of the credit limit.
By obtaining the company's invoice data, industrial and commercial data, and judicial data, we can establish a corporate credit model, calculate the credit index and credit limit, and use API interfaces and machine learning technology to make dynamic adjustments.
The data sources used are more authentic and timely, can accurately reflect the company's operating conditions, and improve the accuracy of credit lines.
Smart Images

Figure CN112561680B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of machine learning, and in particular to a system, method, electronic device and storage medium for calculating an enterprise credit limit. Background Art
[0002] Under the market economy, the social credit system is a fusion of government credit, corporate credit and personal credit. Among them, government credit is the cornerstone of social credit, personal credit is the foundation of social credit, and the most critical, active and influential is corporate credit, because corporate credit is not only concerned by investors or lenders in the financial market, but also valued by many parties in the general trading market. With the development of economic contractualization, corporate credit will become an important prerequisite for judging whether to cooperate and trade. Therefore, the construction of the corporate credit system is the top priority of the entire social credit system. At present, domestic banking and financial institutions mainly conduct credit assessment and prediction of enterprises based on their financial data and assets, and then calculate the credit limit of the enterprise. However, this method evaluates the credit of enterprises with fewer data types, and financial data and corporate asset data cannot accurately reflect the business status, market conditions, supply chain status and counterparty information of the enterprise. Financial data has problems such as poor traceability, high tracing costs, low integrity and low credibility, which leads to low accuracy of the corporate credit limit obtained. Summary of the invention
[0003] In view of this, embodiments of the present application provide a system, method, electronic device and storage medium for calculating an enterprise credit limit to overcome the problems of the prior art.
[0004] In a first aspect, an embodiment of the present application provides a system for calculating an enterprise credit limit, including:
[0005] A first API interface is used to obtain invoice data, industrial and commercial data, and judicial data provided by the enterprise within a first preset time period, where the first preset time period is greater than or equal to six months;
[0006] An enterprise credit model building unit, wherein the enterprise credit model building unit is configured with a second API interface, wherein the second API interface is used to receive the invoice data, industrial and commercial data, and judicial data of the enterprise within a first preset time period sent by the first API interface, so that the enterprise credit model building unit builds the enterprise credit model according to the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period;
[0007] A credit index calculation unit, wherein the credit index calculation unit is configured with a third API interface, and the credit index calculation unit calls the enterprise credit model through the third API interface to calculate the credit index of the enterprise;
[0008] A credit limit calculation unit, wherein the credit limit calculation unit is configured with a fourth API interface, wherein the fourth API interface is used to receive the invoice data of the enterprise within a first preset time period sent by the first API interface and the credit index of the enterprise sent by the third API interface, so that the credit limit calculation unit calculates the credit limit of the enterprise based on the invoice data of the enterprise within the first preset time period and the credit index of the enterprise.
[0009] Optionally, in a specific implementation, the enterprise credit model includes:
[0010] A growth index calculation sub-model, used to obtain the invoice data of the enterprise in the first preset time period through a second API interface and calculate the growth index of the enterprise according to the invoice data of the enterprise in the first preset time period, wherein the growth index of the enterprise is used to indicate the debt repayment ability of the enterprise;
[0011] The performance index calculation sub-model is used to obtain the industrial and commercial data and judicial data of the enterprise in the first preset time period through the second API interface and calculate the performance index of the enterprise based on the industrial and commercial data and judicial data of the enterprise in the first preset time period. The performance index of the enterprise is used to indicate the default risk of the enterprise.
[0012] Optionally, in a specific implementation, the credit limit calculation unit includes:
[0013] A sales calculation subunit, configured to obtain the invoice data of the enterprise within a first preset time period through a fourth API interface and calculate the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers based on the invoice data of the enterprise within the first preset time period;
[0014] A base amount calculation subunit, used for obtaining the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers calculated by the sales calculation submodule, and calculating the base amount of the enterprise according to the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers;
[0015] The credit limit calculation subunit is used to obtain the credit index of the enterprise sent by the third API interface and the base limit of the enterprise calculated by the base limit calculation subunit through the fourth API interface, and calculate the credit limit of the enterprise based on the credit index of the enterprise and the base limit of the enterprise.
[0016] Optionally, in a specific implementation, the system further includes:
[0017] A fifth API interface is used to obtain invoice data, industrial and commercial data, and judicial data provided by the enterprise within a second preset time period, where the second preset time period is after the first preset time period and the second preset time period is equal to the first preset time period;
[0018] A credit line optimization unit, wherein the credit line optimization unit is configured with a sixth API interface, wherein the sixth API interface is used to receive the invoice data, industrial and commercial data and judicial data of the enterprise within a second preset time period sent by the fifth API interface and adjust the credit line of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period.
[0019] Optionally, in a specific implementation, the credit limit optimization unit includes:
[0020] An estimated amount calculation subunit, used to obtain the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period through a sixth API interface and calculate the estimated amount of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period;
[0021] The credit limit optimization subunit is used to obtain the estimated credit limit of the enterprise calculated by the estimated credit limit calculation subunit and adjust the credit limit of the enterprise according to the estimated credit limit of the enterprise.
[0022] Optionally, in a specific implementation, the system further includes: a credit index display module;
[0023] The credit index display module includes a pointer, a sector disk and a control submodule;
[0024] The arc of the sector disk is provided with scale values for indicating the enterprise credit index;
[0025] The pointer has a swing function, and the center of the swing is the center of the sector disk;
[0026] The control submodule is used to control the pointer to swing to the position indicating the credit index of the enterprise in the sector disk to display the credit index of the enterprise.
[0027] In a second aspect, an embodiment of the present application provides a method for calculating an enterprise credit limit, including:
[0028] Acquire, through a first API interface, invoice data, industrial and commercial data, and judicial data provided by the enterprise within a first preset time period, where the first preset time period is greater than or equal to six months;
[0029] receiving, through a second API interface, the invoice data, industrial and commercial data, and judicial data of the enterprise within a first preset time period sent by the first API interface, and establishing an enterprise credit model according to the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period;
[0030] Calculate the credit index of the enterprise by calling the enterprise credit model through the third API interface;
[0031] The fourth API interface is used to receive the invoice data of the enterprise within the first preset time period sent by the first API interface and the credit index of the enterprise sent by the third API interface, and calculate the credit limit of the enterprise based on the invoice data of the enterprise within the first preset time period and the credit index of the enterprise.
[0032] Optionally, in a specific implementation, establishing an enterprise credit model based on the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period includes:
[0033] Calculating the growth index of the enterprise according to the invoice data of the enterprise in a first preset time period, wherein the growth index of the enterprise is used to indicate the debt repayment ability of the enterprise;
[0034] The performance index of the enterprise is calculated based on the industrial and commercial data and judicial data of the enterprise in a first preset time period, and the performance index of the enterprise is used to indicate the default risk of the enterprise.
[0035] Optionally, in a specific implementation manner, calculating the credit limit of the enterprise according to the invoice data of the enterprise within the first preset time period and the credit index of the enterprise includes:
[0036] Calculate the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers based on the invoice data of the enterprise within a first preset time period;
[0037] Calculate the base amount of the enterprise based on the sales of the enterprise's institutional clients and the sales of the enterprise's individual clients;
[0038] The credit limit of the enterprise is calculated based on the credit index of the enterprise and the base limit of the enterprise.
[0039] Optionally, in a specific implementation, the method further includes:
[0040] Acquire, through a fifth API interface, invoice data, industrial and commercial data, and judicial data within a second preset time period provided by the enterprise, wherein the second preset time period is after the first preset time period, and the second preset time period is equal to the first preset time period;
[0041] The sixth API interface is used to receive the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period sent by the fifth API interface and adjust the credit limit of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period.
[0042] Optionally, in a specific implementation manner, adjusting the credit limit of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period includes:
[0043] Calculate the estimated amount of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period;
[0044] Adjust the credit limit of the enterprise according to the estimated credit limit of the enterprise.
[0045] Optionally, in a specific implementation, the method further includes:
[0046] The control pointer is moved to the position in the sector disk indicating the credit index of the enterprise to display the credit index of the enterprise.
[0047] In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, wherein an executable program is stored in the memory, and when the processor runs the executable program, the following steps are performed:
[0048] Acquire, through a first API interface, invoice data, industrial and commercial data, and judicial data provided by the enterprise within a first preset time period, where the first preset time period is greater than or equal to six months;
[0049] receiving, through a second API interface, the invoice data, industrial and commercial data, and judicial data of the enterprise within a first preset time period sent by the first API interface, and establishing an enterprise credit model according to the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period;
[0050] Calculate the credit index of the enterprise by calling the enterprise credit model through the third API interface;
[0051] The fourth API interface is used to receive the invoice data of the enterprise within the first preset time period sent by the first API interface and the credit index of the enterprise sent by the third API interface, and calculate the credit limit of the enterprise based on the invoice data of the enterprise within the first preset time period and the credit index of the enterprise.
[0052] Optionally, in a specific implementation, establishing an enterprise credit model based on the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period includes:
[0053] Calculating the growth index of the enterprise according to the invoice data of the enterprise in a first preset time period, wherein the growth index of the enterprise is used to indicate the debt repayment ability of the enterprise;
[0054] The performance index of the enterprise is calculated based on the industrial and commercial data and judicial data of the enterprise in a first preset time period, and the performance index of the enterprise is used to indicate the default risk of the enterprise.
[0055] Optionally, in a specific implementation manner, calculating the credit limit of the enterprise according to the invoice data of the enterprise within the first preset time period and the credit index of the enterprise includes:
[0056] Calculate the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers based on the invoice data of the enterprise within a first preset time period;
[0057] Calculate the base amount of the enterprise based on the sales of the enterprise's institutional clients and the sales of the enterprise's individual clients;
[0058] The credit limit of the enterprise is calculated based on the credit index of the enterprise and the base limit of the enterprise.
[0059] Optionally, in a specific implementation, it further includes:
[0060] Acquire, through a fifth API interface, invoice data, industrial and commercial data, and judicial data within a second preset time period provided by the enterprise, wherein the second preset time period is after the first preset time period, and the second preset time period is equal to the first preset time period;
[0061] The sixth API interface is used to receive the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period sent by the fifth API interface and adjust the credit limit of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period.
[0062] Optionally, in a specific implementation manner, adjusting the credit limit of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period includes:
[0063] Calculate the estimated amount of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period;
[0064] Adjust the credit limit of the enterprise according to the estimated credit limit of the enterprise.
[0065] Optionally, in a specific implementation, it further includes:
[0066] The control pointer is moved to the position in the sector disk indicating the credit index of the enterprise to display the credit index of the enterprise.
[0067] In a fourth aspect, an embodiment of the present application provides a storage medium, characterized in that a computer program is stored on the storage medium, and when a processor executes the computer program, a method as described in any one of the second aspects is implemented.
[0068] Optionally, in a specific implementation, establishing an enterprise credit model based on the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period includes:
[0069] Calculating the growth index of the enterprise according to the invoice data of the enterprise in a first preset time period, wherein the growth index of the enterprise is used to indicate the debt repayment ability of the enterprise;
[0070] The performance index of the enterprise is calculated based on the industrial and commercial data and judicial data of the enterprise in a first preset time period, and the performance index of the enterprise is used to indicate the default risk of the enterprise.
[0071] Optionally, in a specific implementation manner, calculating the credit limit of the enterprise according to the invoice data of the enterprise within the first preset time period and the credit index of the enterprise includes:
[0072] Calculate the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers based on the invoice data of the enterprise within a first preset time period;
[0073] Calculate the base amount of the enterprise based on the sales of the enterprise's institutional clients and the sales of the enterprise's individual clients;
[0074] The credit limit of the enterprise is calculated based on the credit index of the enterprise and the base limit of the enterprise.
[0075] Optionally, in a specific implementation, the method further includes:
[0076] Acquire, through a fifth API interface, invoice data, industrial and commercial data, and judicial data within a second preset time period provided by the enterprise, wherein the second preset time period is after the first preset time period, and the second preset time period is equal to the first preset time period;
[0077] The sixth API interface is used to receive the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period sent by the fifth API interface and adjust the credit limit of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period.
[0078] Optionally, in a specific implementation manner, adjusting the credit limit of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period includes:
[0079] Calculate the estimated amount of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period;
[0080] Adjust the credit limit of the enterprise according to the estimated credit limit of the enterprise.
[0081] Optionally, in a specific implementation, the method further includes:
[0082] The pointer is controlled to move to a position in the sector disk indicating the credit index of the enterprise to display the credit index of the enterprise.
[0083] Optionally, in a specific implementation manner, calculating the credit limit of the enterprise according to the invoice data of the enterprise within the first preset time period and the credit index of the enterprise includes:
[0084] Calculate the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers based on the invoice data of the enterprise within a first preset time period;
[0085] Calculate the base amount of the enterprise based on the sales of the enterprise's institutional clients and the sales of the enterprise's individual clients;
[0086] The credit limit of the enterprise is calculated based on the credit index of the enterprise and the base limit of the enterprise.
[0087] Optionally, in a specific implementation, it further includes:
[0088] Acquire, through a fifth API interface, invoice data, industrial and commercial data, and judicial data provided by the enterprise within a second preset time period, wherein the second preset time period is after the first preset time period, and the second preset time period is equal to the first preset time period;
[0089] The sixth API interface is used to receive the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period sent by the fifth API interface and adjust the credit limit of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period.
[0090] Optionally, in a specific implementation manner, adjusting the credit limit of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period includes:
[0091] Calculate the estimated amount of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period;
[0092] Adjust the credit limit of the enterprise according to the estimated credit limit of the enterprise.
[0093] Optionally, in a specific implementation, it further includes:
[0094] The pointer is controlled to move to a position in the sector disk indicating the credit index of the enterprise to display the credit index of the enterprise.
[0095] The embodiments of the present application provide a system, method, electronic device and storage medium for calculating an enterprise credit limit. The data source used is more authentic and timely, and can accurately reflect the operating conditions of the enterprise. The calculated enterprise credit limit is more accurate through machine learning technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0096] Hereinafter, some specific embodiments of the present application will be described in detail in an exemplary and non-limiting manner with reference to the accompanying drawings. The same reference numerals in the accompanying drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the accompanying drawings:
[0097] Figure 1 A schematic diagram of a system for calculating an enterprise credit limit provided in an embodiment of the present application;
[0098] Figure 2 A product interface corresponding to a system for calculating an enterprise credit limit provided in an embodiment of the present application;
[0099] Figure 3 A product interface corresponding to a system for calculating an enterprise credit limit provided in an embodiment of the present application;
[0100] Figure 4 A product interface corresponding to a corporate credit limit calculation system provided in an embodiment of the present application;
[0101] Figure 5 A product interface corresponding to a system for calculating an enterprise credit limit provided in an embodiment of the present application;
[0102] Figure 6 A flowchart of a method for calculating a corporate credit limit provided in an embodiment of the present application;
[0103] Figure 7 A flowchart of another method for calculating a corporate credit limit is provided for the embodiment of the present application;
[0104] Figure 8 A schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0105] The specific implementation of the embodiment of the present invention is further described below in conjunction with the accompanying drawings of the embodiment of the present invention.
[0106] Embodiment 1
[0107] See also Figure 1 The present application embodiment provides an enterprise credit limit calculation system 10, including:
[0108] A first API interface is used to obtain invoice data, industrial and commercial data, and judicial data provided by the enterprise within a first preset time period, where the first preset time period is greater than or equal to six months;
[0109] Specifically, the first preset time period is greater than or equal to six months, and preferably, the first preset time period can be three years. In this way, the invoice data, industrial and commercial data and judicial data of the enterprise are obtained. The data samples are relatively large, which is conducive to making the calculated credit line more accurate. The invoice data of the enterprise can include the information of the seller enterprise, the buyer enterprise, and the information of the goods sold, the amount, the tax amount, the invoice date, etc. of all transactions of the enterprise within the first preset time period; the industrial and commercial information of the enterprise can include all the legal representatives of the enterprise, registered capital, unified social credit code, taxpayer identification number, enterprise type, staff size, former name, enterprise address, business scope, business status, paid-in capital, and organizational code. Import and export enterprise code, business term, number of insured persons, English name, establishment date, approval date, industrial and commercial registration number, industry, registration authority, region, shareholder information, main personnel, foreign investment, branches, etc.; the judicial information of the enterprise can include the number of cases involved in the first preset time period, case filing information, case type, cause of action, court announcement, legal proceedings, administrative penalties, performance information, breach of contract information, etc.
[0110] An enterprise credit model building unit 101, wherein the enterprise credit model building unit 101 is configured with a second API interface, wherein the second API interface is used to receive the invoice data, industrial and commercial data, and judicial data of the enterprise within a first preset time period sent by the first API interface, so that the enterprise credit model building unit 101 builds an enterprise credit model according to the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period;
[0111] Optionally, in a specific implementation, the enterprise credit model includes:
[0112] A growth index calculation sub-model, used to obtain the invoice data of the enterprise in the first preset time period through a second API interface and calculate the growth index of the enterprise according to the invoice data of the enterprise in the first preset time period, wherein the growth index of the enterprise is used to indicate the debt repayment ability of the enterprise;
[0113] Specifically, the first preset time period can be divided into several sub-time periods of equal length, and the sales of the enterprise in several sub-time periods can be calculated based on the invoice data of the enterprise in the first preset time period. The average sales growth rate of the enterprise in the first preset time period can be judged based on the sales of the enterprise in several sub-time periods. Preferably, the average sales growth rate of the enterprise in the first preset time period can be used as the growth index of the enterprise. The higher the growth index, the better the operating condition of the enterprise, the higher the sustainable growth potential, and the higher the debt repayment ability.
[0114] The performance index calculation sub-model is used to obtain the industrial and commercial data and judicial data of the enterprise in the first preset time period through the second API interface and calculate the performance index of the enterprise based on the industrial and commercial data and judicial data of the enterprise in the first preset time period. The performance index of the enterprise is used to indicate the default risk of the enterprise.
[0115] Specifically, the ratio of the number of times an enterprise fulfills its contract within the first preset time period to the sum of the number of times an enterprise fulfills its contract within the first preset time period and the number of times an enterprise defaults on its contract within the first preset time period can be used as the performance index of the enterprise. The higher the performance index, the stronger the enterprise's willingness to fulfill its contract, the lower its potential credit risk, the stronger its willingness to repay its debts and the lower its default risk. That is, if a represents the number of times an enterprise fulfills its contract within the first preset time period, b represents the number of times an enterprise defaults on its contract within the first preset time period, and s represents the performance index of the enterprise, then:
[0116]
[0117] Optionally, the proportion of the enterprise's valid invoices in the first preset time period to all the invoices of the enterprise in the first preset time period can be used as the enterprise's performance index, where valid invoices refer to all invoices minus invalid invoices; optionally, the proportion of the enterprise's non-red invoices in the first preset time period to all the invoices of the enterprise in the first preset time period can be used as the enterprise's performance index, where non-red invoices refer to all invoices minus red invoices.
[0118] A credit index calculation unit 102, wherein the credit index calculation unit 102 is configured with a third API interface, and the credit index calculation unit 102 uses the third API interface to call the enterprise credit model to calculate the credit index of the enterprise;
[0119] Specifically, the sum of the product of the growth index of the enterprise in the first preset time period and the first preset weight and the product of the performance index of the enterprise in the first preset time period and the second preset weight can be used as the credit index of the enterprise. That is, if the growth index of the enterprise in the first preset time period is h, the first preset weight is c, the performance index of the enterprise in the first preset time period is s, the second preset weight is d, and the credit index is m, then:
[0120] m=h×c+s×d
[0121] The first preset weight and the second preset weight can be set manually as needed, and this application does not limit this. Preferably, the first preset weight and the second preset weight can be set to 1, that is, the sum of the growth index of the enterprise in the first preset time period and the performance index of the enterprise in the first preset time period is used as the credit index of the enterprise. In this way, the business conditions and performance conditions of the enterprise are respectively assigned weights to calculate the credit of the enterprise, which is conducive to a more comprehensive and fair assessment of the credit status of the enterprise.
[0122] A credit limit calculation unit 103, wherein the credit limit calculation unit 103 is configured with a fourth API interface, and the fourth API interface is used to receive the invoice data of the enterprise within a first preset time period sent by the first API interface and the credit index of the enterprise sent by the third API interface, so that the credit limit calculation unit 103 calculates the credit limit of the enterprise according to the invoice data of the enterprise within the first preset time period and the credit index of the enterprise;
[0123] Optionally, in a specific implementation, the credit limit calculation unit includes:
[0124] A sales calculation subunit, configured to obtain the invoice data of the enterprise within a first preset time period through a fourth API interface and calculate the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers based on the invoice data of the enterprise within the first preset time period;
[0125] Specifically, the corporate institutional clients may include: government agencies at all levels, public institutions, social groups, military and armed police, banking and financial institutions, non-banking financial institutions, etc. Among them, government institutional clients refer to agencies that rely on public financial support to exercise state rights and functions, and may include: government agencies at all levels, ministries and commissions under the State Council and their subordinate agencies, agencies directly under the State Council and their subordinate agencies, special agencies directly under the government (such as the State-owned Assets Supervision and Administration Commission), government service agencies (research offices, legislative affairs offices, etc.), government institutions directly under the government (Academy of Sciences, China Banking Regulatory Commission, etc.), bureaus managed by government departments (Price Bureau, Cultural Relics Bureau, etc.), other state agencies, etc. The corporate individual clients refer to clients who handle business with their personal ID cards.
[0126] A base amount calculation subunit, used for obtaining the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers calculated by the sales calculation submodule, and calculating the base amount of the enterprise according to the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers;
[0127] Specifically, the enterprise's base amount can be calculated by assigning weights to the enterprise's sales to institutional customers and the enterprise's sales to individual customers in the first preset time period. That is, the sum of the product of the enterprise's sales to institutional customers in the first preset time period and the third weight and the product of the enterprise's sales to individual customers in the first preset time period and the fourth weight is taken as the enterprise's base amount. If the enterprise's sales to institutional customers in the first preset time period is e, the third weight is k, the enterprise's sales to individual customers in the first preset time period is f, the fourth weight is n, and the base amount is y, then:
[0128] y=e×k+f×n
[0129] The base credit limit is mainly used to indicate the business capacity of the enterprise. The higher the base credit limit, the stronger the business capacity of the enterprise. The third weight and the fourth weight can be set manually according to actual needs, and this application does not limit this. Preferably, the third weight can be greater than the fourth weight, so that a larger weight is given to institutional customers, which is conducive to improving the accuracy of the final calculated corporate credit limit.
[0130] The credit limit calculation subunit is used to obtain the credit index of the enterprise sent by the third API interface and the base limit of the enterprise calculated by the base limit calculation subunit through the fourth API interface, and calculate the credit limit of the enterprise based on the credit index of the enterprise and the base limit of the enterprise.
[0131] Specifically, the product of the enterprise's credit index and the enterprise's base credit limit can be used as the enterprise's credit limit.
[0132] Optionally, in a specific implementation, the system further includes:
[0133] A fifth API interface is used to obtain invoice data, industrial and commercial data, and judicial data provided by the enterprise within a second preset time period, where the second preset time period is after the first preset time period and the second preset time period is equal to the first preset time period;
[0134] A credit line optimization unit, wherein the credit line optimization unit is configured with a sixth API interface, wherein the sixth API interface is used to receive the invoice data, industrial and commercial data and judicial data of the enterprise within a second preset time period sent by the fifth API interface and adjust the credit line of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period.
[0135] Specifically, the invoice data, industrial and commercial data, and judicial data of the enterprise within at least one second preset time period can be obtained here, so as to dynamically adjust the credit limit of the enterprise through machine learning technology. At least one second preset time period has no time overlap, and the latest time point included in at least one second preset time period can be the current time point. The second preset time period can be equal to the first preset time period, that is, the second preset time period is greater than or equal to six months. Preferably, the second preset time period can be three years. In this way, more data samples of the invoice data, industrial and commercial data, and judicial data of the enterprise are obtained, which is conducive to making the calculated credit limit more accurate.
[0136] Optionally, in a specific implementation, the credit limit optimization unit includes:
[0137] An estimated amount calculation subunit, used to obtain the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period through a sixth API interface and calculate the estimated amount of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period;
[0138] Specifically, multiple estimated amounts of the enterprise can be obtained according to the same method as above, based on the invoice data, industrial and commercial data and judicial data of the enterprise in at least one second preset time period.
[0139] The credit limit optimization subunit is used to obtain the estimated credit limit of the enterprise calculated by the estimated credit limit calculation subunit and adjust the credit limit of the enterprise according to the estimated credit limit of the enterprise.
[0140] Specifically, the average of the estimated credit limit of at least one enterprise and the credit limit of the enterprise can be used as the new credit limit of the enterprise, or the average of the estimated credit limit and the credit limit of the enterprise after assigning certain weights to each of them can be used as the new credit limit of the enterprise. It should be noted that the sum of the weight assigned to the estimated credit limit of the enterprise and the weight assigned to the credit limit of the enterprise should be equal to 1. In this way, the credit limit of the enterprise can be calculated in real time based on the invoice data, industrial and commercial data and judicial data updated in real time by the enterprise, so that the calculated credit limit of the enterprise is more timely, and more sample data is used for calculation, which is conducive to improving the accuracy of the calculated credit limit of the enterprise.
[0141] See also Figures 2 to 5 , Figures 2 to 5 This is a product interface diagram corresponding to the enterprise credit limit calculation system provided in the embodiment of the present application, wherein: Figures 4 to 5 The credit score coefficient in is the credit index in this application. Figures 4 to 5 The credit assessment amount in the application is the base amount in this application.
[0142] See also Figure 4 , Optionally, in a specific implementation, the system further includes: a credit index display module;
[0143] The credit index display module includes a pointer, a sector disk and a control submodule;
[0144] The arc of the sector disk is provided with scale values for indicating the enterprise credit index;
[0145] The pointer has a swing function, and the center of the swing is the center of the sector disk;
[0146] The control submodule is used to control the pointer to swing to the position indicating the credit index of the enterprise in the sector disk to display the credit index of the enterprise.
[0147] Specifically, the sector disk can be a semicircle, and the arc of the sector disk is evenly divided into 950 segments, each segment represents a corporate credit index, the leftmost or rightmost segment of the arc is a zero scale line, and the corporate credit index corresponding to the scale can be marked at the initial endpoint of the 95th segment every 95 segments. When the corporate credit index is obtained, the control submodule controls the pointer to move to the position indicating the corporate credit index in the sector disk to display the corporate credit index, so that the user can intuitively see the corporate credit score, which is conducive to improving the user experience.
[0148] The embodiment of the present application provides a system for calculating an enterprise credit limit, which uses data sources that are more authentic and timely, and can accurately reflect the operating conditions of the enterprise. The calculated enterprise credit limit is made more accurate through machine learning technology.
[0149] Embodiment 2
[0150] See also Figure 6 , the present application embodiment provides a method for calculating an enterprise credit limit, including:
[0151] S101: Acquire invoice data, industrial and commercial data, and judicial data provided by an enterprise within a first preset time period through a first API interface, where the first preset time period is greater than or equal to six months;
[0152] Specifically, the first preset time period is greater than or equal to six months, and preferably, the first preset time period can be three years. In this way, the invoice data, industrial and commercial data and judicial data of the enterprise are obtained. The data samples are relatively large, which is conducive to making the calculated credit line more accurate. The invoice data of the enterprise can include the information of the seller enterprise, the buyer enterprise, and the information of the goods sold, the amount, the tax amount, the invoice date, etc. of all transactions of the enterprise within the first preset time period; the industrial and commercial information of the enterprise can include all the legal representatives of the enterprise, registered capital, unified social credit code, taxpayer identification number, enterprise type, staff size, former name, enterprise address, business scope, business status, paid-in capital, and organizational code. Import and export enterprise code, business term, number of insured persons, English name, establishment date, approval date, industrial and commercial registration number, industry, registration authority, region, shareholder information, main personnel, foreign investment, branches, etc.; the judicial information of the enterprise can include the number of cases involved in the first preset time period, case filing information, case type, cause of action, court announcement, legal proceedings, administrative penalties, performance information, breach of contract information, etc.
[0153] S102: receiving, through a second API interface, invoice data, industrial and commercial data, and judicial data of the enterprise within a first preset time period sent by the first API interface, and establishing an enterprise credit model according to the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period;
[0154] Specifically, the enterprise credit model can include calculating the enterprise's growth index and calculating the enterprise's performance index. The enterprise's growth index can be used to evaluate the enterprise's operating conditions, evaluate the enterprise's sustainable growth, and then judge the enterprise's debt repayment ability. In this way, evaluating the enterprise through data from multiple dimensions is conducive to improving the accuracy of the evaluation.
[0155] Optionally, in a specific implementation, establishing an enterprise credit model based on the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period includes:
[0156] Calculating the growth index of the enterprise according to the invoice data of the enterprise in a first preset time period, wherein the growth index of the enterprise is used to indicate the debt repayment ability of the enterprise;
[0157] Specifically, the first preset time period can be divided into several sub-time periods of equal length, and the sales of the enterprise in several sub-time periods can be calculated based on the invoice data of the enterprise in the first preset time period. The average sales growth rate of the enterprise in the first preset time period can be judged based on the sales of the enterprise in several sub-time periods. Preferably, the average sales growth rate of the enterprise in the first preset time period can be used as the growth index of the enterprise. The higher the growth index, the better the operating condition of the enterprise, the higher the sustainable growth potential, and the higher the debt repayment ability.
[0158] The performance index of the enterprise is calculated based on the industrial and commercial data and judicial data of the enterprise in a first preset time period, and the performance index of the enterprise is used to indicate the default risk of the enterprise.
[0159] Specifically, the ratio of the number of times an enterprise fulfills its contract within the first preset time period to the sum of the number of times an enterprise fulfills its contract within the first preset time period and the number of times an enterprise defaults on its contract within the first preset time period can be used as the performance index of the enterprise. The higher the performance index, the stronger the enterprise's willingness to fulfill its contract, the lower its potential credit risk, the stronger its willingness to repay its debts and the lower its default risk. That is, if a represents the number of times an enterprise fulfills its contract within the first preset time period, b represents the number of times an enterprise defaults on its contract within the first preset time period, and s represents the performance index of the enterprise, then:
[0160]
[0161] Optionally, the proportion of the enterprise's valid invoices in the first preset time period to all the invoices of the enterprise in the first preset time period can be used as the enterprise's performance index, where valid invoices refer to all invoices minus invalid invoices; optionally, the proportion of the enterprise's non-red invoices in the first preset time period to all the invoices of the enterprise in the first preset time period can be used as the enterprise's performance index, where non-red invoices refer to all invoices minus red invoices.
[0162] S103: Calculating the credit index of the enterprise by calling the enterprise credit model through the third API interface;
[0163] Specifically, the sum of the product of the growth index of the enterprise in the first preset time period and the first preset weight and the product of the performance index of the enterprise in the first preset time period and the second preset weight can be used as the credit index of the enterprise. That is, if the growth index of the enterprise in the first preset time period is h, the first preset weight is c, the performance index of the enterprise in the first preset time period is s, the second preset weight is d, and the credit index is m, then:
[0164] m=h×c+s×d
[0165] The first preset weight and the second preset weight can be set manually as needed, and this application does not limit this. Preferably, the first preset weight and the second preset weight can be set to 1, that is, the sum of the growth index of the enterprise in the first preset time period and the performance index of the enterprise in the first preset time period is used as the credit index of the enterprise. In this way, the business conditions and performance conditions of the enterprise are respectively assigned weights to calculate the credit of the enterprise, which is conducive to a more comprehensive and fair assessment of the credit status of the enterprise.
[0166] S104: receiving, through the fourth API interface, the invoice data of the enterprise within the first preset time period sent by the first API interface and the credit index of the enterprise sent by the third API interface, and calculating the credit limit of the enterprise according to the invoice data of the enterprise within the first preset time period and the credit index of the enterprise;
[0167] Optionally, in a specific implementation manner, calculating the credit limit of the enterprise according to the invoice data of the enterprise within the first preset time period and the credit index of the enterprise includes:
[0168] Calculate the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers based on the invoice data of the enterprise within a first preset time period;
[0169] Specifically, the corporate institutional clients may include: government agencies at all levels, public institutions, social groups, military and armed police, banking and financial institutions, non-banking financial institutions, etc. Among them, government institutional clients refer to agencies that rely on public financial support to exercise state rights and functions, and may include: government agencies at all levels, ministries and commissions under the State Council and their subordinate agencies, agencies directly under the State Council and their subordinate agencies, special agencies directly under the government (such as the State-owned Assets Supervision and Administration Commission), government service agencies (research offices, legislative affairs offices, etc.), government institutions directly under the government (Academy of Sciences, China Banking Regulatory Commission, etc.), bureaus managed by government departments (Price Bureau, Cultural Relics Bureau, etc.), other state agencies, etc. The corporate individual clients refer to clients who handle business with their personal ID cards.
[0170] Calculate the base amount of the enterprise based on the sales of the enterprise's institutional clients and the sales of the enterprise's individual clients;
[0171] Specifically, the enterprise's base amount can be calculated by assigning weights to the enterprise's sales to institutional customers and the enterprise's sales to individual customers in the first preset time period. That is, the sum of the product of the enterprise's sales to institutional customers in the first preset time period and the third weight and the product of the enterprise's sales to individual customers in the first preset time period and the fourth weight is taken as the enterprise's base amount. If the enterprise's sales to institutional customers in the first preset time period is e, the third weight is k, the enterprise's sales to individual customers in the first preset time period is f, the fourth weight is n, and the base amount is y, then:
[0172] y=e×k+f×n
[0173] The base credit limit is mainly used to indicate the business capacity of the enterprise. The higher the base credit limit, the stronger the business capacity of the enterprise. The third weight and the fourth weight can be set manually according to actual needs, and this application does not limit this. Preferably, the third weight can be greater than the fourth weight, so that a larger weight is given to institutional customers, which is conducive to improving the accuracy of the final calculated corporate credit limit.
[0174] The credit limit of the enterprise is calculated based on the credit index of the enterprise and the base limit of the enterprise.
[0175] Specifically, the product of the enterprise's credit index and the enterprise's base credit limit can be used as the enterprise's credit limit.
[0176] Optionally, in a specific implementation, the method further includes:
[0177] Acquire, through a fifth API interface, invoice data, industrial and commercial data, and judicial data within a second preset time period provided by the enterprise, wherein the second preset time period is after the first preset time period, and the second preset time period is equal to the first preset time period;
[0178] Specifically, the invoice data, industrial and commercial data, and judicial data of the enterprise within at least one second preset time period can be obtained here, so as to dynamically adjust the credit limit of the enterprise through machine learning technology. At least one second preset time period has no time overlap, and the latest time point included in at least one second preset time period can be the current time point. The second preset time period can be equal to the first preset time period, that is, the second preset time period is greater than or equal to six months. Preferably, the second preset time period can be three years. In this way, more data samples of the invoice data, industrial and commercial data, and judicial data of the enterprise are obtained, which is conducive to making the calculated credit limit more accurate.
[0179] The sixth API interface is used to receive the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period sent by the fifth API interface and adjust the credit limit of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period.
[0180] Optionally, in a specific implementation manner, adjusting the credit limit of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period includes:
[0181] Calculate the estimated amount of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period;
[0182] Specifically, multiple estimated amounts of the enterprise can be obtained according to the same method as above, based on the invoice data, industrial and commercial data and judicial data of the enterprise in at least one second preset time period.
[0183] Adjust the credit limit of the enterprise according to the estimated credit limit of the enterprise.
[0184] Specifically, the average of the estimated credit limit of at least one enterprise and the credit limit of the enterprise can be used as the new credit limit of the enterprise, or the average of the estimated credit limit and the credit limit of the enterprise after assigning certain weights to each of them can be used as the new credit limit of the enterprise. It should be noted that the sum of the weight assigned to the estimated credit limit of the enterprise and the weight assigned to the credit limit of the enterprise should be equal to 1. In this way, the credit limit of the enterprise can be calculated in real time based on the invoice data, industrial and commercial data and judicial data updated in real time by the enterprise, so that the calculated credit limit of the enterprise is more timely, and more sample data is used for calculation, which is conducive to improving the accuracy of the calculated credit limit of the enterprise.
[0185] Optionally, in a specific implementation, the method further includes:
[0186] The control pointer is moved to the position in the sector disk indicating the credit index of the enterprise to display the credit index of the enterprise.
[0187] See also Figure 7, the embodiment of the present application provides another method for calculating an enterprise credit limit, including: obtaining invoice data, industrial and commercial data and judicial data provided by the enterprise within a first preset time period through a first API interface, the first preset time period being greater than or equal to six months; obtaining the invoice data of the enterprise in the first preset time period through a second API interface and calculating the growth index of the enterprise based on the invoice data of the enterprise in the first preset time period, the growth index of the enterprise being used to indicate the debt repayment ability of the enterprise; obtaining the industrial and commercial data and judicial data of the enterprise in the first preset time period through a second API interface and calculating the performance index of the enterprise based on the industrial and commercial data and judicial data of the enterprise in the first preset time period, the performance index of the enterprise being used to indicate the default risk of the enterprise; obtaining the invoice data of the enterprise in the first preset time period through a fourth API interface and calculating the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers based on the invoice data of the enterprise in the first preset time period; obtaining the invoice data of the enterprise in the first preset time period through a fourth API interface and calculating the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers based on the invoice data of the enterprise in the first preset time period; obtaining the invoice data of the enterprise in the first preset time period The sales of institutional customers and the sales of individual customers of the enterprise, and the basic credit limit of the enterprise is calculated based on the sales of institutional customers of the enterprise and the sales of individual customers of the enterprise; the basic credit limit of the enterprise and the credit index of the enterprise sent by the third API interface are obtained through the fourth API interface, and the credit limit of the enterprise is calculated based on the credit index of the enterprise and the basic credit limit of the enterprise; the invoice data, industrial and commercial data and judicial data provided by the enterprise within the second preset time period are obtained through the fifth API interface, the second preset time period is after the first preset time period, and the second preset time period is equal to the first preset time period; the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period are obtained through the sixth API interface, and the estimated credit limit of the enterprise is calculated based on the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period; the estimated credit limit of the enterprise is obtained and the credit limit of the enterprise is adjusted according to the estimated credit limit of the enterprise.
[0188] Embodiment 3
[0189] See also Figure 8 The embodiment of the present application provides an electronic device 30, including a memory 301 and a processor 302. The memory 301 stores an executable program. When the processor 302 runs the executable program, the following steps are performed:
[0190] Acquire, through a first API interface, invoice data, industrial and commercial data, and judicial data provided by the enterprise within a first preset time period, where the first preset time period is greater than or equal to six months;
[0191] receiving, through a second API interface, the invoice data, industrial and commercial data, and judicial data of the enterprise within a first preset time period sent by the first API interface, and establishing an enterprise credit model according to the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period;
[0192] Calculate the credit index of the enterprise by calling the enterprise credit model through the third API interface;
[0193] The fourth API interface is used to receive the invoice data of the enterprise within the first preset time period sent by the first API interface and the credit index of the enterprise sent by the third API interface, and calculate the credit limit of the enterprise based on the invoice data of the enterprise within the first preset time period and the credit index of the enterprise.
[0194] The following are specific instructions:
[0195] Acquire, through a first API interface, invoice data, industrial and commercial data, and judicial data provided by the enterprise within a first preset time period, where the first preset time period is greater than or equal to six months;
[0196] Specifically, the first preset time period is greater than or equal to six months, and preferably, the first preset time period can be three years. In this way, the invoice data, industrial and commercial data and judicial data of the enterprise are obtained. The data samples are relatively large, which is conducive to making the calculated credit line more accurate. The invoice data of the enterprise can include the information of the seller enterprise, the buyer enterprise, and the information of the goods sold, the amount, the tax amount, the invoice date, etc. of all transactions of the enterprise within the first preset time period; the industrial and commercial information of the enterprise can include all the legal representatives of the enterprise, registered capital, unified social credit code, taxpayer identification number, enterprise type, staff size, former name, enterprise address, business scope, business status, paid-in capital, and organizational code. Import and export enterprise code, business term, number of insured persons, English name, establishment date, approval date, industrial and commercial registration number, industry, registration authority, region, shareholder information, main personnel, foreign investment, branches, etc.; the judicial information of the enterprise can include the number of cases involved in the first preset time period, case filing information, case type, cause of action, court announcement, legal proceedings, administrative penalties, performance information, breach of contract information, etc.
[0197] receiving, through a second API interface, the invoice data, industrial and commercial data, and judicial data of the enterprise within a first preset time period sent by the first API interface, and establishing an enterprise credit model according to the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period;
[0198] Specifically, the enterprise credit model can include calculating the enterprise's growth index and calculating the enterprise's performance index. The enterprise's growth index can be used to evaluate the enterprise's operating conditions, evaluate the enterprise's sustainable growth, and then judge the enterprise's debt repayment ability. In this way, evaluating the enterprise through data from multiple dimensions is conducive to improving the accuracy of the evaluation.
[0199] Optionally, in a specific implementation, establishing an enterprise credit model based on the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period includes:
[0200] Calculating the growth index of the enterprise according to the invoice data of the enterprise in a first preset time period, wherein the growth index of the enterprise is used to indicate the debt repayment ability of the enterprise;
[0201] Specifically, the first preset time period can be divided into several sub-time periods of equal length, and the sales of the enterprise in several sub-time periods can be calculated based on the invoice data of the enterprise in the first preset time period. The average sales growth rate of the enterprise in the first preset time period can be judged based on the sales of the enterprise in several sub-time periods. Preferably, the average sales growth rate of the enterprise in the first preset time period can be used as the growth index of the enterprise. The higher the growth index, the better the operating condition of the enterprise, the higher the sustainable growth potential, and the higher the debt repayment ability.
[0202] The performance index of the enterprise is calculated based on the industrial and commercial data and judicial data of the enterprise in a first preset time period, and the performance index of the enterprise is used to indicate the default risk of the enterprise.
[0203] Specifically, the ratio of the number of times an enterprise fulfills its contract within the first preset time period to the sum of the number of times an enterprise fulfills its contract within the first preset time period and the number of times an enterprise defaults on its contract within the first preset time period can be used as the performance index of the enterprise. The higher the performance index, the stronger the enterprise's willingness to fulfill its contract, the lower its potential credit risk, the stronger its willingness to repay its debts and the lower its default risk. That is, if a represents the number of times an enterprise fulfills its contract within the first preset time period, b represents the number of times an enterprise defaults on its contract within the first preset time period, and s represents the performance index of the enterprise, then:
[0204]
[0205] Optionally, the proportion of the enterprise's valid invoices in the first preset time period to all the invoices of the enterprise in the first preset time period can be used as the enterprise's performance index, where valid invoices refer to all invoices minus invalid invoices; optionally, the proportion of the enterprise's non-red invoices in the first preset time period to all the invoices of the enterprise in the first preset time period can be used as the enterprise's performance index, where non-red invoices refer to all invoices minus red invoices.
[0206] Calculate the credit index of the enterprise by calling the enterprise credit model through the third API interface;
[0207] Specifically, the sum of the product of the growth index of the enterprise in the first preset time period and the first preset weight and the product of the performance index of the enterprise in the first preset time period and the second preset weight can be used as the credit index of the enterprise. That is, if the growth index of the enterprise in the first preset time period is h, the first preset weight is c, the performance index of the enterprise in the first preset time period is s, the second preset weight is d, and the credit index is m, then:
[0208] m=h×c+s×d
[0209] The first preset weight and the second preset weight can be set manually as needed, and this application does not limit this. Preferably, the first preset weight and the second preset weight can be set to 1, that is, the sum of the growth index of the enterprise in the first preset time period and the performance index of the enterprise in the first preset time period is used as the credit index of the enterprise. In this way, the business conditions and performance conditions of the enterprise are respectively assigned weights to calculate the credit of the enterprise, which is conducive to a more comprehensive and fair assessment of the credit status of the enterprise.
[0210] The fourth API interface is used to receive the invoice data of the enterprise within the first preset time period sent by the first API interface and the credit index of the enterprise sent by the third API interface, and calculate the credit limit of the enterprise according to the invoice data of the enterprise within the first preset time period and the credit index of the enterprise;
[0211] Optionally, in a specific implementation manner, calculating the credit limit of the enterprise according to the invoice data of the enterprise within the first preset time period and the credit index of the enterprise includes:
[0212] Calculate the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers based on the invoice data of the enterprise within a first preset time period;
[0213] Specifically, the corporate institutional clients may include: government agencies at all levels, public institutions, social groups, military and armed police, banking and financial institutions, non-banking financial institutions, etc. Among them, government institutional clients refer to agencies that rely on public financial support to exercise state rights and functions, and may include: government agencies at all levels, ministries and commissions under the State Council and their subordinate agencies, agencies directly under the State Council and their subordinate agencies, special agencies directly under the government (such as the State-owned Assets Supervision and Administration Commission), government service agencies (research offices, legislative affairs offices, etc.), government institutions directly under the government (Academy of Sciences, China Banking Regulatory Commission, etc.), bureaus managed by government departments (Price Bureau, Cultural Relics Bureau, etc.), other state agencies, etc. The corporate individual clients refer to clients who handle business with their personal ID cards.
[0214] Calculate the base amount of the enterprise based on the sales of the enterprise's institutional clients and the sales of the enterprise's individual clients;
[0215] Specifically, the enterprise's base amount can be calculated by assigning weights to the enterprise's sales to institutional customers and the enterprise's sales to individual customers in the first preset time period. That is, the sum of the product of the enterprise's sales to institutional customers in the first preset time period and the third weight and the product of the enterprise's sales to individual customers in the first preset time period and the fourth weight is taken as the enterprise's base amount. If the enterprise's sales to institutional customers in the first preset time period is e, the third weight is k, the enterprise's sales to individual customers in the first preset time period is f, the fourth weight is n, and the base amount is y, then:
[0216] y=e×k+f×n
[0217] The base credit limit is mainly used to indicate the business capacity of the enterprise. The higher the base credit limit, the stronger the business capacity of the enterprise. The third weight and the fourth weight can be set manually according to actual needs, and this application does not limit this. Preferably, the third weight can be greater than the fourth weight, so that a larger weight is given to institutional customers, which is conducive to improving the accuracy of the final calculated corporate credit limit.
[0218] The credit limit of the enterprise is calculated based on the credit index of the enterprise and the base limit of the enterprise.
[0219] Specifically, the product of the enterprise's credit index and the enterprise's base credit limit can be used as the enterprise's credit limit.
[0220] Optionally, in a specific implementation, the method further includes:
[0221] Acquire, through a fifth API interface, invoice data, industrial and commercial data, and judicial data within a second preset time period provided by the enterprise, wherein the second preset time period is after the first preset time period, and the second preset time period is equal to the first preset time period;
[0222] Specifically, the invoice data, industrial and commercial data, and judicial data of the enterprise within at least one second preset time period can be obtained here, so as to dynamically adjust the credit limit of the enterprise through machine learning technology. At least one second preset time period has no time overlap, and the latest time point included in at least one second preset time period can be the current time point. The second preset time period can be equal to the first preset time period, that is, the second preset time period is greater than or equal to six months. Preferably, the second preset time period can be three years. In this way, more data samples of the invoice data, industrial and commercial data, and judicial data of the enterprise are obtained, which is conducive to making the calculated credit limit more accurate.
[0223] The sixth API interface is used to receive the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period sent by the fifth API interface and adjust the credit limit of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period.
[0224] Optionally, in a specific implementation manner, adjusting the credit limit of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period includes:
[0225] Calculate the estimated amount of the enterprise according to the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period;
[0226] Specifically, multiple estimated amounts of the enterprise can be obtained according to the same method as above, based on the invoice data, industrial and commercial data and judicial data of the enterprise in at least one second preset time period.
[0227] Adjust the credit limit of the enterprise according to the estimated credit limit of the enterprise.
[0228] Specifically, the average of the estimated credit limit of at least one enterprise and the credit limit of the enterprise can be used as the new credit limit of the enterprise, or the average of the estimated credit limit and the credit limit of the enterprise after assigning certain weights to each of them can be used as the new credit limit of the enterprise. It should be noted that the sum of the weight assigned to the estimated credit limit of the enterprise and the weight assigned to the credit limit of the enterprise should be equal to 1. In this way, the credit limit of the enterprise can be calculated in real time based on the invoice data, industrial and commercial data and judicial data updated in real time by the enterprise, so that the calculated credit limit of the enterprise is more timely, and more sample data is used for calculation, which is conducive to improving the accuracy of the calculated credit limit of the enterprise.
[0229] Optionally, in a specific implementation, the method further includes:
[0230] The control pointer is moved to the position in the sector disk indicating the credit index of the enterprise to display the credit index of the enterprise.
[0231] The embodiments of the present application provide a system, method, electronic device and storage medium for calculating an enterprise credit limit. The data source used is more authentic and timely, and can accurately reflect the operating conditions of the enterprise. The calculated enterprise credit limit is more accurate through machine learning technology.
[0232] Embodiment 4
[0233] An embodiment of the present application provides a storage medium, characterized in that a computer program is stored on the storage medium, and when a processor executes the computer program, the method of embodiment 2 is implemented.
[0234] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0235] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A system for calculating the credit limit of an enterprise, characterized in that: include: A first API interface is used to obtain invoice data, industrial and commercial data, and judicial data provided by the enterprise within a first preset time period, where the first preset time period is greater than or equal to six months; An enterprise credit model building unit, wherein the enterprise credit model building unit is configured with a second API interface, wherein the second API interface is used to receive the invoice data, industrial and commercial data, and judicial data of the enterprise within a first preset time period sent by the first API interface, so that the enterprise credit model building unit builds the enterprise credit model according to the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period; A credit index calculation unit, wherein the credit index calculation unit is configured with a third API interface, and the credit index calculation unit calls the enterprise credit model through the third API interface to calculate the credit index of the enterprise, wherein the credit index is the sum of the product of the growth index of the enterprise and the first preset weight in the first preset time period and the product of the performance index and the second preset weight, the growth index is the average sales growth rate of the enterprise in the first preset time period, and the performance index is the ratio of the number of performances of the enterprise in the first preset time period to the sum of the number of performances and the number of defaults; A credit limit calculation unit, wherein the credit limit calculation unit is configured with a fourth API interface, and the fourth API interface is used to receive the invoice data of the enterprise within a first preset time period sent by the first API interface and the credit index of the enterprise sent by the third API interface, so that the credit limit calculation unit calculates the credit limit of the enterprise according to the invoice data of the enterprise within the first preset time period and the credit index of the enterprise; A credit index display module; the credit index display module comprises a pointer, a sector disk and a control submodule; a scale value for indicating the credit index of the enterprise is arranged on the arc of the sector disk; the pointer has a swing function, and the swing center is the center of the sector disk; the control submodule is used to control the pointer to swing to the position in the sector disk indicating the credit index of the enterprise, so as to display the credit index of the enterprise; A fifth API interface is used to obtain invoice data, industrial and commercial data, and judicial data provided by the enterprise within a second preset time period, where the second preset time period is after the first preset time period and the second preset time period is equal to the first preset time period; A credit line optimization unit, the credit line optimization unit is configured with a sixth API interface, and the credit line optimization unit includes: an estimated line calculation subunit, used to obtain the invoice data, industrial and commercial data and judicial data of the enterprise within a second preset time period through the sixth API interface and calculate the estimated line of credit of the enterprise based on the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period; a credit line optimization subunit, used to obtain the estimated line of credit of the enterprise calculated by the estimated line calculation subunit and adjust the credit line of the enterprise based on the estimated line of credit of the enterprise.
2. The enterprise credit limit calculation system according to claim 1, characterized in that: The enterprise credit model includes: A growth index calculation sub-model, used for obtaining the invoice data of the enterprise in the first preset time period through a second API interface and calculating the growth index of the enterprise according to the invoice data of the enterprise in the first preset time period, wherein the growth index of the enterprise is used to indicate the debt repayment ability of the enterprise; The performance index calculation sub-model is used to obtain the industrial and commercial data and judicial data of the enterprise in the first preset time period through the second API interface and calculate the performance index of the enterprise based on the industrial and commercial data and judicial data of the enterprise in the first preset time period. The performance index of the enterprise is used to indicate the default risk of the enterprise.
3. The enterprise credit limit calculation system according to claim 1, characterized in that: The credit limit calculation unit includes: A sales calculation subunit, configured to obtain the invoice data of the enterprise within a first preset time period through a fourth API interface and calculate the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers based on the invoice data of the enterprise within the first preset time period; A base amount calculation subunit is used to obtain the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers calculated by the sales calculation subunit and calculate the base amount of the enterprise according to the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers; The credit limit calculation subunit is used to obtain the credit index of the enterprise sent by the third API interface and the base limit of the enterprise calculated by the base limit calculation subunit through the fourth API interface, and calculate the credit limit of the enterprise based on the credit index of the enterprise and the base limit of the enterprise.
4. A method for calculating an enterprise credit limit, characterized in that: include: Acquire, through a first API interface, invoice data, industrial and commercial data, and judicial data provided by the enterprise within a first preset time period, where the first preset time period is greater than or equal to six months; receiving, through a second API interface, the invoice data, industrial and commercial data, and judicial data of the enterprise within a first preset time period sent by the first API interface, and establishing an enterprise credit model according to the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period; The enterprise credit model is called through a third API interface to calculate the credit index of the enterprise, wherein the credit index is the sum of the product of the growth index of the enterprise and the first preset weight value in the first preset time period and the product of the performance index and the second preset weight value, the growth index is the average sales growth rate of the enterprise in the first preset time period, and the performance index is the ratio of the number of performances of the enterprise in the first preset time period to the sum of the number of performances and the number of defaults; The fourth API interface is used to receive the invoice data of the enterprise within the first preset time period sent by the first API interface and the credit index of the enterprise sent by the third API interface, and calculate the credit limit of the enterprise according to the invoice data of the enterprise within the first preset time period and the credit index of the enterprise; The credit index of the enterprise is displayed by a credit index display module; the credit index display module includes a pointer, a sector disk and a control submodule; the arc of the sector disk is provided with a scale value for indicating the credit index of the enterprise; the pointer has a swing function, and the swing center is the center of the sector disk; the control submodule is used to control the pointer to swing to a position in the sector disk indicating the credit index of the enterprise, so as to display the credit index of the enterprise; Acquire, through a fifth API interface, invoice data, industrial and commercial data, and judicial data provided by the enterprise within a second preset time period, wherein the second preset time period is after the first preset time period, and the second preset time period is equal to the first preset time period; Receive the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period sent by the fifth API interface through the sixth API interface, and calculate the estimated credit limit of the enterprise based on the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period; obtain the estimated credit limit of the enterprise and adjust the credit limit of the enterprise based on the estimated credit limit of the enterprise.
5. The method for calculating the enterprise credit limit according to claim 4, characterized in that: Establishing an enterprise credit model based on the invoice data, industrial and commercial data, and judicial data of the enterprise within a first preset time period includes: Calculating the growth index of the enterprise according to the invoice data of the enterprise in a first preset time period, wherein the growth index of the enterprise is used to indicate the debt repayment ability of the enterprise; The performance index of the enterprise is calculated based on the industrial and commercial data and judicial data of the enterprise in a first preset time period, and the performance index of the enterprise is used to indicate the default risk of the enterprise.
6. The method for calculating the enterprise credit limit according to claim 5, characterized in that: Calculating the credit limit of the enterprise according to the invoice data of the enterprise within a first preset time period and the credit index of the enterprise includes: Calculate the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers based on the invoice data of the enterprise within a first preset time period; Calculate the base amount of the enterprise based on the sales of the enterprise's institutional clients and the sales of the enterprise's individual clients; The credit limit of the enterprise is calculated based on the credit index of the enterprise and the base limit of the enterprise.
7. An electronic device, characterized in that: The system comprises a memory and a processor, wherein an executable program is stored in the memory, and the processor performs the following steps when running the executable program: Acquire, through a first API interface, invoice data, industrial and commercial data, and judicial data provided by the enterprise within a first preset time period, where the first preset time period is greater than or equal to six months; receiving, through a second API interface, the invoice data, industrial and commercial data, and judicial data of the enterprise within a first preset time period sent by the first API interface, and establishing an enterprise credit model according to the invoice data, industrial and commercial data, and judicial data of the enterprise within the first preset time period; The enterprise credit model is called through a third API interface to calculate the credit index of the enterprise, wherein the credit index is the sum of the product of the growth index of the enterprise and the first preset weight value in the first preset time period and the product of the performance index and the second preset weight value, the growth index is the average sales growth rate of the enterprise in the first preset time period, and the performance index is the ratio of the number of performances of the enterprise in the first preset time period to the sum of the number of performances and the number of defaults; The fourth API interface is used to receive the invoice data of the enterprise within the first preset time period sent by the first API interface and the credit index of the enterprise sent by the third API interface, and calculate the credit limit of the enterprise according to the invoice data of the enterprise within the first preset time period and the credit index of the enterprise; The credit index of the enterprise is displayed by a credit index display module; the credit index display module includes a pointer, a sector disk and a control submodule; the arc of the sector disk is provided with a scale value for indicating the credit index of the enterprise; the pointer has a swing function, and the swing center is the center of the sector disk; the control submodule is used to control the pointer to swing to a position in the sector disk indicating the credit index of the enterprise, so as to display the credit index of the enterprise; Acquire, through a fifth API interface, invoice data, industrial and commercial data, and judicial data provided by the enterprise within a second preset time period, wherein the second preset time period is after the first preset time period, and the second preset time period is equal to the first preset time period; Receive the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period sent by the fifth API interface through the sixth API interface, and calculate the estimated credit limit of the enterprise based on the invoice data, industrial and commercial data and judicial data of the enterprise within the second preset time period; obtain the estimated credit limit of the enterprise and adjust the credit limit of the enterprise based on the estimated credit limit of the enterprise.
8. The electronic device according to claim 7, characterized in that: Establishing an enterprise credit model based on the invoice data, industrial and commercial data, and judicial data of the enterprise within a first preset time period includes: Calculating the growth index of the enterprise according to the invoice data of the enterprise in a first preset time period, wherein the growth index of the enterprise is used to indicate the debt repayment ability of the enterprise; The performance index of the enterprise is calculated based on the industrial and commercial data and judicial data of the enterprise in a first preset time period, and the performance index of the enterprise is used to indicate the default risk of the enterprise.
9. The electronic device according to claim 7, characterized in that: Calculating the credit limit of the enterprise according to the invoice data of the enterprise within a first preset time period and the credit index of the enterprise includes: Calculate the sales of the enterprise's institutional customers and the sales of the enterprise's individual customers based on the invoice data of the enterprise within a first preset time period; Calculate the base amount of the enterprise based on the sales of the enterprise's institutional clients and the sales of the enterprise's individual clients; The credit limit of the enterprise is calculated based on the credit index of the enterprise and the base limit of the enterprise.
10. A storage medium, characterized in that: The storage medium stores a computer program, and when the processor executes the computer program, the method according to any one of claims 4 to 6 is implemented.
