Additional Functions
1. SendEmail - Resend a notification mail
- This API resends a notification mail that contains the information with the latest status of a cash receipt.
Response sendEmail(String CorpNum, 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 (‘-’)
|
|
| 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 |
2. AssignMgtKey - Assign a document ID
- This API manually assigns a document ID to cash receipt issued in POPBiLL service website.
Response assignMgtKey(String corpNum, String itemKey, String mgtKey, String userID) throws PopbillException
Parameters
Parameters
| No. | Field | Type | Length | Mandatory | Description |
|---|---|---|---|---|---|
| corpNum | String | 10 | Y |
Business registration number
10-digits except (‘-’)
|
|
| itemKey | String | 18 | Y |
POPBiLL’s document ID
check the returned value ‘itemKey’ of CashbillInfo via [Search - Search the list of cash receipts] API.
|
|
| mgtKey | String | 24 | Y |
Document ID
a unique value that can be entered with alphanumeric values and special characters(‘-’, ‘_’)
|
|
| 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 |

