Send Invoice

Service Name: SendInvoice
Description: Partner sends the invoice to be paid.
Sender: Espay Partner
Receiver: Espay System

API URL

Endpoint Development: https://sandbox-api.espay.id/rest/lesscash/sendinvoice
Endpoint Production: https://api.espay.id/rest/lesscash/sendinvoice

Sample Request:

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 massage 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
member_code AN 32 TRUE TRUE Member Code / Store code
doc_no ANS 32 TRUE TRUE Document Number / invoice number
ccy AN 3 TRUE TRUE Transaction’s currency code. ex: IDR / USD
amount N 19 TRUE TRUE Amount that must be paid by the agen/reseller/member by item order.
amount use 2 digit decimal, with point character (.) as decimal point. Ex: 50000.24
issue_date ANS 10 TRUE TRUE issued date (YYYY-MM-DD)
due_date ANS 10 TRUE TRUE due date (YYYY-MM-DD)
sales_code AN 32 TRUE TRUE sales code/ canvasser code
va_only A 1 TRUE TRUE Flag Virtual Account only
Ex: Y / N
remark ANS 100 FALSE TRUE Description

Sample Response:

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
doc_ref_no ANS 50 TRUE TRUE reference number from MAVA + Mobile Collection