Intelligent integration method and system for cross-border whole chain of customs duties based on large models

By constructing a multi-domain unified evidence base and a cross-domain coupled constraint reasoning engine, the problems of business domain isolation and error propagation in cross-border large model systems are solved, realizing intelligent processing of the entire cross-border trade chain and efficient updating of regulatory policies.

CN123092484APending Publication Date: 2026-11-13SHENZHEN SHUMAO YUNZHI ARTIFICIAL INTELLIGENCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611402689.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-10
Publication Date
2026-11-13

AI Technical Summary

Technical Problem

Existing cross-border large-scale model systems suffer from isolated reasoning across business domains, lack of cross-link evidence cross-verification, and a lack of unified and reliable traceability of reasoning results, leading to problems such as error propagation and high-cost knowledge updates.

Method used

A unified evidence base across multiple domains is constructed, mapping cross-border trade data and regulatory rules to a shared evidence vector space. A vertical large-model inference cluster is deployed, and evidence mutual verification is performed through a cross-domain coupled constraint inference engine to block the transmission of illusions in a single domain. A global routing control and trusted evidence storage module are set up.

Benefits of technology

It enables one-click intelligent processing of the entire cross-border trade chain, improves data cross-verification capabilities, reduces the risk of error transmission, and reduces the iterative costs of regulatory policy changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123092484A_ABST
    Figure CN123092484A_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for intelligent integration of the entire cross-border trade process based on a large-scale model, belonging to the fields of artificial intelligence and cross-border trade data processing technology. This invention constructs a multi-domain unified evidence vector base, mapping customs declarations, tax refund invoices, foreign exchange settlement vouchers, logistics manifests, financial risk control materials, and regulatory regulations to a shared evidence vector space. Each piece of evidence carries an evidence source label, confidence weight, and regulatory basis index. A vertical-category large-scale model inference cluster is deployed, where each sub-model completes its own domain inference locally and outputs candidate results, prohibiting direct output of execution instructions downstream. A cross-domain coupled constraint inference engine is designed to perform cross-domain evidence mutual verification to identify single-domain illusions, feeding conflicting evidence and constraints back to the corresponding sub-model to drive re-inference iteration. A global routing control and trusted evidence storage module are set up. This invention blocks the cross-link transmission of single-domain illusions, achieving one-click intelligent processing of the entire customs-foreign exchange-tax-transportation-finance chain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of artificial intelligence and cross-border trade data processing, and in particular to a method and system for intelligent integration of customs, foreign exchange and taxation across the entire cross-border trade chain based on a large model. Background Technology

[0002] With the continued development of globalized trade, cross-border trade has become a crucial engine for economic growth. In cross-border trade, customs declaration, export tax refund, foreign exchange settlement review, cross-border logistics scheduling, and cross-border financial services are the five core business segments. Each segment involves the regulations and policies of different countries and regions, complex document flows, and multi-party collaborative operations. In recent years, artificial intelligence large language model technology has demonstrated powerful semantic understanding and reasoning capabilities across various industries, and some cross-border trade service providers have begun to explore applying large language models to the intelligent processing of various business segments. However, existing cross-border AI applications generally adopt a "single-point large model + independent business module" architecture. Customs declaration, tax refund, foreign exchange settlement, logistics, and finance each deploy independent vertical models and knowledge bases, and the reasoning spaces of each module are isolated from each other, resulting in the following core technical bottlenecks: Incompatibility of heterogeneous evidence spaces across multiple domains: Each business domain independently constructs its evidence representation space. There is a lack of a unified semantic alignment mechanism among customs declarations, tax refund invoices, foreign exchange settlement vouchers, logistics manifests, and financial risk control materials, which makes it impossible to directly perform cross-validation and correlation analysis on data across business domains. Large-scale model single-domain reasoning illusions are amplified across links: When a large-scale model inference in a certain business domain produces illusions (such as incorrect HS code for customs declaration or deviation in tax refund rate calculation), due to the lack of cross-domain evidence verification mechanism, the erroneous results will be directly transmitted to downstream business links, triggering a series of chain reactions such as customs declaration rejection, tax refund rejection, abnormal foreign exchange settlement, and misjudgment of financial risk control, and the source of AI error cannot be located. Lack of a unified cross-domain evidence tracing and constraint feedback mechanism: Existing technologies cannot achieve mutual verification of evidence from multiple business domains such as customs, foreign exchange, taxation, transportation and finance, or mutual constraint of inference results. Once a reasoning deviation occurs in a certain link, it can only rely on manual discovery and correction, and cannot achieve automated error detection and correction. When regulatory policies change dynamically, each model needs to be readjusted separately: When regulatory policies such as customs, taxation, and foreign exchange change, the independent models of each business domain need to be updated and their parameters adjusted separately, resulting in extremely high iteration costs and making it difficult to support one-click full-chain business at the real production level of B-end foreign trade.

[0003] Existing technologies either automate forms using RPA or process each step separately using a general large model, which can only achieve simple splicing of business processes and cannot realize cross-business domain evidence cross-coupling reasoning. Summary of the Invention

[0004] The purpose of this invention is to propose a large-scale model-based intelligent integration method for the entire cross-border customs, foreign exchange, and taxation chain, aiming to solve the technical problems of existing cross-border large-scale model systems, such as multi-business domain reasoning isolation, cross-link defect propagation, inability to cross-couple and verify evidence, and lack of unified and reliable traceability of reasoning results.

