Send Invoice Multiple

Service Name: SendInvoiceMulti

Description: Partner sends several invoices to be paid. The maximum invoice that can be sent in this service is 500 invoices.

Sender: Espay Partner

Receiver: Espay System

API URL

Endpoint Development: https://sandbox-api.espay.id/rest/lesscash/sendinvoicemulti
Endpoint Production: https://api.espay.id/rest/lesscash/sendinvoicemulti
Request Field:
Name Field Atribut Mandatory Encryption Description
rq_uuid ANS 255 TRUE FALSE Request Identifier. Unique ID to identify the request message with other message. Ex : 123ABC-DEF456
rq_datetime ANS 19 TRUE FALSE The date and time in the client application server when the message is sent.
Format : YYYY-MM-DD HH:MM:SS
Ex : 2014-12-17 12:30:45
signature ANS 64 TRUE FALSE Signature (see signature algorithm)
sender_id ANS 32 TRUE FALSE Sender Identifier, will be given by Espay.
comm_code AN 32 TRUE TRUE Community Code
ccy AN 3 TRUE TRUE Transaction's currency
invoices JSON TRUE TRUE Maximum is 500 of JSON's lines
Example: {"INVZSKSK022":{"member_code":"18032018","amount":20000,"due_date":"2018-03-22","issue_date":"2018-03-22"},"INVZSKSK023":{"member_code":"18032018","amount":30000,"due_date":"2018-03-22","issue_date":"2018-03-22"}}
Detail: {"doc_no":{"member_code":"18032018","amount":20000,"due_date":"2018-03-22","issue_date":"2018-03-22"}}
total_invoices N 3 TRUE TRUE Maximum is 500 of JSON's lines
Number of invoice's line equal with total_invoices.
Example: 500

Response Field:
Name Field Atribut Mandatory Encryption Description
rq_uuid ANS 255 TRUE FALSE Request Identifier. Unique ID to identify the request message with other message. Ex : 123ABC-DEF456
rs_datetime ANS 19 TRUE FALSE Transaction date in application server
Format : YYYY-MM-DD HH:MM:SS
Ex : 2014-12-17 12:30:45
error_code AN TRUE TRUE Error code
error_message ANS FALSE TRUE Error description
invoices JSON TRUE TRUE Description invoices
Example which is already decrypted: {"INVZSKSK022":{"error_code":"0002","error_msg":"Data sudah terdaftar = Document No","doc_ref_no":""},"INVZSKSK023":{"error_code":"0000","error_msg":"success","doc_ref_no":"DOC010101"}} - 0000 = Success - else = Fail
invoices_success JSON TRUE TRUE Description of successful invoices
Example which is already decrypted: {"INVZSKSK023":{"error_code":"0000","error_msg":"success","doc_ref_no":"DOC010101"}} - 0000 = Success - else = Fail
invoices_failed JSON TRUE TRUE Description of failed invoices
Example which is already decrypted: {"INVZSKSK022":{"error_code":"0002","error_msg":"Data sudah terdaftar = Document No","doc_ref_no":""}} - 0000 = Success - else = Fail
total_success N TRUE TRUE Number of successful invoices
total_failed N TRUE TRUE Number of failed invoices
total_row_execute N TRUE TRUE Number of proccesed invoices