POPBill Developers
API Reference

2. Check the result

2.2. Summary - Check the summarized information for the data crawling result

GET https://popbill-test.linkhub.co.kr/HomeTax/Cashbill/{jobID}/Summary
GET https://popbill.linkhub.co.kr/HomeTax/Cashbill/{jobID}/Summary

Provides the total information of the details of cash receipt Purchases/Sales collected from Hometax. ※ Total information - Collection count, sum of Supply Cost, sum of tax / V.A.T, sum of service fee, sum of trade amount (sum of Supply Cost + sum of tax / V.A.T + sum of service fee)

Request
Request Headers
No. Field Mandatory Description
Authorization Y Auth Token
Accept-Language N Response language
ko-KR: default
en-US
Accept-Encoding N Response compression method
gzip
X-PB-UserID N User’s POPBiLL ID
Path Parameters
No. Field Type Length Mandatory Description
jobID string 18 Y Request ID(JobID)
Query Parameters
No. Field Type Length Mandatory Description
TradeUsage string - N Purpose of issuance (multiple choice is possible)
Pincome deduction usage
Cproof of purchase usage
Separate with a comma(',') for multiple selections. e.g. P,C
search all if not entered
TradeType string - N Type of cash receipt (multiple choice is possible)
Ngeneral cash receipt
Ccash receipt for revocation
Separate with a comma(',') for multiple selections. e.g. N,C
search all if not entered
Request Example
curl --request GET \
  --url 'https://{domain}/HomeTax/Cashbill/{jobID}/Summary?TradeUsage={TradeUsage}&TradeType={TradeType}' \
  --header 'Authorization: Bearer {token}'
Response
Response Body
No. Field Type Length Description
count number - Number of crawled data
supplyCostTotal number 18 Sum of supply values
taxTotal number 18 Sum of tax amount
serviceFeeTotal number 18 Total Service Fee
amountTotal number 18 Total Trade amount (Total Supply Cost + Total tax + Total Service Fee)
Response Example
{
    "count": 2,
    "supplyCostTotal": 1820,
    "taxTotal": 180,
    "serviceFeeTotal": 0,
    "amountTotal": 2000
}