[0005] This invention is implemented as follows: a method for intelligent integration of customs, foreign exchange, and taxation across the entire cross-border value chain based on a large model, the method comprising: A unified evidence base is constructed across multiple domains, mapping cross-border trade multi-source business data and regulatory provisions to a shared evidence vector space, generating a unified evidence vector across multiple domains carrying evidence source labels, confidence weights, and regulatory basis indexes; the cross-border trade multi-source business data includes customs declarations, tax refund invoices, foreign exchange settlement vouchers, logistics manifests, and financial risk control materials. A vertical category large model inference cluster is constructed. The multi-domain unified evidence vector is input into each business sub-model in the vertical category large model inference cluster. Each business sub-model completes the preliminary inference of its own domain locally and outputs the inference candidate results of its own domain. Each business sub-model is prohibited from directly outputting execution instructions to downstream businesses. Construct a cross-domain coupled constraint reasoning engine, input the candidate reasoning results of the local domain into the cross-domain coupled constraint reasoning engine, perform cross-domain evidence mutual verification, identify logical conflicts generated by single-domain model reasoning, feed back the generated conflict evidence vector and corresponding constraint conditions to the corresponding sub-model, drive the sub-model to re-infer and iterate until the multi-domain joint constraint conditions are met. Through global routing control, based on the comprehensive confidence level after multi-domain joint inference, it is determined whether to automatically execute the one-click business process or enter the manual review channel; By using global trusted evidence storage, fine-grained evidence storage is performed on the unified evidence base across multiple domains, the candidate results output of each sub-model, cross-domain conflict information, and the constraint backfeeding iteration process, forming an auditable AI inference link.

[0006] Another objective of this invention is to propose a large-scale model-based intelligent integrated system for the entire cross-border customs, foreign exchange, and taxation chain. The system includes: The multi-domain unified evidence base construction module is used to construct a multi-domain unified evidence base, uniformly mapping cross-border trade multi-source business data and regulatory provisions to a shared evidence vector space, generating multi-domain unified evidence vectors carrying evidence source labels, confidence weights, and regulatory basis indexes; the cross-border trade multi-source business data includes customs declarations, tax refund invoices, foreign exchange settlement vouchers, logistics manifests, and financial risk control materials; the vertical large-scale model inference cluster construction module is used to construct a vertical large-scale model inference cluster, inputting the multi-domain unified evidence vectors into each business sub-model in the vertical large-scale model inference cluster, each business sub-model completing preliminary inference in its own domain locally and outputting candidate inference results for its own domain; each business sub-model is prohibited from directly outputting execution instructions to downstream businesses. The cross-domain coupling constraint reasoning engine construction module is used to build a cross-domain coupling constraint reasoning engine. The candidate reasoning results of the local domain are input into the cross-domain coupling constraint reasoning engine to perform cross-domain evidence mutual verification, identify logical conflicts generated by single-domain model reasoning, and feed back the generated conflict evidence vector and corresponding constraint conditions to the corresponding sub-model to drive the sub-model to re-infer and iterate until the multi-domain joint constraint conditions are met. The global routing control module is used to determine whether to automatically execute a one-click business process or enter the manual review channel based on the comprehensive confidence level after multi-domain joint inference through global routing control.

[0007] The Global Trusted Evidence Storage Module is used to perform fine-grained evidence storage of the multi-domain unified evidence base, the candidate results output of each sub-model, cross-domain conflict information, and the constraint backfeeding iteration process through global trusted evidence storage, forming an auditable AI inference link.

[0008] Beneficial effects of the present invention This invention proposes a large-scale model-based intelligent integration method and system for the entire cross-border customs, foreign exchange, and tax chain. The method constructs a multi-domain unified evidence vector base, mapping customs declarations, tax refund invoices, foreign exchange settlement vouchers, logistics manifests, financial risk control materials, and regulatory regulations to a shared evidence vector space. Each piece of evidence carries an evidence source label, confidence weight, and regulatory basis index. A vertical-category large-scale model inference cluster is deployed, with each sub-model completing its own domain inference locally and outputting candidate results, prohibiting direct output of execution instructions downstream. A cross-domain coupled constraint inference engine is designed to perform cross-domain evidence mutual verification to identify single-domain illusions, feeding conflicting evidence and constraints back to the corresponding sub-model to drive re-inference iteration. A global routing control and trusted evidence storage module are set up. This invention blocks the cross-link transmission of single-domain illusions, achieving one-click intelligent processing of the entire customs-foreign exchange-tax-transportation-finance chain. Attached Figure Description

[0009] Figure 1 This is an overall flowchart of a preferred embodiment of the present invention, which is a method for intelligent integration of customs, foreign exchange and taxation across the entire cross-border chain based on a large model. Figure 2 This is a structural diagram of a preferred embodiment of the present invention: a cross-border intelligent integrated system for customs, foreign exchange and taxation based on a large model. Detailed Implementation

[0010] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. For ease of explanation, only the parts related to the embodiments of this invention are shown. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0011] This invention proposes a method and system for intelligent integration of the entire cross-border customs, foreign exchange, and taxation chain based on a large-scale model. The method constructs a multi-domain unified evidence vector base, mapping customs declarations, tax refund invoices, foreign exchange settlement vouchers, logistics manifests, financial risk control materials, and regulatory regulations to a shared evidence vector space. Each piece of evidence carries an evidence source label, confidence weight, and regulatory basis index. A vertical-category large-scale model inference cluster is deployed, with each sub-model completing its own domain inference locally and outputting candidate results, prohibiting direct output of execution instructions downstream. A cross-domain coupled constraint inference engine is designed to perform cross-domain evidence mutual verification to identify single-domain illusions, feeding conflicting evidence and constraints back to the corresponding sub-model to drive re-inference iteration. A global routing control and trusted evidence storage module are set up. This invention blocks the cross-link transmission of single-domain illusions, achieving one-click intelligent processing of the entire customs-foreign exchange-taxation-transportation-finance chain.

