CN109583826A - Declare document generating method, device, server and readable storage medium storing program for executing - Google Patents

Declare document generating method, device, server and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109583826A
CN109583826A CN201811141611.2A CN201811141611A CN109583826A CN 109583826 A CN109583826 A CN 109583826A CN 201811141611 A CN201811141611 A CN 201811141611A CN 109583826 A CN109583826 A CN 109583826A
Authority
CN
China
Prior art keywords
declared
declare
transaction
element table
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811141611.2A
Other languages
Chinese (zh)
Other versions
CN109583826B (en
Inventor
唐强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811141611.2A priority Critical patent/CN109583826B/en
Publication of CN109583826A publication Critical patent/CN109583826A/en
Application granted granted Critical
Publication of CN109583826B publication Critical patent/CN109583826B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention discloses one kind and declares document generating method, device, server and readable storage medium storing program for executing, it is declared in document generating method described, when carrying out cross-border exchange payment business by target payment mechanism, it generates and corresponding declares element table, type is declared according to target, determine to declare that type is corresponding to declare information in element table with the target in previous workaday N number of declare, described declare includes amount declared in information;Information is declared according to described, and declares the corresponding default file format of type with the target, is generated target and is declared file.Above scheme is participated in without artificial, and realizing reduces cost of labor, improves the effect for declaring efficiency.

Description

Declare document generating method, device, server and readable storage medium storing program for executing
Technical field
Document method, device, server are declared the present invention relates to Internet technical field more particularly to one kind and readable are deposited Storage media.
Background technique
Need to receive supervision and the pipe of State Administration of Foreign Exchange when the cross-border exchange payment business of Third-party payment institutions conduct Reason, and associated traffic data is reported and submitted by bank in time by regulation.Currently, passing through manual report when progress international revenue and expenditure are declared Realization is sent, but reports and submits the data faced various by hand, and inefficiency.
Summary of the invention
This specification embodiment provides and one kind declares document generating method, device, server and computer-readable storage Medium.
In a first aspect, this specification embodiment, which provides one kind, declares document generating method, comprising:
It is corresponding N number of to obtain the N transaction that previous working day carries out cross-border exchange payment business by target payment mechanism Element table is declared, N is positive integer;
Declare type according to target, it is described it is N number of declare determine to declare type with the target in element table it is corresponding Information is declared, described declare includes amount declared in information;
Information is declared according to described, and declares the corresponding default file format of type with the target, generates target Shen Message part.
Second aspect, this specification embodiment provide one kind and declare file creating apparatus, comprising:
Module is obtained, the N pen of cross-border exchange payment business is carried out for obtaining previous working day by target payment mechanism Trade it is corresponding it is N number of declare element table, N is positive integer;
Processing module is determined and the target Shen for declaring type according to target in N number of declare in element table Report type is corresponding to declare information, and described declare includes amount declared in information;
File generating module is declared, for declaring information according to, and with the target to declare type corresponding pre- If file format, generates target and declare file.
The third aspect, this specification embodiment provide a kind of server, including memory, processor and are stored in memory The step of computer program that is upper and can running on a processor, the processor executes any of the above-described the method.
Fourth aspect, this specification embodiment provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence, when which is executed by processor the step of realization any of the above-described the method.
This specification embodiment has the beneficial effect that:
In the application documents generation method that this specification embodiment provides, pass through target branch by obtaining previous working day Pay mechanism carry out cross-border exchange payment business N transaction it is corresponding it is N number of declare element table, type is declared according to target, in institute It states N number of declare and determines to declare that type is corresponding to declare information in element table with the target, described declare includes Shen in information Report the amount of money;Information is declared according to described, and declares the corresponding default file format of type with the target, is generated target and is declared File.In above scheme, element table is declared by corresponding with cross-border exchange payment business, determines that target is declared needed for file Declare information, such as concentrate when declaring, determine to concentrate that declares to declare information in declaring element table, letter will be declared File is declared in the default file format spanning set that breath is declared according to concentration, the scheme in this specification embodiment is without artificial ginseng With realizing reduces cost of labor, improves and declares the effect of efficiency.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of flow chart for declaring document generating method that this specification embodiment first aspect provides;
Fig. 2 is the schematic diagram for declaring file creating apparatus that this specification embodiment second aspect provides;
Fig. 3 is the schematic diagram for the server that this specification embodiment third aspect provides.
Specific embodiment
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to this specification embodiment Technical solution be described in detail, it should be understood that the specific features in this specification embodiment and embodiment are to this explanation The detailed description of book embodiment technical solution, rather than the restriction to this specification technical solution, in the absence of conflict, Technical characteristic in this specification embodiment and embodiment can be combined with each other.
In a first aspect, this specification embodiment, which provides one kind, declares document generating method, as shown in Figure 1, being this specification The flow chart for the graph model appraisal procedure that embodiment provides, method includes the following steps:
Step S11: the N transaction pair that previous working day carries out cross-border exchange payment business by target payment mechanism is obtained Answer it is N number of declare element table, N is positive integer;
In this specification embodiment, target payment mechanism can be Third-party payment mechanism, such as Alipay, wealth pay logical branch Pay mechanism.User can carry out cross-border exchange payment industry by the payment application for the Third-party payment mechanism installed in client Business.It should be understood that when user carries out an exchange payment transaction by target payment mechanism, the transaction system of target payment mechanism System can obtain the managing detailed catalogue of the transaction, and the managing detailed catalogue of transaction can be obtained automatically by transaction system, can also be led to The input for crossing detection user operates to obtain.For example, when user is the registration user of target payment mechanism, when the user passes through When target payment mechanism carries out foreign exchange transaction, by obtaining the basic registration information of user as the payment in foreign exchange transaction detail People's information, by contents such as the payee names of detection user's input as the receiver information in foreign exchange transaction detail.
In this specification embodiment, for each transaction, it can be generated and corresponding with the transaction declare element table. Declaring content included in element table can be configured according to actual needs, and declaring may include generation in element table and declare Information required for file, for example, declaring can wrap in element table containing transaction amount, sender information, receiver information, friendship The easily contents such as coding.
It should be understood that target payment mechanism needs the first job day after the practical externally day of bank settlement, complete Work is reported and submitted to practical external bank settlement day.That is, it needs to carry out cross-border foreign exchange by target payment mechanism to previous working day The N transaction of payment transaction is reported and submitted, therefore, it is necessary to obtain it is corresponding with N transaction it is N number of declare element table, N is positive whole Number.
Step S12: declaring type according to target, determines to declare class with the target in element table in N number of declare Type is corresponding to declare information, and described declare includes amount declared in information;
In this specification embodiment, target declare type may include concentrate declare, restore declare, forward direction business declare, Reverse business is declared.Different declares type, declares and declares information required for file and be also likely to be present difference, all kinds of to declare letter It include amount declared in breath.Declaring information can directly or indirectly obtain in declaring element table, such as declare in information and wrap Containing receiver information, then receiver information can be directly extracted in declaring element table, declaring includes to summarize gold in information Volume then can be added up to obtain and summarize the amount of money in multiple transaction amount for declaring determining more transactions in element table.
Step S13: declaring information according to described, and declares the corresponding default file format of type with the target, raw File is declared at target.
In this specification embodiment, file is declared for every kind, can be corresponding with a default file format, presets text Part format may include declaring the line number for including, columns, declaring information position etc. in file.Default file format can be in advance The file template set, the information correspondence of declaring that will acquire are filled into template, can be obtained target and declare file.
Optionally, the method also includes: according to transaction details of every transaction in the N transaction and preset Element sheet format is declared, generation is corresponding with every transaction to declare element table, and total generation is N number of to declare element table.
It is default to declare element sheet format and be configured according to actual needs in this specification embodiment, in a reality It applies in example, default element table of declaring is as shown in table 1, when often being carried on a deal by target transaction mechanism, wants according to declaring The structure of plain table determines required content in transaction details, and determining fills will be declared to declaring in element table The content polishing of element table.In this specification embodiment, every transaction corresponds to one and declares element table.Certainly, element is declared The structure of table can also be other forms, here without limitation.
Table 1
Column name Type Length Precision Scale It whether is empty Default value Description
is_refund varchar(1) 1 N Whether reimbursement
trade_code varchar(256) 256 Y Transaction coding
remitter_account varchar(256) 256 Y Remitter's account
remittee_name varchar(256) 256 Y Payee's name
... ... ... ... ... ... ...
Optionally, described that type is declared according to target when the target is declared type and declared to concentrate, described N number of It declares and determines to declare that type is corresponding to declare information in element table with the target, comprising: determine and described N number of declare element table Each of declare transaction amount in element table;The transaction amount each declared in element table is subjected to netting remittance Always, netting result is obtained as concentration amount declared.
It should be understood that it is summarize declaring by the previous workaday All Activity amount of money that concentration, which is declared, therefore, according to N number of element table of declaring determines every transaction amount of money in N transaction.In one embodiment, determine that transaction amount can declared It inquires transaction amount field in element table to obtain, in addition, friendship can be inquired in declaring element table according to the difference of trade property Easy property field determines that the transaction is payment transaction or reimbursement transaction.It, can be by inquiring is_ by taking above-mentioned table 1 as an example Refund field come determine payment transaction or reimbursement transaction, if is_refund field be Y, be shown to be reimbursement transaction, If is_refund field is N, it is shown to be payment transaction.The N number of transaction amount inquired is rolled according to trade property Difference summarizes, and obtains one and summarizes the amount of money, as concentration amount declared.
In one embodiment, previous working day has occurred 3 transactions, i.e. N is 3, and corresponding 3 according to this 3 transaction Element table is declared, determines that this 3 transaction is respectively to pay 100 yuan, payment 50 yuan, 15 yuan of reimbursement, the then total gold obtained after netting Volume is 135 yuan, by 135 yuan as concentration amount declared.
In addition, declaring information can also include other information, such as trade coding, currency type, business of collecting in addition to amount declared Object type etc., these are declared information and can be determined according to the corresponding default file format of file is declared, that is, declare text Which information part needs, and is just searched in declaring element table according to the corresponding field of these information.
Optionally, described that type is declared according to target when the target is declared type and declared for reduction, described N number of It declares and determines to declare that type is corresponding to declare information in element table with the target, comprising: determine and described N number of declare element table Each of declare transaction amount in element table;According to each transaction coding declared in element table, the transaction is encoded into phase The transaction amount that the same and described transaction amount is less than first threshold carries out netting and summarizes, and obtains more than one netting as a result, making Amount declared is restored for the first kind declared that restores;The transaction amount is greater than or equal to one of the first threshold Above transaction amount restores amount declared as second class declared that restores.
It should be understood that reduction is declared and declares with concentration corresponding, reduction is declared and can be understood as that amount declared will be concentrated Corresponding detail transaction restores.Since the characteristics of carrying out cross-border exchange payment business by target payment mechanism, is high for small amount Frequently, if all reporting and submitting each transaction detail to regulatory agency, the system of regulatory agency can face huge performance challenges, because This, the transaction that the amount of money is less than threshold value can be summarized and be merged into one and report and submit.
In this specification embodiment, N can be inquired and declare the transaction amount field each declared in element table in element table, Determine the transaction amount of every transaction.It is less than the penny ante of first threshold for transaction amount, further determines that these small amounts The transaction of transaction encodes, and transaction coding can also declare the transaction code field in element table by inquiry to determine.It can lead to It crosses transaction coding to classify to these penny antes, i.e., transaction is encoded into identical transaction as a kind of transaction, for each Class transaction, is payment or reimbursement further according to trade property, summarizes to transaction amount information.In this way, every a kind of transaction summarizes Summarize the amount of money to one, these summarize the amount of money as the first kind and restore amount declared, and the first kind restores amount declared and needs with mesh The name of structure is marked to be declared.It should be understood that transaction coding can be used to distinguish payment purposes, such as transaction coding 122030 represent the trade of goods, and transaction coding 223022 represents individual and studies abroad expenditure etc..First threshold can be according to actual needs It is set, here without limitation.
In one embodiment, previous working day target payment mechanism has carried out 4 transactions, N 4, according to 4 transactions 4 are declared element table, determine that the transaction amount of 4 transactions is respectively 5001USD, 5002USD, 50USD, 45USD.If the One threshold value is 5000USD, that one amount of money for being less than first threshold is 50USD, 45USD, further determines that 50USD is corresponding and declares The corresponding transaction coding declared in element table of transaction coding and 45USD in element table, if transaction coding is A, This two transaction is then aggregated into one, if the trade property of this two transaction is expenditure transaction, summarized results is 95USD, the transaction after summarizing is encoded to A, and is declared with the name of target mechanism.
In addition, the transaction amount that transaction amount is greater than or equal to first threshold is restored into amount declared as the second class, the Two classes reduction amount declared needs to be declared with one's own name.
Optionally, described to declare information according to, and the corresponding default file format of type is declared with the target, Generate target declare file, comprising: according to the first kind restore amount declared and with the target payment mechanism name into The first default file format that row reduction is declared generates first kind reduction and declares information;Gold is declared according to second class reduction Volume and the second default file format for declaring of reduction is carried out with user's name, generates the reduction of the second class and declares information;Wherein, Information is declared in the first kind reduction and second class reduction declares information composition reduction and declares file.
In this specification embodiment, the managing detailed catalogue of each transaction can not be indicated after summarizing due to more transactions, Amount declared is restored for the first kind, needs to declare the information after summarizing with the name of target payment mechanism.With target Payment mechanism name carries out the information that the information for including in the first default file format that reduction is declared is target payment mechanism.? In one embodiment, target payment mechanism is Alipay, then the account for including in the first default file then extends this as Alipay Account, sender information extends this as Alipay.Amount declared is restored for the second class, then is personally declared, the The account that two default files include is the account of user, and sender information is address name.It should be understood that the first default file Format can be the format for filling target payment mechanism information, and the second default file format can be the lattice of non-fill substance Formula is filled after obtaining corresponding content by declaring element table.
Continue to use the example that transaction amount above is respectively 5001USD, 5002USD, 50USD, 45USD, the first default file Comprising requestee, the amount of money, transaction coding in format and the second default file format, reduction is declared file and is believed including two classes Breath, one kind are the summary informations that target payment mechanism is declared, and one kind is the personal managing detailed catalogue declared, and are with target payment mechanism Alipay, for the transaction coding of four transactions is A, it is as follows that file is declared in the reduction of generation:
Zhang San, 5001USD, transaction coding A;
Li Si, 5002USD, transaction coding A;
Alipay, 955002USD, transaction coding A.
Wherein, Zhang San and the corresponding information of Li Si are that personal name is declared, and the corresponding information of Alipay is that target pays machine Structure name is declared.
Optionally, described that type is declared according to target when the target is declared type and declared for positive business, described N number of declare determines to declare that type is corresponding to declare information with the target in element table, comprising: N number of declare element described Determine that positive trade corresponding K declares element table in table, wherein forward direction transaction is payment transaction, and K is positive integer;It determines A transaction amount declaring each of element table and declaring in element table of the K;According to the transaction each declared in element table The transaction is encoded the identical and described transaction amount and summarized less than the transaction amount progress netting of second threshold, obtained by coding More than one netting is as a result, the first kind forward direction business amount declared declared as the positive business;By the trade gold The second class that the more than one transaction amount that volume is greater than or equal to the second threshold is declared as the positive business is positive Business amount declared.
In this specification embodiment, can be determined by declaring in element table trade property field the transaction whether be Forward direction transaction.It is exemplified by Table 1, positive transaction can be identified by is_refund field, when is_refund field is N, Indicate that transaction is payment transaction, i.e., positive transaction.Positive business to declare process similar with the process declared of reduction, i.e., in forward direction The transaction that transaction amount is less than second threshold is fished in transaction, one is aggregated into according to transaction coding, with target payment mechanism Name is declared, and the transaction that transaction amount is greater than or equal to second threshold is declared with one's own name chief editor.In addition, in addition to Summarized according to transaction coding, can also be summarized according to other parameters, in one embodiment, can be compiled according to transaction Code and currency type are summarized, i.e., transaction are encoded the identical transaction amount of identical and currency type and summarized.
In one embodiment, may include the following contents in the positive default file format for declaring file: business line number, Business batch number, transaction journal number, remittance bank, payment/collection days, business object of collecting type (C: to public family;D: right Private Chinese residents;F: non-resident to private China;), organization mechanism code (when personal, can be empty), personalized identity documents number (mechanism When, can be empty), personal document type (when mechanism, can be empty), payee's name, currency type, the amount of money, clearing form (remittance: DH;Ticket It converges: PH;Mail transfer: XH), account of collecting, paying party title, paying party country origin, paying party Country Code, transaction coding, trade it is attached Speech, declarer, telephone number, date of declaration.
Optionally, described that type is declared according to target when it is that reverse business is declared that the target, which declares type, described N number of declare determines to declare that type is corresponding to declare information with the target in element table, comprising: N number of declare element described Determine that corresponding S of reverse a swap is declared element table in table, wherein reverse a swap is reimbursement transaction, and S is positive integer;It determines A transaction amount declaring each of element table and declaring in element table of the S;According to the transaction each declared in element table The transaction is encoded the identical and described transaction amount and summarized less than the transaction amount progress netting of third threshold value, obtained by coding More than one netting is as a result, the reverse business amount declared of the first kind declared as the reverse business;By the trade gold The second class that the more than one transaction amount that volume is greater than or equal to the third threshold value is declared as the reverse business is reverse Business amount declared.
In this specification embodiment, can be determined by declaring in element table trade property field the transaction whether be Reverse a swap.It is exemplified by Table 1, reverse a swap can be identified by is_refund field, when is_refund field is Y, Indicate that transaction is that reimbursement is traded, i.e. reverse a swap.Reverse business to declare process similar with the process that above-mentioned forward direction business is declared, Here it just repeats no more.
Second aspect, based on the same inventive concept, this specification embodiment provide one kind and declare file creating apparatus, please join Examine Fig. 2, comprising:
Module 21 is obtained, the N of cross-border exchange payment business is carried out for obtaining previous working day by target payment mechanism Transaction it is corresponding it is N number of declare element table, N is positive integer;
Processing module 22 is determined and the target for declaring type according to target in N number of declare in element table Declare that type is corresponding to declare information, described declare includes amount declared in information;
File generating module 23 is declared, for declaring information according to, and with the target to declare type corresponding Default file format generates target and declares file.
In a kind of optional implementation, described device further include:
Element table generation module 24 is declared, for the transaction details according to every transaction in the N transaction, and it is pre- If declare element sheet format, generate it is corresponding with every transaction declares element table, total generation is N number of to declare element table.
In a kind of optional implementation, when the target is declared type and declared to concentrate, processing module 22 is used for:
Determine that described N number of each of element table of declaring declares transaction amount in element table;
The transaction amount each declared in element table is carried out netting to summarize, obtains netting result as concentration Amount declared.
In a kind of optional implementation, when the target is declared type and declared for reduction, processing module 22 is used for:
Determine that described N number of each of element table of declaring declares transaction amount in element table;
The transaction is encoded the identical and described transaction amount less than the by the transaction coding declared in element table according to each The transaction amount of one threshold value carries out netting and summarizes, and obtains more than one netting as a result, as the first kind for restoring and declaring Restore amount declared;
The transaction amount is greater than or equal to the more than one transaction amount of the first threshold as the reduction The the second class reduction amount declared declared.
In a kind of optional implementation, when the target is declared type and declared for positive business, processing module 22 is used In:
Determine that positive trade corresponding K declares element table in element table in N number of declare, wherein forward direction transaction For payment transaction, K is positive integer;
Determine a transaction amount declaring each of element table and declaring in element table of the K;
According to the transaction coding each declared in element table, it is small that the transaction is encoded into the identical and described transaction amount Netting is carried out in the transaction amount of second threshold to summarize, and obtains more than one netting as a result, declaring as the positive business First kind forward direction business amount declared;
For the transaction amount to be greater than or equal to the more than one transaction amount of the second threshold as described in The second class forward direction business amount declared that positive business is declared.
In a kind of optional implementation, when it is that reverse business is declared that the target, which declares type, processing module 22 is used In:
Determine that corresponding S of reverse a swap is declared element table in element table in N number of declare, wherein reverse a swap For reimbursement transaction, S is positive integer;
Determine a transaction amount declaring each of element table and declaring in element table of the S;
According to the transaction coding each declared in element table, it is small that the transaction is encoded into the identical and described transaction amount Netting is carried out in the transaction amount of third threshold value to summarize, and obtains more than one netting as a result, declaring as the reverse business The reverse business amount declared of the first kind;
The transaction amount is greater than or equal to the more than one transaction amount of the third threshold value as described reverse The reverse business amount declared of the second class that business is declared.
In a kind of optional implementation, the file generating module 23 of declaring is used for:
Amount declared is restored according to the first kind and the first default file lattice that reduction is declared are carried out with mechanism name Formula generates first kind reduction and declares information;
Amount declared is restored according to second class and the second default file lattice that reduction is declared are carried out with user's name Formula generates the reduction of the second class and declares information;
Wherein, information is declared in the first kind reduction and second class reduction declares information composition reduction and declares text Part.
About above-mentioned apparatus, wherein the concrete function of modules declares file life provided in an embodiment of the present invention At being described in detail in the embodiment of method, no detailed explanation will be given here.
The third aspect, based on inventive concept same as document generating method is declared in previous embodiment, the present invention is also mentioned For a kind of server, as shown in figure 3, including memory 404, processor 402 and being stored on memory 404 and can be in processor The computer program run on 402, the processor 402 is realized when executing described program described previously declares document generating method Either method the step of.
Wherein, in Fig. 3, bus architecture (is represented) with bus 400, and bus 400 may include any number of interconnection Bus and bridge, bus 400 will include the one or more processors represented by processor 402 and what memory 404 represented deposits The various circuits of reservoir link together.Bus 400 can also will peripheral equipment, voltage-stablizer and management circuit etc. it Various other circuits of class link together, and these are all it is known in the art, therefore, herein no longer carry out it into one Step description.Bus interface 406 provides interface between bus 400 and receiver 401 and transmitter 403.Receiver 401 and transmission Device 403 can be the same element, i.e. transceiver, provide the unit for communicating over a transmission medium with various other devices. Processor 402 is responsible for management bus 400 and common processing, and memory 404 can be used for storage processor 402 and execute Used data when operation.
Fourth aspect, based on, based on the inventive concept for declaring document generating method, the present invention also mentions in previous embodiment For a kind of computer readable storage medium, it is stored thereon with computer program, institute above is realized when which is executed by processor It states based on the step of declaring either document generating method method.
This specification is referring to the method, equipment (system) and computer program product according to this specification embodiment Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute In setting for the function that realization is specified in one or more flows of the flowchart and/or one or more blocks of the block diagram It is standby.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of equipment, the commander equipment realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, once a person skilled in the art knows basic wounds The property made concept, then additional changes and modifications may be made to these embodiments.So the following claims are intended to be interpreted as includes Preferred embodiment and all change and modification for falling into the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (16)

1. one kind declares document generating method, which comprises
Obtain that N transaction that previous working day carries out cross-border exchange payment business by target payment mechanism is corresponding N number of to be declared Element table, N are positive integer;
Type is declared according to target, determines to declare that type is corresponding to declare in element table with the target in N number of declare Information, described declare includes amount declared in information;
Information is declared according to described, and declares the corresponding default file format of type with the target, is generated target and is declared text Part.
2. according to claim 1 declare document generating method, the method also includes:
According to the transaction details of every transaction in the N transaction and it is preset declare element sheet format, generate with it is described every Transaction is corresponding to declare element table, and total generation is N number of to declare element table.
3. according to claim 1 declare document generating method, described when the target is declared type and declared to concentrate Type is declared according to target, determines to declare that type is corresponding to declare information in element table with the target in N number of declare, Include:
Determine that described N number of each of element table of declaring declares transaction amount in element table;
The transaction amount each declared in element table is carried out netting to summarize, netting result is obtained and is declared as concentration The amount of money.
4. according to claim 1 declare document generating method, described when the target is declared type and declared for reduction Type is declared according to target, determines to declare that type is corresponding to declare information in element table with the target in N number of declare, Include:
Determine that described N number of each of element table of declaring declares transaction amount in element table;
According to each transaction coding declared in element table, the transaction is encoded into the identical and described transaction amount less than the first threshold The transaction amount of value carries out netting and summarizes, and obtains more than one netting as a result, as the first kind reduction for restoring and declaring Amount declared;
The more than one transaction amount that the transaction amount is greater than or equal to the first threshold is declared as the reduction The second class restore amount declared.
5. according to claim 1 declare document generating method, when the target is declared type and is declared for positive business, It is described that type is declared according to target, determine to declare that type is corresponding to declare in element table with the target in N number of declare Information, comprising:
Determine that positive trade corresponding K declares element table in element table in N number of declare, wherein forward direction transaction is branch Transaction is paid, K is positive integer;
Determine a transaction amount declaring each of element table and declaring in element table of the K;
According to the transaction coding each declared in element table, the transaction is encoded into the identical and transaction amount less than the The transaction amount of two threshold values carries out netting and summarizes, and obtains more than one netting as a result, the declared as the positive business A kind of forward direction business amount declared;
The transaction amount is greater than or equal to the more than one transaction amount of the second threshold as the positive business The the second class forward direction business amount declared declared.
6. according to claim 1 declare document generating method, when it is that reverse business is declared that the target, which declares type, It is described that type is declared according to target, determine to declare that type is corresponding to declare in element table with the target in N number of declare Information, comprising:
Determine that corresponding S of reverse a swap is declared element table in element table in N number of declare, wherein reverse a swap is to move back Money transaction, S is positive integer;
Determine a transaction amount declaring each of element table and declaring in element table of the S;
According to the transaction coding each declared in element table, the transaction is encoded into the identical and transaction amount less than the The transaction amount of three threshold values carries out netting and summarizes, and obtains more than one netting as a result, the declared as the reverse business A kind of reverse business amount declared;
The transaction amount is greater than or equal to the more than one transaction amount of the third threshold value as the reverse business The reverse business amount declared of the second class declared.
Declare document generating method 7. according to claim 4, it is described to declare information according to, and with the target The corresponding default file format of type is declared, target is generated and declares file, comprising:
Amount declared is restored according to the first kind and restore declare first in advance with the target payment mechanism name If file format, generates first kind reduction and declare information;
Amount declared is restored according to second class and the second default file format that reduction is declared is carried out with user's name, It generates the reduction of the second class and declares information;
Wherein, information is declared in the first kind reduction and second class reduction declares information composition reduction and declares file.
8. one kind declares file creating apparatus, described device includes:
Module is obtained, the N transaction of cross-border exchange payment business is carried out for obtaining previous working day by target payment mechanism It is corresponding it is N number of declare element table, N is positive integer;
Processing module is determined to declare class with the target in element table for declaring type according to target in N number of declare Type is corresponding to declare information, and described declare includes amount declared in information;
File generating module is declared, declares the corresponding default text of type for declaring information according to, and with the target Part format generates target and declares file.
9. according to claim 8 declare file creating apparatus, described device further include:
Element table generation module is declared, for according to the transaction details of every transaction in the N transaction and preset declaring Element sheet format, generation is corresponding with every transaction to declare element table, and total generation is N number of to declare element table.
10. according to claim 8 declare file creating apparatus, when the target is declared type and is declared to concentrate, institute Processing module is stated to be used for:
Determine that described N number of each of element table of declaring declares transaction amount in element table;
The transaction amount each declared in element table is carried out netting to summarize, netting result is obtained and is declared as concentration The amount of money.
11. according to claim 8 declare file creating apparatus, when the target is declared type and is declared for reduction, institute Processing module is stated to be used for:
Determine that described N number of each of element table of declaring declares transaction amount in element table;
According to each transaction coding declared in element table, the transaction is encoded into the identical and described transaction amount less than the first threshold The transaction amount of value carries out netting and summarizes, and obtains more than one netting as a result, as the first kind reduction for restoring and declaring Amount declared;
The more than one transaction amount that the transaction amount is greater than or equal to the first threshold is declared as the reduction The second class restore amount declared.
12. according to claim 8 declare file creating apparatus, type is declared in the target and is declared for positive business When, the processing module is used for:
Determine that positive trade corresponding K declares element table in element table in N number of declare, wherein forward direction transaction is branch Transaction is paid, K is positive integer;
Determine a transaction amount declaring each of element table and declaring in element table of the K;
According to the transaction coding each declared in element table, the transaction is encoded into the identical and transaction amount less than the The transaction amount of two threshold values carries out netting and summarizes, and obtains more than one netting as a result, the declared as the positive business A kind of forward direction business amount declared;
For the transaction amount to be greater than or equal to the more than one transaction amount of the second threshold as the forward direction The second class forward direction business amount declared that business is declared.
13. according to claim 8 declare file creating apparatus, declaring type in the target is that reverse business is declared When, the processing module is used for:
Determine that corresponding S of reverse a swap is declared element table in element table in N number of declare, wherein reverse a swap is to move back Money transaction, S is positive integer;
Determine a transaction amount declaring each of element table and declaring in element table of the S;
According to the transaction coding each declared in element table, the transaction is encoded into the identical and transaction amount less than the The transaction amount of three threshold values carries out netting and summarizes, and obtains more than one netting as a result, the declared as the reverse business A kind of reverse business amount declared;
The transaction amount is greater than or equal to the more than one transaction amount of the third threshold value as the reverse business The reverse business amount declared of the second class declared.
14. according to claim 11 declare file creating apparatus, the file generating module of declaring is used for:
Amount declared is restored according to the first kind and restore declare first in advance with the target payment mechanism name If file format, generates first kind reduction and declare information;
Amount declared is restored according to second class and the second default file format that reduction is declared is carried out with user's name, It generates the reduction of the second class and declares information;
Wherein, information is declared in the first kind reduction and second class reduction declares information composition reduction and declares file.
15. a kind of server including memory, processor and stores the computer that can be run on a memory and on a processor The step of program, the processor realizes any one of claim 1-7 the method when executing described program.
16. a kind of computer readable storage medium, is stored thereon with computer program, power is realized when which is executed by processor Benefit requires the step of any one of 1-7 the method.
CN201811141611.2A 2018-09-28 2018-09-28 Declaration file generation method, declaration file generation device, server and readable storage medium Active CN109583826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811141611.2A CN109583826B (en) 2018-09-28 2018-09-28 Declaration file generation method, declaration file generation device, server and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811141611.2A CN109583826B (en) 2018-09-28 2018-09-28 Declaration file generation method, declaration file generation device, server and readable storage medium

Publications (2)

Publication Number Publication Date
CN109583826A true CN109583826A (en) 2019-04-05
CN109583826B CN109583826B (en) 2022-09-13

Family

ID=65919944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811141611.2A Active CN109583826B (en) 2018-09-28 2018-09-28 Declaration file generation method, declaration file generation device, server and readable storage medium

Country Status (1)

Country Link
CN (1) CN109583826B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111062689A (en) * 2019-12-16 2020-04-24 中国建设银行股份有限公司 Renminbi cross-border service processing method and device
CN111292051A (en) * 2020-01-13 2020-06-16 中国建设银行股份有限公司 Foreign exchange service processing method, device, equipment and medium
CN111369253A (en) * 2020-03-18 2020-07-03 中国建设银行股份有限公司 Foreign exchange service declaration method, device, equipment and storage medium

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1229492A (en) * 1996-05-15 1999-09-22 克劳斯麻尔股份有限公司 Method and system for performing automated financial transaetions involving foreign currencies
JP2001338144A (en) * 2000-05-26 2001-12-07 Masao Ishida Basic data tabulation system for declaration of stock transfer profit by utilizing web
US20040102930A1 (en) * 2002-08-09 2004-05-27 Hiroaki Nakamitsu Communication terminal and information processing apparatus of a payment system
CN1534526A (en) * 2003-03-29 2004-10-06 鸿富锦精密工业(深圳)有限公司 EDI apply custom management declare system and method
US20040267655A1 (en) * 2003-06-27 2004-12-30 Davidowitz James P. Method and system for initiating pairs trading across multiple markets having automatic foreign exchange price hedge
CN1797463A (en) * 2004-12-30 2006-07-05 干学平 Marketing method and system for generating multiple transaction values
CN101404104A (en) * 2008-11-03 2009-04-08 田小平 Electronic invoice and taxation expropriation and management system and method
KR20090124457A (en) * 2008-05-30 2009-12-03 김용일 A network system for acting declaration service of foreign exchange by edi
CN101699506A (en) * 2008-11-03 2010-04-28 田小平 Electronic invoice and generating device thereof, tax expropriation and management system and method thereof
TW201329881A (en) * 2012-01-09 2013-07-16 E Sun Commercial Bank Ltd Cross boarder network transaction system and method
CN103208066A (en) * 2012-01-17 2013-07-17 玉山商业银行股份有限公司 Border-crossed type network transaction system and transaction method thereof
CN105225148A (en) * 2015-11-11 2016-01-06 中国建设银行股份有限公司 A kind of foreign exchange funds management system
CN105512939A (en) * 2015-12-04 2016-04-20 中国建设银行股份有限公司 Foreign exchange transaction-related data storage and query method, declaration method and system
WO2016070803A1 (en) * 2014-11-06 2016-05-12 朱锐泷 Cross-border payment and clearing system and cross-border payment method based on digital currency
CN106447484A (en) * 2016-09-29 2017-02-22 山东浪潮商用系统有限公司 Self-help tax payment system and self-help tax payment method
CN106910065A (en) * 2016-06-16 2017-06-30 阿里巴巴集团控股有限公司 Data processing method, the apparatus and system of the settlement of exchange amount of money are calculated based on many transactions
TWM553028U (en) * 2017-05-25 2017-12-11 國泰人壽保險股份有限公司 Investment transaction reporting system
CN107464194A (en) * 2017-09-21 2017-12-12 合肥集知网知识产权运营有限公司 A kind of big data patent management system based on Apriori data mining algorithms
CN107886428A (en) * 2017-11-08 2018-04-06 中国银行股份有限公司 A kind of method and payment clearance system for determining to pay clearing rate
CN108090753A (en) * 2016-11-22 2018-05-29 银联国际有限公司 A kind of finance data processing system and whole world speed remittance system and method
CN108492177A (en) * 2018-02-07 2018-09-04 深圳前海金融资产交易所有限公司 Domestic assets cross-border transaction method, server and storage medium

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1229492A (en) * 1996-05-15 1999-09-22 克劳斯麻尔股份有限公司 Method and system for performing automated financial transaetions involving foreign currencies
JP2001338144A (en) * 2000-05-26 2001-12-07 Masao Ishida Basic data tabulation system for declaration of stock transfer profit by utilizing web
US20040102930A1 (en) * 2002-08-09 2004-05-27 Hiroaki Nakamitsu Communication terminal and information processing apparatus of a payment system
CN1534526A (en) * 2003-03-29 2004-10-06 鸿富锦精密工业(深圳)有限公司 EDI apply custom management declare system and method
US20040267655A1 (en) * 2003-06-27 2004-12-30 Davidowitz James P. Method and system for initiating pairs trading across multiple markets having automatic foreign exchange price hedge
CN1797463A (en) * 2004-12-30 2006-07-05 干学平 Marketing method and system for generating multiple transaction values
KR20090124457A (en) * 2008-05-30 2009-12-03 김용일 A network system for acting declaration service of foreign exchange by edi
CN101404104A (en) * 2008-11-03 2009-04-08 田小平 Electronic invoice and taxation expropriation and management system and method
CN101699506A (en) * 2008-11-03 2010-04-28 田小平 Electronic invoice and generating device thereof, tax expropriation and management system and method thereof
TW201329881A (en) * 2012-01-09 2013-07-16 E Sun Commercial Bank Ltd Cross boarder network transaction system and method
CN103208066A (en) * 2012-01-17 2013-07-17 玉山商业银行股份有限公司 Border-crossed type network transaction system and transaction method thereof
WO2016070803A1 (en) * 2014-11-06 2016-05-12 朱锐泷 Cross-border payment and clearing system and cross-border payment method based on digital currency
CN105225148A (en) * 2015-11-11 2016-01-06 中国建设银行股份有限公司 A kind of foreign exchange funds management system
CN105512939A (en) * 2015-12-04 2016-04-20 中国建设银行股份有限公司 Foreign exchange transaction-related data storage and query method, declaration method and system
CN106910065A (en) * 2016-06-16 2017-06-30 阿里巴巴集团控股有限公司 Data processing method, the apparatus and system of the settlement of exchange amount of money are calculated based on many transactions
CN106447484A (en) * 2016-09-29 2017-02-22 山东浪潮商用系统有限公司 Self-help tax payment system and self-help tax payment method
CN108090753A (en) * 2016-11-22 2018-05-29 银联国际有限公司 A kind of finance data processing system and whole world speed remittance system and method
TWM553028U (en) * 2017-05-25 2017-12-11 國泰人壽保險股份有限公司 Investment transaction reporting system
CN107464194A (en) * 2017-09-21 2017-12-12 合肥集知网知识产权运营有限公司 A kind of big data patent management system based on Apriori data mining algorithms
CN107886428A (en) * 2017-11-08 2018-04-06 中国银行股份有限公司 A kind of method and payment clearance system for determining to pay clearing rate
CN108492177A (en) * 2018-02-07 2018-09-04 深圳前海金融资产交易所有限公司 Domestic assets cross-border transaction method, server and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
国家外汇管理局: "外汇收支交易编码标准及国际收支申报业务相关标准", 《中国金融电脑》 *
王大贤 等: "网上跨境支付外汇管理问题研究", 《南方金融》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111062689A (en) * 2019-12-16 2020-04-24 中国建设银行股份有限公司 Renminbi cross-border service processing method and device
CN111062689B (en) * 2019-12-16 2024-01-09 中国建设银行股份有限公司 Method and device for processing cross-border service of RMB
CN111292051A (en) * 2020-01-13 2020-06-16 中国建设银行股份有限公司 Foreign exchange service processing method, device, equipment and medium
CN111292051B (en) * 2020-01-13 2023-09-29 中国建设银行股份有限公司 Foreign exchange business processing method, device, equipment and medium
CN111369253A (en) * 2020-03-18 2020-07-03 中国建设银行股份有限公司 Foreign exchange service declaration method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109583826B (en) 2022-09-13

Similar Documents

Publication Publication Date Title
WO2020038332A1 (en) Method for storing asset data, device, apparatus, and system
Okoro Impact of electronic banking instruments on the intermediation efficiency of the Nigerian economy
CN101710410A (en) Method and system for checking accounting data
CN110458674B (en) Method and system for generating bookkeeping voucher
CN109583826A (en) Declare document generating method, device, server and readable storage medium storing program for executing
CN105431878A (en) System and method for automatically providing a/r-based lines of credit to businesses
CN112967130A (en) Method and device for identifying enterprise association relationship
US20240013249A1 (en) Systems and methods for providing customers with matching rewards
CN110457336A (en) Transaction data processing method and device
RU2474872C2 (en) Electronic accounting device and method of recording data into financial account base used therein
US8527376B1 (en) Income itemization
CN112085461B (en) Cross-selling-oriented commission settlement method, device and storage medium
JP2011242960A (en) Electronic assigning credit options determination system
EP2889829A1 (en) Multi-bank asset participation structure
US20150120519A1 (en) System for estimating property taxes
JP2012108619A (en) Discount application form preparation support system and discount application form preparation support method
Oladejo et al. Impact of information technology on the performance of micro finance institutions in Ogun State, Nigeria
KR101621409B1 (en) Claims and Dividend Information System
CN109584057A (en) Transaction details data capture method, device and server
TAX Implementing electronic tax filing and payments in Malaysia
JP5848785B2 (en) Electronic record receivable management system
AU2014100917A4 (en) Product for unaudited financial statements and method for qualifying the eligibility for such a product
Aguilar et al. The Use of Data Mining Applied In the Accounts Receivable from the Employees of a Government Institution in México
US20150127523A1 (en) Methods and systems for payee invoice financing and payment
Menezes et al. Emergence of cheque truncation system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201010

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201010

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant