<< Sea-smelling electronic invoice interface ESB encapsulates documents >>

Source: Internet
Author: User

<< Sea-smelling electronic invoice interface ESB encapsulates documents >> Chapters directory structure:
    1. Invoice Validation Interface
    2. 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 >>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.