Additional Functions
1. SendEmail - Resend a notification mail
- This API resends a notification mail that contains the information with the latest status of an e-Tax invoice.
Response sendEmail(String CorpNum, MgtKeyType KeyType, String MgtKey, String Receiver, String UserID) throws PopbillException
- When using this API, each mail can be sent to a single recipient email address and there is no limit number or holding time for multiple API calls.
Parameters
Parameters
| No. | Field | Type | Length | Mandatory | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CorpNum | String | 10 | Y |
Business registration number
10-digits except (‘-’)
|
|||||||||||
| KeyType | MgtKeyType | - | Y |
Type of the e-Tax invoice
SELL sales
|
|||||||||||
|
MgtKeyType
|
|||||||||||||||
| 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 e-Tax invoice issued in POPBiLL service website.
Response assignMgtKey(String corpNum, MgtKeyType keyType, 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 (‘-’)
|
|||||||||||
| keyType | MgtKeyType | - | Y |
Type of the e-Tax invoice
SELL sales
|
|||||||||||
|
MgtKeyType
|
|||||||||||||||
| itemKey | String | 18 | Y |
Identification number assigned by POPBiLL
check the returned value of {itemKey} of TaxinvoiceInfo via [Search - Search the list of e-Tax invoices] 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 |

