Method: TaxinvoiceService#getEPrintURL
- Defined in:
- lib/popbill/taxinvoice.rb
#getEPrintURL(corpNum, mgtKeyType, mgtKey, userID = '') ⇒ Object
599 600 601 602 603 604 605 606 607 608 |
# File 'lib/popbill/taxinvoice.rb', line 599 def getEPrintURL(corpNum, mgtKeyType, mgtKey, userID = '') if corpNum.length != 10 raise PopbillException.new('-99999999', '사업자등록번호가 올바르지 않습니다.') end if mgtKey.to_s == '' raise PopbillException.new('-99999999', '문서번호가 올바르지 않습니다.') end httpget("/Taxinvoice/#{mgtKeyType}/#{mgtKey}?TG=EPRINT", corpNum, userID)['url'] end |