A service credential generation method, apparatus, device, and medium
Patent Information
- Application Number
- CN202210770984.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2042-06-30
AI Technical Summary
[0004]有鉴于此,本申请的目的在于提供一种业务凭证生成方法、装置、设备及介质,能够根据凭证需求在原始业务凭证中进行检索,并且基于凭证需求生成满足凭证需求的业务凭证,解决了现有技术中存在的对原始凭证的更新,经常需要根据新的标准化业务凭证的内容重新进行凭证内容的输入、或者对原有的凭证系统进行更新等工作,无法形成对原有凭证的兼容的问题,达到根据公司的凭证标准和原始凭证的内容,快速生成符合公司不同需求的凭证的效果
[0026]本申请实施例提供的业务凭证生成方法、装置、设备及介质,能够根据凭证需求在原始业务凭证中进行检索,并且基于凭证需求生成满足凭证需求的业务凭证,解决了现有技术中存在的对原始凭证的更新,经常需要根据新的标准化业务凭证的内容重新进行凭证内容的输入、或者对原有的凭证系统进行更新等工作,无法形成对原有凭证的兼容的问题,达到根据公司的凭证标准和原始凭证的内容,快速生成符合公司不同需求的凭证的效果。
Smart Images

Figure CN117391052B_ABST
Abstract
Claims
1. A method for generating business vouchers, characterized in that, The method includes: Obtain the target company identifier and the corresponding letter of credit information, wherein the letter of credit information includes time information and letter of credit type; Based on the target enterprise identifier, determine the document requirements of the business document recipient indicated by the target enterprise identifier for the business document; Based on the issuance information, and based on the document header of the original business document, multiple target original business documents that meet the target issuance information are determined from multiple original business documents. The multiple original business documents are business documents stored by the business document issuer according to its own business needs. Each original business document includes a document header and multiple business attribute items. Each business attribute item is used to record a piece of data in the actual business processing process. For each business attribute item in each target original business document, determine whether each business attribute item in the target original business document meets the document requirements. For each business attribute item that does not meet the voucher requirements, a target attribute item update script corresponding to that business attribute item is determined. The target attribute item update script is used to replace the generation rule of that business attribute item with the generation rule required for that business attribute item in the voucher requirements. For each business attribute item that does not meet the voucher requirements, run the target attribute item update script corresponding to that business attribute item to obtain the modified business attribute item that meets the voucher requirements. Based on the business attribute items that meet the voucher requirements and the modified business attribute items, a business voucher that meets the voucher requirements is generated.
2. The method according to claim 1, characterized in that, in, Based on the issuance information, the step of determining multiple target original business documents that match the target issuance information from multiple original business documents, based on the document header of the original business documents, includes: Based on the time information, multiple target time original business documents that conform to the target time period of the time information are determined from multiple original business documents. Based on the letter of credit type, select multiple target original business documents that match the target letter of credit type from multiple target time original business documents.
3. The method according to claim 1, characterized in that, The steps for determining the document requirements of the recipient of the business document indicated by the target enterprise identifier, based on the target enterprise identifier, include: The target enterprise identifier is matched with the enterprise identifiers pre-stored in the voucher requirement database, which contains voucher requirements corresponding to each target enterprise identifier. Based on the enterprise identifiers pre-stored in the credential requirement database that match the target enterprise identifier, determine the credential requirements corresponding to the target enterprise identifier.
4. The method according to claim 1, characterized in that, The target attribute update script for each business attribute item that does not meet the voucher requirements is determined using the following method: Determine the enterprise identifier to which this business attribute item belongs; Based on the enterprise identifier, determine the update script for multiple attribute items corresponding to the enterprise identifier; In the multiple attribute update scripts corresponding to the enterprise identifier, the target attribute update script corresponding to the business attribute is determined based on the business attribute.
5. The method according to claim 1, characterized in that, The method further includes: Verify the original business vouchers; The original business vouchers are verified in the following ways: Determine whether the header of the original business voucher conforms to the voucher header attribute standard; If the header of the original business voucher does not conform to the voucher header attribute standard, a voucher header error message will be generated on the display interface. The voucher header error message includes an ignore option and a modify option. In response to the selection operation of the ignored option, the error message flag in the voucher header is canceled, and it is determined that the voucher header conforms to the attribute standard; In response to the selection of the modification option, delete the current original business voucher and display the original business voucher input interface on the display screen.
6. The method according to claim 5, characterized in that, The method further includes: If the document header of the original business document meets the document header attribute standard, then multiple business attribute items of the original business document are verified. The following methods are used to verify each business attribute item of the original business voucher: Determine whether the content of the business attribute item meets the business attribute item validation standard; If the attribute content of the business attribute item meets the business attribute item verification standard, the original business voucher is entered into the business voucher database, which is used to store the original business voucher. If the content of the business attribute item does not meet the business attribute item verification standard, an error message indicator for the business attribute item will be generated on the display interface. The error message indicator for the business attribute item includes the option to ignore the option and the option to modify the option. In response to the selection operation of the ignored option, the error message flag of the business attribute item is canceled, and the original business voucher is stored in the business voucher database; In response to the selection of the modification option, delete the current original business voucher and display the original business voucher input interface on the display screen.
7. A business voucher generation device, characterized in that, The device includes: The letter of credit information acquisition module is used to acquire the target enterprise identifier and the letter of credit information corresponding to the target enterprise identifier, wherein the letter of credit information includes time information and letter of credit type. The credential requirement determination module is used to determine the credential requirements of the business credential recipient indicated by the target enterprise identifier for the business credential, based on the target enterprise identifier. The target original business document determination module determines multiple target original business documents that meet the target issuance information from multiple original business documents based on the document header of the original business documents and the issuance information. The multiple original business documents are business documents stored by the business document issuer according to its own business needs. Each original business document includes a document header and multiple business attribute items. Each business attribute item is used to record a piece of data in the actual business processing process. The business attribute item judgment module is used to determine whether each business attribute item in each target original business voucher meets the voucher requirements. The update script determination module is used to determine the target attribute item update script corresponding to each business attribute item that does not meet the voucher requirements. The target attribute item update script is used to replace the generation rule of the business attribute item with the generation rule required for the business attribute item in the voucher requirements. The business attribute item modification module is used to run the target attribute item update script corresponding to each business attribute item that does not meet the voucher requirements, so as to obtain the modified business attribute item that meets the voucher requirements. The business voucher generation module is used to generate a business voucher that meets the voucher requirements based on the business attribute items that meet the voucher requirements and the modified business attribute items.
8. The apparatus according to claim 7, characterized in that, The device further includes: The original business voucher verification module is used to verify the original business vouchers; Specifically, the original business voucher verification module is used to determine whether the voucher header of the original business voucher conforms to the voucher header attribute standard. If the voucher header of the original business voucher does not conform to the voucher header attribute standard, a voucher header error message is generated on the display interface. The voucher header error message includes an ignore option and a modify option. In response to the selection operation of the ignore option, the voucher header error message is canceled, and it is determined that the voucher header conforms to the attribute standard. In response to the selection operation of the modify option, the current original business voucher is deleted, and the original business voucher input interface is displayed on the display interface.
9. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is in operation, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform the steps of the method as described in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Receipt conversion device and receipt conversion method
CN102222060A
Service agent certificate processing method and device, electronic equipment and storage medium
CN112037015A