POPBill Developers
SDK Reference
Java

View/Print

1. GetPopUpURL - URL to view the cash receipt

  • This API returns the URL to view a single cash receipt on POPBiLL service website.
  • Returned URL is valid for 30 seconds and after that you cannot access to the page.
String getPopUpURL(String CorpNum, String MgtKey, String UserID) throws PopbillException
Parameters
Parameters
No.FieldTypeLengthMandatoryDescription
CorpNum String 10 Y Business registration number
10-digits except (‘-’)
MgtKey String 24 Y Document ID
UserID String 50 N User’s POPBiLL ID
Return

String - Response URL for a request

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. GetViewURL - URL to view the cash receipt [without menus/buttons]

  • This API returns the URL to view a single cash receipt on POPBiLL service website (showing a page without menus and buttons).
  • Returned URL is valid for 30 seconds and after that you cannot access to the page.
String getViewURL(String CorpNum, String MgtKey, String UserID) throws PopbillException
Parameters
Parameters
No.FieldTypeLengthMandatoryDescription
CorpNum String 10 Y Business registration number
10-digits except (‘-’)
MgtKey String 24 Y Document ID
UserID String 50 N User’s POPBiLL ID
Return

String - Response URL for a request

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

3. GetPrintURL - URL to print the cash receipt

  • This API returns the URL to print a single cash receipt.
  • Returned URL is valid for 30 seconds and after that you cannot access to the page.
String getPrintURL(String CorpNum, String MgtKey, String UserID) throws PopbillException
Parameters
No.FieldTypeLengthMandatoryDescription
CorpNum String 10 Y Business registration number
10-digits except (‘-’)
MgtKey String 24 Y Document ID
UserID String 50 N User’s POPBiLL ID
Return

String - Response URL for a request

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

4. GetMassPrintURL - URL to print the cash receipts in bulk

  • This API returns the URL to print multiple cash receipts in bulk. (Maximum : 100 cash receipts)
  • Returned URL is valid for 30 seconds and after that you cannot access to the page.
String getMassPrintURL(String CorpNum, String[] MgtKeyList, String UserID) throws PopbillException
Parameters
Parameters
No.FieldTypeLengthMandatoryDescription
CorpNum String 10 Y Business registration number
10-digits except (‘-’)
MgtKeyList String[ ] Y List of Document ID of a cash receipt to print
maximum : 100 cash receipts
UserID String 50 N User’s POPBiLL ID
Return

String - Response URL for a request

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

5. GetMailURL - URL for the cash receipt notification mail button

  • This API returns the URL to view a single cash receipt via confirmation button located on the bottom of a notification mail.
  • Returned URL has no limit on valid time.
String getMailURL(String CorpNum, String MgtKey, String UserID) throws PopbillException
Parameters
Parameters
No.FieldTypeLengthMandatoryDescription
CorpNum String 10 Y Business registration number
10-digits except (‘-’)
MgtKey String 24 Y Document ID
UserID String 50 N User’s POPBiLL ID
Return

String - Response URL for a request

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

6. GetPDFURL - URL to download the cash receipt in PDF format

  • This API returns the URL to download a cash receipts in PDF format.
  • Returned URL is valid for 30 seconds and after that you cannot access to the page.
String getPDFURL(String CorpNum, String MgtKey, String UserID) throws PopbillException
Parameters
Parameters
No.FieldTypeLengthMandatoryDescription
CorpNum String 10 Y Business registration number
10-digits except (‘-’)
MgtKey String 24 Y Document ID
UserID String 50 N User’s POPBiLL ID
Return

String - Response URL for a request

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