매출 내역 조회
볼타에 쌓인 매출을 볼타에서 바뀐 순서로 반환합니다. 작성일자 순서가 아닙니다. 대시보드에 보이는 매출은 ACTIVE로, 보관하거나 비활성이 되어 안 보이게 된 매출은 id만 담은 REMOVED로 옵니다. 같은 id가 여러 번 올 수 있으니 받은 순서대로 id 기준으로 덮어쓰거나 지우세요. 홈택스에서 수집해 상세를 채우는 중인 매출은 id만 담은 PENDING으로 오고, 상세가 채워지면 같은 id가 ACTIVE로 다시 옵니다.
items가 비어 있어도 hasMore가 true일 수 있으니 hasMore를 보고 이어 호출하세요. nextCursor는 마지막 페이지에서도 채워집니다. 이 값을 저장해 두었다가 다음에 넘기면 그 사이 바뀐 매출만 받습니다. 최근 5분 안에 바뀐 매출은 다음 호출로 미룹니다. 스탠다드 플랜 이상을 구독해야 하며 포인트는 차감하지 않습니다. 매출/매입 내역 조회 가이드
GET
/
v1
/
revenues
매출 내역 조회
curl --request GET \
--url https://xapi.bolta.io/v1/revenues \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://xapi.bolta.io/v1/revenues"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://xapi.bolta.io/v1/revenues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://xapi.bolta.io/v1/revenues",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://xapi.bolta.io/v1/revenues"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://xapi.bolta.io/v1/revenues")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xapi.bolta.io/v1/revenues")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"items": [
{
"status": "ACTIVE",
"id": "101",
"type": "HOMETAX_TAX_INVOICE",
"taxInvoice": {
"ntsTransactionId": "20260901-10000000-00000101",
"invoiceType": "TAX_INVOICE",
"purpose": "CLAIM",
"writtenDate": "2026-09-01",
"issuedAt": "2026-09-01T05:12:00Z",
"supplier": {
"identificationNumberType": "BUSINESS",
"identificationNumber": "1234567890",
"taxRegistrationId": null,
"organizationName": "주식회사 볼타테스트",
"representativeName": "정대표",
"address": "서울특별시 테스트구 테스트로 1",
"businessType": "서비스",
"businessItem": "소프트웨어 개발",
"manager": {
"name": "홍길동",
"email": "tax@example.com",
"telephone": "02-0000-0000"
}
},
"supplied": {
"identificationNumberType": "BUSINESS",
"identificationNumber": "1111111111",
"taxRegistrationId": null,
"organizationName": "주식회사 테스트고객",
"representativeName": "테스트대표",
"address": "경기도 테스트시 샘플로 2",
"businessType": "도매",
"businessItem": "도소매",
"manager": {
"name": "김담당",
"email": "buyer@example.com",
"telephone": null
}
},
"trustee": null,
"totalSupplyCost": 1000000,
"totalTax": 100000,
"totalAmount": 1100000,
"paymentMeans": {
"cash": null,
"check": null,
"bankBill": null,
"accountReceivable": 1100000
},
"description": null,
"amendReason": null,
"importDeclaration": null,
"items": [
{
"date": "2026-09-01",
"name": "컨설팅",
"specification": null,
"quantity": 1,
"unitPrice": 600000,
"supplyCost": 600000,
"tax": 60000,
"description": null
},
{
"date": "2026-09-01",
"name": "교육",
"specification": null,
"quantity": 2,
"unitPrice": 200000,
"supplyCost": 400000,
"tax": 40000,
"description": null
}
]
}
},
{
"status": "REMOVED",
"id": "104"
},
{
"status": "PENDING",
"id": "105"
}
],
"nextCursor": "djI6MTc4ODY1NjQwMDAwMDAwMDoxMDU6MXVpMmNn",
"hasMore": false
}인증
쿼리 매개변수
응답
조회 성공
매출 또는 매입 변경 내역 조회 결과
매출 내역 조회
curl --request GET \
--url https://xapi.bolta.io/v1/revenues \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://xapi.bolta.io/v1/revenues"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://xapi.bolta.io/v1/revenues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://xapi.bolta.io/v1/revenues",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://xapi.bolta.io/v1/revenues"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://xapi.bolta.io/v1/revenues")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xapi.bolta.io/v1/revenues")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"items": [
{
"status": "ACTIVE",
"id": "101",
"type": "HOMETAX_TAX_INVOICE",
"taxInvoice": {
"ntsTransactionId": "20260901-10000000-00000101",
"invoiceType": "TAX_INVOICE",
"purpose": "CLAIM",
"writtenDate": "2026-09-01",
"issuedAt": "2026-09-01T05:12:00Z",
"supplier": {
"identificationNumberType": "BUSINESS",
"identificationNumber": "1234567890",
"taxRegistrationId": null,
"organizationName": "주식회사 볼타테스트",
"representativeName": "정대표",
"address": "서울특별시 테스트구 테스트로 1",
"businessType": "서비스",
"businessItem": "소프트웨어 개발",
"manager": {
"name": "홍길동",
"email": "tax@example.com",
"telephone": "02-0000-0000"
}
},
"supplied": {
"identificationNumberType": "BUSINESS",
"identificationNumber": "1111111111",
"taxRegistrationId": null,
"organizationName": "주식회사 테스트고객",
"representativeName": "테스트대표",
"address": "경기도 테스트시 샘플로 2",
"businessType": "도매",
"businessItem": "도소매",
"manager": {
"name": "김담당",
"email": "buyer@example.com",
"telephone": null
}
},
"trustee": null,
"totalSupplyCost": 1000000,
"totalTax": 100000,
"totalAmount": 1100000,
"paymentMeans": {
"cash": null,
"check": null,
"bankBill": null,
"accountReceivable": 1100000
},
"description": null,
"amendReason": null,
"importDeclaration": null,
"items": [
{
"date": "2026-09-01",
"name": "컨설팅",
"specification": null,
"quantity": 1,
"unitPrice": 600000,
"supplyCost": 600000,
"tax": 60000,
"description": null
},
{
"date": "2026-09-01",
"name": "교육",
"specification": null,
"quantity": 2,
"unitPrice": 200000,
"supplyCost": 400000,
"tax": 40000,
"description": null
}
]
}
},
{
"status": "REMOVED",
"id": "104"
},
{
"status": "PENDING",
"id": "105"
}
],
"nextCursor": "djI6MTc4ODY1NjQwMDAwMDAwMDoxMDU6MXVpMmNn",
"hasMore": false
}