Method: TaxinvoiceService#getUnitCost

Defined in:
lib/popbill/taxinvoice.rb

#getUnitCost(corpNum) ⇒ Object



31
32
33
34
35
36
# File 'lib/popbill/taxinvoice.rb', line 31

def getUnitCost(corpNum)
  if corpNum.length != 10
    raise PopbillException.new('-99999999', '사업자등록번호가 올바르지 않습니다.')
  end
  httpget("/Taxinvoice?cfg=UNITCOST", corpNum)['unitCost']
end