POPBill Developers
SDK Reference
Java

View/Print the invoice

1. GetPopUpURL - URL to view the Invoice

  • This API returns the URL to view a single invoice on POPBiLL service website.
  • Returned URL is valid for 30 seconds and after that you cannot access to the page.
String getPopUpURL(String CorpNum, int ItemCode, String MgtKey, String UserID) throws PopbillException
Parameters
Parameters
No.FieldTypeLengthMandatoryDescription
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
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 Invoice [without menus/buttons]

  • This API returns the URL to view a single invoice 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, int ItemCode, String MgtKey, String UserID) throws PopbillException
Parameters
Parameters
No.FieldTypeLengthMandatoryDescription
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
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 Invoice

  • This API returns the URL to print a single invoice and you can select one of the following print configuration settings within the same URL page : “공급자”(seller) / “공급받는자”(buyer) / “공급자 + 공급받는자”(seller + buyer).
  • Returned URL is valid for 30 seconds and after that you cannot access to the page.
String getPrintURL(String CorpNum, int ItemCode, String MgtKey, String UserID) throws PopbillException
Parameters
Parameters
No.FieldTypeLengthMandatoryDescription
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
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. GetEPrintURL - URL to print the invoice [for buyer]

  • This API returns the URL to print a single invoice for buyer.
  • Returned URL is valid for 30 seconds and after that you cannot access to the page.
String getEPrintURL(String CorpNum, int ItemCode, String MgtKey, String UserID) throws PopbillException
Parameters
Parameters
No.FieldTypeLengthMandatoryDescription
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
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. GetMassPrintURL - URL to print invoices in bulk

  • This API returns the URL to print multiple invoices in bulk. (Maximum : 100 invoices)
  • Returned URL is valid for 30 seconds and after that you cannot access to the page.
String getMassPrintURL(String CorpNum, int ItemCode, String[] MgtKeyList, String UserID) throws PopbillException
Parameters
Parameters
No.FieldTypeLengthMandatoryDescription
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
MgtKeyList String[ ] Y Document ID of an invoice to view
maximum : 100 invoices
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. GetMailURL - URL for the invoice notification mail button

  • This API returns the URL to view a single invoice via confirmation button located on the bottom of a notification mail.
  • Returned URL has no limit on valid time.
String getMailURL(String CorpNum, int ItemCode, String MgtKey, String UserID) throws PopbillException
  • A buyer can click the confirmation button to notify the seller for checking the invoice.
Parameters
Parameters
No.FieldTypeLengthMandatoryDescription
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
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