[0012] Figure 1 This is an overall flowchart of a preferred embodiment of the present invention, which describes a method for intelligent integration of customs, foreign exchange, and taxation across the entire cross-border supply chain based on a large model; the method includes the following steps: S1: Construct a unified evidence base across multiple domains, mapping cross-border trade multi-source business data and regulatory provisions to a shared evidence vector space, and generating a unified evidence vector across multiple domains carrying evidence source labels, confidence weights, and regulatory basis indexes; the cross-border trade multi-source business data includes customs declarations, tax refund invoices, foreign exchange settlement vouchers, logistics manifests, and financial risk control materials; In this embodiment of the invention, the construction of a multi-domain unified evidence base includes the following processing steps: S11: Perform multimodal semantic parsing on customs declaration documents, tax refund invoices, foreign exchange settlement vouchers, logistics manifests, and financial risk control materials to extract key business entity information from each document; In this embodiment of the invention, the customs declaration documents include, but are not limited to, customs declarations, packing lists, commercial invoices, and certificates of origin; the tax refund documents include, but are not limited to, VAT special invoices, export tax refund application forms, and tax payment certificates; the foreign exchange settlement documents include, but are not limited to, foreign exchange declaration forms, foreign exchange receipt slips, and foreign exchange settlement documents; the logistics manifests include, but are not limited to, bills of lading, waybills, and warehouse documents; and the financial risk control materials include, but are not limited to, letters of credit, guarantees, and financing agreements.

[0013] In this embodiment of the invention, optical character recognition technology can be used in conjunction with a document layout analysis model to extract document structure information and accurately identify complex layout elements such as tables, seals, and signatures. The extracted text can be semantically understood and named entity recognition can be performed using a domain-adaptive large language model to extract key business entities such as product name, HS code, quantity, amount, currency, tax rate, and trade terms.

[0014] S12: Perform cross-document semantic alignment on the extracted key business entity information, and establish a mapping relationship between commodity codes in customs declaration documents and tax rate information in tax refund invoices, and currency exchange rate information in foreign exchange settlement vouchers.

[0015] Specifically, cross-document semantic alignment is performed on the entity information extracted from each document. Key business entities such as commodity names, commodity codes, quantities, amounts, currencies, tax rates, exchange rates, and trade terms extracted from customs declarations, tax refund invoices, foreign exchange settlement vouchers, logistics manifests, and financial risk control materials are constructed into a heterogeneous graph. Each entity is a node in the graph, and the co-occurrence relationships, referencing relationships, and semantic associations between entities are the edges in the graph. The semantic similarity between entity nodes in different documents is calculated through a graph attention mechanism. Entity pairs with semantic similarity higher than a preset matching threshold are identified as associated entities, realizing cross-document entity association mapping. For entity pairs with semantic similarity lower than the preset matching threshold, a secondary matching verification is performed in conjunction with business rule constraints (such as the legal correspondence between HS codes and tax refund rates, and the logical constraint relationship between trade terms and logistics costs) to ensure the accuracy and completeness of cross-document entity association.

[0016] For example, taking a cross-border e-commerce order from an exporting company as an example, the key business entities are extracted from the seven documents uploaded by the company: the customs declaration form extracts the HS code "8471.30", the product name "laptop", and the declared total price of US$30,000; the VAT invoice extracts the product name "laptop" and the tax rate of 13%; and the foreign exchange receipt extracts the foreign exchange receipt amount of US$29,500. The system constructs the above entities into a heterogeneous graph, calculates semantic similarity through a graph attention mechanism, and determines that "laptop" in the customs declaration form and the VAT invoice (similarity 0.97) are the same product entity and establishes an association; through the legal correspondence between the HS code and the tax refund rate, the tax refund rate of 13% is matched; and through the monetary reference relationship, the customs declaration amount and the foreign exchange receipt amount are associated, thus forming a complete entity association mapping network across customs declaration, tax refund, and foreign exchange settlement.

[0017] S13: Map the semantically aligned multi-source data to the shared evidence vector space, and attach metadata tags to each evidence vector. The metadata tags include: evidence source tag (recording the document type, document number and extraction time of the evidence source document), confidence weight (calculated based on document parsing quality, OCR recognition accuracy and semantic alignment confidence, with a value range of 0-1), and regulatory basis index (associated with the corresponding legal provision number, which facilitates subsequent compliance verification and audit tracing), and generate a multi-domain unified evidence vector.

[0018] In this embodiment of the invention, the multi-domain unified evidence vector can be represented by a high-dimensional sparse vector. For example, the multi-domain unified evidence vector is set to 1024 dimensions, where the first 256 dimensions encode product attribute information, the middle 256 dimensions encode amount and tax rate information, the last 256 dimensions encode logistics and financial information, and the last 256 dimensions encode regulatory association information.

[0019] For example, in one embodiment of the present invention, taking a cross-border e-commerce order from an exporting company as an example, the company uploads a total of 7 documents, including customs declaration, commercial invoice, packing list, value-added tax invoice, export tax refund application form, foreign exchange receipt and logistics waybill. First, OCR recognition and semantic parsing were performed on the seven documents to extract key entities such as commodity code (HS code 8517.12), quantity 100 units, unit price 300 USD, total amount 30,000 USD, CIF Ho Chi Minh City, tax refund rate 13%, and currency of receipt USD. Then, cross-document semantic alignment was performed to associate the commodity details in the customs declaration with those in the invoice and automatically match the corresponding export tax refund rate. Finally, a multi-domain unified evidence vector was generated. Each evidence vector carries an evidence source label (e.g., "Source: Customs Declaration #CB20250101001, Extraction Time: 2025-01-01 10:00:00"), confidence weight (e.g., 0.95), and regulatory basis index (e.g., "Basis: General Administration of Customs Announcement No. XX of 2024").

[0020] S2: Construct a vertical category large model inference cluster, and input the multi-domain unified evidence vector into each business sub-model in the vertical category large model inference cluster. Each business sub-model completes the preliminary inference of its own domain locally and outputs the candidate inference results of its own domain. Each business sub-model is prohibited from directly outputting execution instructions to downstream businesses.

[0021] The construction of the vertical category large model inference cluster includes the following steps: S21: Based on the general large language model, construct a fine-tuning dataset for customs and foreign exchange tax instructions; Based on a general-purpose large language model (preferably an open-source large language model with no less than 7 billion parameters), we collected multi-source training corpora in the cross-border trade field, including: legal provisions (including domestic laws such as the Customs Law of China, the Regulations on Import and Export Tariffs, the Regulations on Foreign Exchange Management, and the Provisional Regulations on Value-Added Tax, as well as international rules such as WTO rules, AEO certification standards, and INCOTERMS 2020), customs announcements, tax policy documents, foreign exchange management regulations, and historical business cases (including compliant and non-compliant cases). The above corpora were cleaned, labeled, and formatted to construct a fine-tuning dataset of instructions in the customs, foreign exchange, and tax fields. This fine-tuning dataset contains a preset size (e.g., more than 500,000) of instruction-response pairs, covering business scenarios such as customs declaration, tax refund calculation, foreign exchange settlement review, logistics compliance, and financial services.

[0022] S22: Perform domain-adaptive fine-tuning training on the general-purpose large language model base; In this embodiment of the invention, the low-rank adaptation fine-tuning technique (LoRA) is used to perform domain adaptation training on the general large language model base.

[0023] For example, a low-rank adaptation matrix is ​​injected into the model's attention layer, with the rank parameter r=16 and the scaling factor α=32. Only the low-rank adaptation parameters (approximately 0.1% of the total parameters) are trained. This maintains the general capabilities of the base model while enabling the model to possess professional knowledge understanding and reasoning abilities in the customs and tax domain. The training process uses the AdamW optimizer with a learning rate of 2e-4 and three training epochs.

[0024] S23: Introduce a retrieval enhancement generation mechanism during the construction of a large-scale vertical model inference cluster; In this embodiment of the invention, a retrieval-enhanced generation (RAG) mechanism is introduced, which can use an incremental regulatory knowledge graph as an external knowledge source to dynamically retrieve relevant regulatory clauses during the reasoning process, thereby enhancing the accuracy and timeliness of the model's compliance reasoning.

[0025] S24: Construct sub-models for each business within a large vertical model inference cluster; Based on the domain-adapted large language model, the following business sub-models are constructed for the vertical large model inference cluster: Customs declaration sub-model: Receives unified evidence vectors related to customs declaration documents, completes compliance reasoning of customs declaration data locally, and outputs customs declaration reasoning candidate results, including commodity code verification results, reasonableness assessment of declared prices, and trade method matching judgment, etc. Tax refund sub-model: Receives unified evidence vectors related to tax refund invoices, completes compliance reasoning of tax refund application conditions locally, and outputs tax refund reasoning candidate results, including calculation of tax refund amount, tax refund rate matching verification, input invoice authentication status verification, etc. Foreign exchange receipt and settlement sub-model: Receives unified evidence vectors related to foreign exchange receipt and settlement vouchers, completes compliance reasoning for foreign exchange receipt and settlement operations locally, and outputs candidate results for foreign exchange receipt and settlement reasoning, including foreign exchange receipt amount matching verification, foreign exchange settlement rate reasonableness assessment, and foreign exchange receipt source compliance judgment, etc. The logistics scheduling sub-model receives unified evidence vectors related to logistics manifests, performs rationality reasoning on logistics routes and transportation plans locally, and outputs logistics reasoning candidate results, including logistics route compliance verification, transportation mode matching evaluation, and warehousing condition satisfaction. Cross-border financial risk control sub-model: Receives unified evidence vectors related to financial risk control materials, completes risk assessment reasoning for financial services locally, and outputs candidate results for financial risk control reasoning, including financing eligibility verification, letter of credit term verification, and collateral value assessment.

[0026] S25: Set inference output constraints for each business sub-model; In this embodiment of the invention, a mandatory inference output constraint is set for each business sub-model: each business sub-model is prohibited from directly outputting execution instructions to downstream businesses, and only outputs candidate inference results for its own domain.

[0027] In existing technologies, independent models in each business domain directly output execution instructions and pass them downstream. Once a delusion occurs during inference, the error will be directly propagated to the downstream business process. This invention, by forcing each sub-model to output only candidate results instead of execution instructions, centralizes the execution decision-making power in the cross-domain coupled constraint inference engine, thus blocking the cross-link propagation of single-domain delusion at the architectural level.

[0028] S3: Construct a cross-domain coupled constraint reasoning engine, input the candidate reasoning results of the local domain into the cross-domain coupled constraint reasoning engine, perform cross-domain evidence mutual verification, identify logical conflicts generated by single-domain model reasoning, feed back the generated conflict evidence vector and corresponding constraint conditions to the corresponding sub-model, drive the sub-model to re-infer and iterate until the multi-domain joint constraint conditions are met.

