Additional Functions
1. SendEmail - Resend a notification mail
- This API resends a notification mail that contains the information with the latest status of an invoice.
Response sendEmail(String CorpNum, int ItemCode, String MgtKey, String Receiver, String UserID) throws PopbillException
Parameters
Parameters
| No. | Field | Type | Length | Mandatory | Description |
|---|---|---|---|---|---|
| CorpNum | String | 10 | Y |
Business registration Number
10-digits except (‘-’)
|
|
| ItemCode | int | 3 | Y |
Types of invoices
121transaction details
122bill
123estimate
124purchase order
125deposit slip
126receipt
|
|
| MgtKey | String | 24 | Y | Document ID | |
| Receiver | String | - | Y | Recipient email address | |
| UserID | String | 50 | N | User’s POPBiLL ID |
Return
Response
| No. | Field | Type | Length | Description |
|---|---|---|---|---|
| code | long | - | API response code | |
| message | String | - | API response message |
Throws
PopbillException
| No. | Field | Type | Length | Description |
|---|---|---|---|---|
| code | long | - |
API response code
8 digits code that starts with (‘-’) [Error Code]
|
|
| message | String | - | Error message for any failed API process |

