<< Sea-smelling electronic invoice interface ESB encapsulates documents >> Chapters directory structure:
- Invoice Validation Interface
- Invoice-Issuing interface
Body Invoice Validation Interface
Function Description: The request system in the JSON style to send the "invoice number, invoice code, invoicing date, invoice amount," and other information, the server returned the invoice is valid information.
Request Format:
Node: {base}
Description: Mainly includes "invoice number, invoice code, invoicing date, invoice amount" and other information.
No. |
Field name
|
Type |
Size |
Must fill in |
Default value |
Description |
1 |
InvoiceNumber |
V |
4 |
Y |
|
Product code, e.g. 0330 |
2 |
Sales_channel |
V |
10 |
Y |
19001 |
Business sources, for example 19001 see Code |
3 |
Orig_flg |
C |
1 |
Y |
0 |
Renewal Mark 0 Non-renewal 1 renewal |
4 |
Dpt_cde |
V |
11 |
Y |
|
Institutional unit (8-digit Agency code) |
5 |
Sls_cde |
V |
10 |
N |
|
Salesman Code |
6 |
Salegrp_cde |
V |
11 |
N |
|
Sales Team |
7 |
Cmpny_agt_cde |
V |
14 |
N |
|
Agent See Code |
8 |
Start_date |
D |
|
Y |
|
Insurance Start time format YYYY-MM-DD HH24:MI:SS |
9 |
End_date |
D |
|
Y |
|
Period of insurance Stop time format YYYY-MM-DD HH24:MI:SS |
10 |
App_date |
D |
|
Y |
Sysdate |
Date and time format of insurance Yyyy-mm-dd |
11 |
Sign_date |
D |
|
Y |
Sysdate |
Sign Date time format Yyyy-mm-dd |
12 |
Oper_date |
D |
|
Y |
Sysdate |
Record a date time format Yyyy-mm-dd |
13 |
Sumamt |
N |
(20,2) |
N |
|
Total insured Amount |
15 |
Prm_cur |
V |
2 |
Y |
01 |
Premium currency See Code |
16 |
RATIO |
N |
(10,6) |
Y |
1.000000 |
Short-term coefficients |
18 |
Prnt_typ |
C |
1 |
Y |
0 |
Printing Method 1 English 0 Noon |
Return format:
Node: Directly under the root node, because the return is not controlled, is directly the original information returned by the sea smell
Description: Returns information such as success and failure.
No. |
Field name ( standard) |
Type |
Size |
Must fill in |
Default value |
Description |
1 |
InvoiceNumber |
V |
4 |
Y |
|
Product code, e.g. 0330 |
2 |
Sales_channel |
V |
10 |
Y |
19001 |
Business sources, for example 19001 see Code |
3 |
Orig_flg |
C |
1 |
Y |
0 |
Renewal Mark 0 Non-renewal 1 renewal |
4 |
Dpt_cde |
V |
11 |
Y |
|
Institutional unit (8-digit Agency code) |
5 |
Sls_cde |
V |
10 |
N |
|
Salesman Code |
6 |
Salegrp_cde |
V |
11 |
N |
|
Sales Team |
7 |
Cmpny_agt_cde |
V |
14 |
N |
|
Agent See Code |
8 |
Start_date |
D |
|
Y |
|
Insurance Start time format YYYY-MM-DD HH24:MI:SS |
9 |
End_date |
D |
|
Y |
|
Period of insurance Stop time format YYYY-MM-DD HH24:MI:SS |
10 |
App_date |
D |
|
Y |
Sysdate |
Date and time format of insurance Yyyy-mm-dd |
11 |
Sign_date |
D |
|
Y |
Sysdate |
Sign Date time format Yyyy-mm-dd |
12 |
Oper_date |
D |
|
Y |
Sysdate |
Record a date time format Yyyy-mm-dd |
13 |
Sumamt |
N |
(20,2) |
N |
|
Total insured Amount |
15 |
Prm_cur |
V |
2 |
Y |
01 |
Premium currency See Code |
16 |
RATIO |
N |
(10,6) |
Y |
1.000000 |
Short-term coefficients |
18 |
Prnt_typ |
C |
1 |
Y |
0 |
Printing Method 1 English 0 Noon |
Interactive essay
Request message
Aeffewfwfweaeffewfwfweaeffewfwfweaeffewfwfweaeffewfwfweaeffewfwfweaeffewfwfweaeffewfwfwe |
Return message
Rfgggggggggggggggggggggggggggggggggggggggggggggggggg |
Invoice-Issuing interface
Function Description: The request system in the JSON newspaper style sends "the transaction organization code, the policy number, the batch number, the mobile phone numbers, the email address, realizes the electronic invoice to issue, the text message or the mail" and so on information, the server returns whether to issue the success information.
<< Sea-smelling electronic invoice interface ESB encapsulates documents >>