[0029] In this embodiment of the invention, the cross-domain evidence mutual verification process of the cross-domain coupling constraint inference engine includes: S31: Based on the multi-domain unified evidence vector, perform cross-business domain cross-verification of the candidate output results of each sub-model. Classify the detected logical conflicts by conflict type and assess their severity, and generate conflict evidence vectors and corresponding constraints. Specifically, the cosine similarity between the customs declaration value vector, the tax refund invoice vector, and the foreign exchange receipt vector is calculated. A logical conflict is identified when the similarity is below a preset threshold (e.g., 0.85). Cross-business domain consistency checks are performed on the inference candidate results output by each sub-model, including: consistency checks between the customs declaration commodity code and the tax refund commodity classification (e.g., if the customs HS code is 8517.12, the tax refund commodity classification should be "communication equipment" rather than "computer equipment"); matching checks between the customs declaration amount and the foreign exchange receipt amount (e.g., if the customs FOB amount is USD 30,000, the foreign exchange receipt amount should be within the range of USD 30,000 ± 10%); and compliance checks between the logistics route and trade terms (e.g., under CIF trade terms, logistics costs should be included in the customs declaration amount). Detected logical conflicts are classified by conflict type (data conflict, logical conflict, compliance conflict) and assessed for severity (low, medium, high, very high), generating conflict evidence vectors and corresponding constraints.

[0030] S32: Perform constraint backfeed correction. When an irreconcilable conflict is detected between the reasoning result of a certain sub-model and the evidence from other domains, the result is not discarded directly. Instead, the conflict evidence vector, constraint conditions and conflict context information are packaged into a backfeed data package and injected into the reasoning context of the corresponding sub-model to drive the sub-model to re-infer and iterate under the constraint conditions. Specifically, a maximum iteration threshold is set (e.g., 3 times). If the multi-domain joint constraint condition cannot be met even after exceeding the threshold, the business is marked as high-risk, automated execution is blocked, and the process is pushed to the manual review channel. An incremental update mechanism is adopted, where each iteration only updates the inference path related to the conflict, without re-executing the full inference, and the time taken for a single iteration is ≤2 seconds.

[0031] For example, in one embodiment of the present invention, the specific process of cross-domain evidence verification is as follows: Taking a cross-border e-commerce company exporting a batch of electronic products to Southeast Asian countries as an example. The customs declaration sub-model outputs candidate results: HS code 8517.12 (smartphone), declared unit price of US$300, and declared total price of US$30,000; the tax refund sub-model outputs candidate results: tax refund rate of 13% and tax refund amount of RMB25,350; the foreign exchange settlement sub-model outputs candidate results: foreign exchange settlement amount of US$29,500 (a difference of 1.67% from the declared amount, which is within a reasonable range). The cross-domain coupled constraint inference engine performs cross-domain evidence verification: the cosine similarity between the declared value vector and the tax refund invoice vector is calculated to be 0.92 (higher than the threshold of 0.85), indicating consistency; the cosine similarity between the declared amount vector and the foreign exchange settlement vector is calculated to be 0.88 (higher than the threshold of 0.85), indicating consistency. If the candidate result output by the foreign exchange settlement sub-model is a foreign exchange receipt amount of US$25,000 (a difference of 16.67% from the declared amount, which is outside the reasonable range), the cross-domain coupling constraint inference engine determines that there is a logical conflict. It feeds back the conflict evidence vector (declared amount of US$30,000, foreign exchange receipt amount of US$25,000, difference of 16.67%) and the constraint condition (the foreign exchange receipt amount should be within ±10% of the declared amount) to the foreign exchange settlement sub-model, driving it to re-infer and check whether there are reasonable explanations such as splitting foreign exchange receipts or exchange rate fluctuations.

[0032] S4: Through global routing control, based on the comprehensive confidence level after multi-domain joint inference, it decides whether to automatically execute the one-click business process or enter the manual review channel.

[0033] In this embodiment of the invention, the decision-making process for global routing control includes: S41, Calculate the overall confidence level C_total after multi-domain joint inference; The overall confidence level is determined by weighted calculation of the following factors: the weighted average of the inference confidence levels of each sub-model, C_model (the weight is the importance coefficient of each business domain), the cross-domain evidence verification pass rate, P_cross (the proportion of evidence pairs that pass verification to the total number of evidence pairs), and the number of constraint backfeeding iterations convergence, N_iter (the fewer the number of iterations, the higher the confidence level).

[0034] The formula for calculating the overall confidence score after multi-domain joint inference is: C_total=0.4×C_model+0.35×P_cross+0.25×(1-N_iter / N_max); where N_max is the maximum iteration threshold.

[0035] S42, when the comprehensive confidence level C_total ≥ the first threshold (preset high threshold, preferably 0.9), it is determined to be in automatic execution mode, and one-click business process is automatically triggered, including customs declaration submission, tax refund application submission, foreign exchange settlement instruction execution, logistics scheduling instruction issuance and financial service contract generation; When the second threshold (preset low threshold, preferably 0.7) ≤ C_total < the first threshold, it is determined to be in auxiliary review mode, and the reasoning results and risk warnings are pushed to the manual review interface for manual confirmation and execution. When C_total < the second threshold, it is determined to be in manual processing mode, automatic execution is blocked, a detailed risk analysis report is generated and pushed to enterprise management personnel.

[0036] S5: Through global trusted evidence storage, fine-grained evidence storage is performed on the unified evidence base of multiple domains, the candidate results output of each sub-model, cross-domain conflict information and constraint backfeeding iteration process, forming an auditable AI inference link; In this embodiment of the invention, the evidence storage process of the globally trusted evidence storage includes: Evidence base storage records the source document, extraction time, parsing method, initial confidence level and associated legal index for each evidence vector in the multi-domain unified evidence base. The evidence storage data is organized using a Merkle tree structure to ensure data integrity.

