매입 내역 조회
볼타에 쌓인 매입을 볼타에서 바뀐 순서로 반환합니다. 파라미터, 응답, cursor 규칙은 매출 내역 조회와 같습니다.
items가 비어 있어도 hasMore가 true일 수 있으니 hasMore를 보고 이어 호출하세요. 최근 5분 안에 바뀐 매입은 다음 호출로 미룹니다. 스탠다드 플랜 이상을 구독해야 하며 포인트는 차감하지 않습니다. 매출/매입 내역 조회 가이드
GET
/
v1
/
expenses
매입 내역 조회
curl --request GET \
--url https://xapi.bolta.io/v1/expenses \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://xapi.bolta.io/v1/expenses"
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/expenses', 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/expenses",
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/expenses"
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/expenses")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xapi.bolta.io/v1/expenses")
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": "201",
"type": "HOMETAX_TAX_INVOICE",
"taxInvoice": {
"ntsTransactionId": "20260901-20000000-00000201",
"invoiceType": "TAX_INVOICE",
"purpose": "CLAIM",
"writtenDate": "2026-09-01",
"issuedAt": "2026-09-01T02:00:00Z",
"supplier": {
"identificationNumberType": "BUSINESS",
"identificationNumber": "3333333333",
"taxRegistrationId": null,
"organizationName": "주식회사 테스트공급",
"representativeName": "테스트대표",
"address": "경기도 테스트시 샘플로 2",
"businessType": "도매",
"businessItem": "도소매",
"manager": {
"name": "이공급",
"email": "seller@example.com",
"telephone": "02-1111-1111"
}
},
"supplied": {
"identificationNumberType": "BUSINESS",
"identificationNumber": "1234567890",
"taxRegistrationId": null,
"organizationName": "주식회사 볼타테스트",
"representativeName": "정대표",
"address": "서울특별시 테스트구 테스트로 1",
"businessType": "서비스",
"businessItem": "소프트웨어 개발",
"manager": {
"name": "홍길동",
"email": "tax@example.com",
"telephone": null
}
},
"trustee": null,
"totalSupplyCost": 100000,
"totalTax": 10000,
"totalAmount": 110000,
"paymentMeans": {
"cash": null,
"check": null,
"bankBill": null,
"accountReceivable": 110000
},
"description": null,
"amendReason": null,
"importDeclaration": null,
"items": [
{
"date": "2026-09-01",
"name": "사무용품",
"specification": null,
"quantity": 5,
"unitPrice": 20000,
"supplyCost": 100000,
"tax": 10000,
"description": null
}
]
}
}
],
"nextCursor": "djI6MTc4ODI1MzIwMDAwMDAwMDoyMDE6NGg4c2x6",
"hasMore": true
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}인증
쿼리 매개변수
응답
조회 성공
매출 또는 매입 변경 내역 조회 결과
매입 내역 조회
curl --request GET \
--url https://xapi.bolta.io/v1/expenses \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://xapi.bolta.io/v1/expenses"
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/expenses', 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/expenses",
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/expenses"
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/expenses")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xapi.bolta.io/v1/expenses")
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": "201",
"type": "HOMETAX_TAX_INVOICE",
"taxInvoice": {
"ntsTransactionId": "20260901-20000000-00000201",
"invoiceType": "TAX_INVOICE",
"purpose": "CLAIM",
"writtenDate": "2026-09-01",
"issuedAt": "2026-09-01T02:00:00Z",
"supplier": {
"identificationNumberType": "BUSINESS",
"identificationNumber": "3333333333",
"taxRegistrationId": null,
"organizationName": "주식회사 테스트공급",
"representativeName": "테스트대표",
"address": "경기도 테스트시 샘플로 2",
"businessType": "도매",
"businessItem": "도소매",
"manager": {
"name": "이공급",
"email": "seller@example.com",
"telephone": "02-1111-1111"
}
},
"supplied": {
"identificationNumberType": "BUSINESS",
"identificationNumber": "1234567890",
"taxRegistrationId": null,
"organizationName": "주식회사 볼타테스트",
"representativeName": "정대표",
"address": "서울특별시 테스트구 테스트로 1",
"businessType": "서비스",
"businessItem": "소프트웨어 개발",
"manager": {
"name": "홍길동",
"email": "tax@example.com",
"telephone": null
}
},
"trustee": null,
"totalSupplyCost": 100000,
"totalTax": 10000,
"totalAmount": 110000,
"paymentMeans": {
"cash": null,
"check": null,
"bankBill": null,
"accountReceivable": 110000
},
"description": null,
"amendReason": null,
"importDeclaration": null,
"items": [
{
"date": "2026-09-01",
"name": "사무용품",
"specification": null,
"quantity": 5,
"unitPrice": 20000,
"supplyCost": 100000,
"tax": 10000,
"description": null
}
]
}
}
],
"nextCursor": "djI6MTc4ODI1MzIwMDAwMDAwMDoyMDE6NGg4c2x6",
"hasMore": true
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"code": "<string>",
"message": "<string>",
"traceId": "<string>"
}