[0037] The reasoning process is documented by recording the reasoning input, reasoning process (including attention weight distribution and key reasoning steps), output results and reasoning confidence of each sub-model's candidate output, forming a complete reasoning trajectory.

[0038] The conflict and iterative evidence storage system records the conflict type, conflict evidence vector, involved business domain, and conflict severity for cross-domain conflict information; and records the number of iterations, input constraints for each iteration, output results, and convergence status for the constraint backfeeding iterative process.

[0039] The evidence storage chain is constructed by storing the above-mentioned global evidence storage information (evidence base storage, reasoning process storage, conflict and iteration storage, and all information recorded) in a hash chain structure. Each evidence storage node contains the hash value of the current evidence storage data and the hash value of the previous node, ensuring the integrity and immutability of the reasoning chain and meeting the traceability requirements of customs, taxation, and foreign exchange supervision audits.

[0040] For example, in one embodiment of the present invention, an exporting company submits a cross-border e-commerce order through a cross-border trade intelligent service platform, involving the export of 100 smartphones to Vietnam. The company uploads seven documents: customs declaration, commercial invoice, packing list, VAT invoice, export tax refund application form, foreign exchange receipt, and logistics waybill. First, the seven documents are parsed using a multi-domain unified evidence base to generate a multi-domain unified evidence vector. Then, the evidence vector is input into five business sub-models, each of which completes its own domain reasoning locally and outputs candidate results. The cross-domain coupled constraint reasoning engine performs cross-domain evidence mutual verification and finds that the customs declaration amount matches the foreign exchange receipt amount (difference of 1.67%), the commodity code matches the tax refund rate (HS code 8517.12 corresponds to a tax refund rate of 13%), the logistics route is compliant (CIF Ho Chi Minh City), and the financial risk control assessment is low risk; all verifications pass. The global routing control calculates a comprehensive confidence level of 0.95 (higher than the 0.9 threshold), and determines it to be in automatic execution mode. The system provides one-click output of: customs declaration documents (automatically submitted to the customs "single window"), tax refund application (automatically calculates the tax refund amount of RMB 25,350 and submits the tax refund application), foreign exchange settlement instructions (automatically generates foreign exchange settlement instructions), logistics scheduling plan (automatically matches the sea freight to Ho Chi Minh City plan, with an estimated arrival time of 7 days), and cross-border financial pre-assessment (automatically matches export credit insurance products). Globally reliable evidence storage provides fine-grained evidence storage for the entire reasoning process, generating an auditable AI reasoning chain. The entire end-to-end processing time is reduced from the traditional 3-5 working days to within 30 minutes, significantly improving the accuracy of declarations compared to manual review and drastically reducing the rejection rate.

[0041] Furthermore, in this embodiment of the invention, the intelligent integration method for the entire cross-border customs, foreign exchange, and taxation chain based on a large model also includes the construction and updating of an incremental regulatory knowledge graph, including: Collect legal provisions and policy documents from official platforms of cross-border trade-related regulatory agencies; In this embodiment of the invention, legal provisions and policy documents can be automatically collected from the official websites of customs authorities of various countries (such as the General Administration of Customs of China, CBP of the United States, and EU Customs), announcements from tax authorities (such as the State Taxation Administration of China and the IRS), documents from foreign exchange management agencies (such as the State Administration of Foreign Exchange and FATF), and trade rules issued by international organizations (such as WCO and ICC). The collection frequency can be once a day to ensure the timeliness of the regulatory information.

[0042] Entity recognition and relation extraction are performed on the collected legal texts to construct a legal knowledge graph; In this embodiment of the invention, information extraction technology based on a large language model is employed. The entity types include: legal provisions, applicable conditions, scope of application, effective date, expiration date, issuing authority, related regulations, etc. The relationship types include: applicable relationship, revision relationship, substitution relationship, conflict relationship, etc.

[0043] An incremental update mechanism is adopted. When a new regulation is issued or an old regulation is revised, the corresponding nodes and relationships in the knowledge graph are automatically updated, and the updated regulatory evidence vector is synchronized to the multi-domain unified evidence base, so as to realize the automatic sharing of new knowledge among all business sub-models. In this embodiment of the invention, since all business sub-models share the same evidence base, regulatory updates take effect globally at once, eliminating the need to retrain and optimize each sub-model individually, thus significantly reducing the cost of multi-model iteration and maintenance.

[0044] Corresponding to the large-model-based intelligent integration method for the entire cross-border customs, foreign exchange, and taxation chain described in the above embodiments, Figure 2 This diagram illustrates the structural block diagram of a large-scale model-based intelligent integrated system for cross-border customs and foreign exchange transactions, provided in an embodiment of this application. For ease of explanation, only the parts relevant to the embodiments of this application are shown. The system includes: The multi-domain unified evidence base construction module is used to construct a multi-domain unified evidence base, uniformly mapping cross-border trade multi-source business data and regulatory provisions to a shared evidence vector space, generating multi-domain unified evidence vectors carrying evidence source labels, confidence weights, and regulatory basis indexes; the cross-border trade multi-source business data includes customs declarations, tax refund invoices, foreign exchange settlement vouchers, logistics manifests, and financial risk control materials; the vertical large-scale model inference cluster construction module is used to construct a vertical large-scale model inference cluster, inputting the multi-domain unified evidence vectors into each business sub-model in the vertical large-scale model inference cluster, each business sub-model completing preliminary inference in its own domain locally and outputting candidate inference results for its own domain; each business sub-model is prohibited from directly outputting execution instructions to downstream businesses. The cross-domain coupling constraint reasoning engine construction module is used to build a cross-domain coupling constraint reasoning engine. The candidate reasoning results of the local domain are input into the cross-domain coupling constraint reasoning engine to perform cross-domain evidence mutual verification, identify logical conflicts generated by single-domain model reasoning, and feed back the generated conflict evidence vector and corresponding constraint conditions to the corresponding sub-model to drive the sub-model to re-infer and iterate until the multi-domain joint constraint conditions are met. The global routing control module is used to determine whether to automatically execute a one-click business process or enter the manual review channel based on the comprehensive confidence level after multi-domain joint inference through global routing control.

[0045] The Global Trusted Evidence Storage Module is used to perform fine-grained evidence storage of the multi-domain unified evidence base, the candidate results output of each sub-model, cross-domain conflict information, and the constraint backfeeding iteration process through global trusted evidence storage, forming an auditable AI inference link.

[0046] Furthermore, the system also includes: The incremental regulatory knowledge graph construction and updating module is used to collect regulatory provisions and policy documents from official platforms of cross-border trade-related regulatory agencies; perform entity recognition and relationship extraction on the collected regulatory texts to construct a knowledge graph containing regulatory provisions, applicable conditions, scope of application, effective date, and expiration date; adopt an incremental update mechanism, when a new regulation is detected or an old regulation is revised, the corresponding nodes and relationships in the knowledge graph are automatically updated, and the updated regulatory evidence vectors are synchronized to a multi-domain unified evidence base to achieve automatic sharing of new knowledge among all business sub-models.

[0047] Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by controlling related hardware through program instructions. The program can be stored in a computer-readable storage medium, such as ROM, RAM, disk, optical disk, etc.

[0048] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for intelligent integration of customs, foreign exchange, and taxation across the entire cross-border supply chain based on a large model, characterized in that, The method includes: A unified evidence base is constructed across multiple domains, mapping cross-border trade multi-source business data and regulatory provisions to a shared evidence vector space, generating a unified evidence vector across multiple domains carrying evidence source labels, confidence weights, and regulatory basis indexes; the cross-border trade multi-source business data includes customs declarations, tax refund invoices, foreign exchange settlement vouchers, logistics manifests, and financial risk control materials. A vertical category large model inference cluster is constructed. The multi-domain unified evidence vector is input into each business sub-model in the vertical category large model inference cluster. Each business sub-model completes the preliminary inference of its own domain locally and outputs the inference candidate results of its own domain. Each business sub-model is prohibited from directly outputting execution instructions to downstream businesses. Construct a cross-domain coupled constraint reasoning engine, input the candidate reasoning results of the local domain into the cross-domain coupled constraint reasoning engine, perform cross-domain evidence mutual verification, identify logical conflicts generated by single-domain model reasoning, feed back the generated conflict evidence vector and corresponding constraint conditions to the corresponding sub-model, drive the sub-model to re-infer and iterate until the multi-domain joint constraint conditions are met. Through global routing control, based on the comprehensive confidence level after multi-domain joint inference, it is determined whether to automatically execute the one-click business process or enter the manual review channel; By using global trusted evidence storage, fine-grained evidence storage is performed on the unified evidence base across multiple domains, the candidate results output of each sub-model, cross-domain conflict information, and the constraint backfeeding iteration process, forming an auditable AI inference link.

2. The intelligent integration method for the entire cross-border customs, foreign exchange, and tax chain based on a large model as described in claim 1, characterized in that, The method also includes the construction and updating of an incremental regulatory knowledge graph. We collect legal provisions and policy documents from official platforms of cross-border trade regulatory agencies; we perform entity recognition and relationship extraction on the collected legal texts to construct a knowledge graph containing legal provisions, applicable conditions, scope of application, effective date, and expiration date; we adopt an incremental update mechanism to automatically update the corresponding nodes and relationships in the knowledge graph when a new regulation is detected or an old regulation is revised, and synchronize the updated legal evidence vector to a multi-domain unified evidence base to achieve automatic sharing of new knowledge among all business sub-models.

3. The intelligent integration method for the entire cross-border customs, foreign exchange, and tax chain based on a large model as described in claim 1, characterized in that, The construction of a multi-domain unified evidence base includes the following processing steps: Multimodal semantic parsing is performed on customs declaration documents, tax refund invoices, foreign exchange settlement vouchers, logistics manifests, and financial risk control materials to extract key business entity information from each document; Perform cross-document semantic alignment on the extracted key business entity information, and establish a mapping relationship between commodity codes in customs declaration documents and tax rate information in tax refund invoices, and currency exchange rate information in foreign exchange settlement vouchers. The semantically aligned multi-source data is mapped to a shared evidence vector space, and metadata tags are attached to each evidence vector. The metadata tags include: evidence source tag, confidence weight, and regulatory basis index, generating a unified evidence vector across multiple domains.

4. The intelligent integration method for the entire cross-border customs, foreign exchange, and taxation chain based on a large model as described in claim 1, characterized in that, The construction of the vertical category large model inference cluster includes the following steps: Construct a fine-tuning dataset of instructions in the customs and foreign exchange tax field; the fine-tuning dataset contains instruction-response pairs of a preset size, including customs declaration, tax refund calculation, foreign exchange settlement review, logistics compliance and financial service business scenarios; The general-purpose large language model base is subjected to domain-adaptive fine-tuning training; A retrieval enhancement generation mechanism is introduced during the construction of a large-scale vertical model inference cluster; Construct various business sub-models for the vertical category large model inference cluster; the various business sub-models include customs declaration sub-model, tax refund sub-model, foreign exchange settlement sub-model, logistics scheduling sub-model and cross-border financial risk control sub-model; Set inference output constraints for each business sub-model; each business sub-model is prohibited from directly outputting execution instructions to downstream businesses, and only outputs candidate inference results for its own domain.

5. The intelligent integration method for the entire cross-border customs, foreign exchange, and tax chain based on a large model as described in claim 1, characterized in that, The cross-domain evidence verification process of the cross-domain coupled constraint inference engine includes: Based on the multi-domain unified evidence vector, cross-business domain cross-verification is performed on the candidate output results of each sub-model; the detected logical conflicts are classified by conflict type and severity assessment, and conflict evidence vectors and corresponding constraints are generated. Constraint backfeeding correction is performed. When an irreconcilable conflict is detected between the inference result of a certain sub-model and the evidence from other domains, the conflict evidence vector, constraint conditions and conflict context information are packaged into a backfeeding data package and injected into the inference context of the corresponding sub-model to drive the sub-model to re-infer and iterate under the constraint conditions.

6. The intelligent integration method for the entire cross-border customs, foreign exchange, and tax chain based on a large model as described in claim 1, characterized in that, The decision-making process for global routing control includes: Calculate the overall confidence score C_total after multi-domain joint inference; the overall confidence score is determined by weighted calculation of the following factors: the weighted average of the inference confidence scores of each sub-model C_model, the cross-domain evidence mutual verification pass rate P_cross, and the number of constraint backfeeding iteration convergences N_iter; When the overall confidence level C_total is greater than or equal to the first threshold, the system is set to automatic execution mode, automatically triggering a one-click business process, including customs declaration submission, tax refund application submission, foreign exchange settlement instruction execution, logistics dispatch instruction issuance, and financial service contract generation. When the second threshold is less than or equal to C_total, the system is set to auxiliary review mode, pushing the reasoning results and risk warnings to the manual review interface for manual confirmation and execution. When C_total is less than the second threshold, the system is set to manual processing mode, blocking automatic execution, generating a detailed risk analysis report, and pushing it to enterprise management personnel.

7. The intelligent integration method for the entire cross-border customs, foreign exchange, and tax chain based on a large model as described in claim 6, characterized in that, The formula for calculating the overall confidence score after multi-domain joint inference is as follows: C_total=0.4×C_model+0.35×P_cross+0.25×(1-N_iter / N_max); Where N_max is the threshold for the maximum number of iterations.

8. The intelligent integration method for the entire cross-border customs, foreign exchange, and tax chain based on a large model as described in claim 1, characterized in that, The evidence storage process of the globally trusted evidence storage includes: For each evidence vector in the multi-domain unified evidence base, record its source document, extraction time, parsing method, initial confidence level, and associated legal index; For each sub-model's candidate output, record its inference input, inference process, output result, and inference confidence. For cross-domain conflict information, record the conflict type, conflict evidence vector, involved business domain, and conflict severity; for the constraint backfeeding iteration process, record the number of iterations, input constraints for each iteration, output results, and convergence status. The aforementioned global evidence storage information is stored using a hash chain structure.

9. The intelligent integration method for the entire cross-border customs and foreign exchange tax chain based on a large model as described in any one of claims 1 to 8, characterized in that, The method also includes the construction and updating of an incremental regulatory knowledge graph, including: Collect legal provisions and policy documents from official platforms of cross-border trade-related regulatory agencies; The collected regulatory texts are subjected to entity recognition and relationship extraction to construct a regulatory knowledge graph. The entity types include: regulatory provisions, applicable conditions, scope of application, effective date, expiration date, issuing authority, and related regulations. The relationship types include: applicable relationship, revision relationship, substitution relationship, and conflict relationship. An incremental update mechanism is adopted. When a new regulation is issued or an old regulation is revised, the corresponding nodes and relationships in the knowledge graph are automatically updated, and the updated regulatory evidence vector is synchronized to the multi-domain unified evidence base, so as to realize the automatic sharing of new knowledge among all business sub-models.

10. A large-scale model-based intelligent integrated system for the entire cross-border customs, foreign exchange, and tax chain, characterized in that, The system includes: The multi-domain unified evidence base construction module is used to construct a multi-domain unified evidence base, uniformly mapping cross-border trade multi-source business data and regulatory provisions to a shared evidence vector space, generating multi-domain unified evidence vectors carrying evidence source labels, confidence weights, and regulatory basis indexes; the cross-border trade multi-source business data includes customs declarations, tax refund invoices, foreign exchange settlement vouchers, logistics manifests, and financial risk control materials; the vertical large-scale model inference cluster construction module is used to construct a vertical large-scale model inference cluster, inputting the multi-domain unified evidence vectors into each business sub-model in the vertical large-scale model inference cluster, each business sub-model completing preliminary inference in its own domain locally and outputting candidate inference results for its own domain; each business sub-model is prohibited from directly outputting execution instructions to downstream businesses. The cross-domain coupling constraint reasoning engine construction module is used to build a cross-domain coupling constraint reasoning engine. The candidate reasoning results of the local domain are input into the cross-domain coupling constraint reasoning engine to perform cross-domain evidence mutual verification, identify logical conflicts generated by single-domain model reasoning, and feed back the generated conflict evidence vector and corresponding constraint conditions to the corresponding sub-model to drive the sub-model to re-infer and iterate until the multi-domain joint constraint conditions are met. The global routing control module is used to determine whether to automatically execute a one-click business process or enter the manual review channel based on the comprehensive confidence level after multi-domain joint inference through global routing control. The Global Trusted Evidence Storage Module is used to perform fine-grained evidence storage of the multi-domain unified evidence base, the candidate results output of each sub-model, cross-domain conflict information, and the constraint backfeeding iteration process through global trusted evidence storage, forming an auditable AI inference link.