전자(세금)계산서 내용 조회
GET
/
v1
/
taxInvoices
/
{issuanceKey}
전자(세금)계산서 내용 조회
curl --request GET \
--url https://xapi.bolta.io/v1/taxInvoices/{issuanceKey} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}"
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/taxInvoices/{issuanceKey}', 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/taxInvoices/{issuanceKey}",
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/taxInvoices/{issuanceKey}"
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/taxInvoices/{issuanceKey}")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}")
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{
"issuanceKey": "<string>",
"ntsTransactionId": "<string>",
"issuedAt": "<string>",
"invoice": {
"date": "2023-12-25",
"supplier": {
"identificationNumber": "<string>",
"organizationName": "<string>",
"representativeName": "<string>",
"manager": {
"email": "jsmith@example.com",
"name": "<string>",
"telephone": "<string>"
},
"taxRegistrationId": "0001",
"address": "<string>",
"businessItem": "소프트웨어 개발 및 공급업",
"businessType": "정보통신업"
},
"supplied": {
"identificationNumber": "<string>",
"organizationName": "<string>",
"representativeName": "<string>",
"managers": [
{
"email": "jsmith@example.com",
"name": "<string>",
"telephone": "<string>"
}
],
"taxRegistrationId": "0001",
"address": "<string>",
"businessItem": "소프트웨어 개발 및 공급업",
"businessType": "정보통신업"
},
"trustee": {
"identificationNumber": "<string>",
"organizationName": "<string>",
"representativeName": "<string>",
"taxRegistrationId": "0001",
"address": "<string>",
"businessItem": "소프트웨어 개발 및 공급업",
"businessType": "정보통신업",
"manager": {
"email": "jsmith@example.com",
"name": "<string>",
"telephone": "<string>"
}
},
"items": [
{
"date": "2023-12-25",
"name": "<string>",
"supplyCost": 2,
"unitPrice": 1,
"quantity": 123,
"tax": 1,
"specification": "<string>",
"description": "<string>"
}
],
"description": "<string>"
}
}⌘I
전자(세금)계산서 내용 조회
curl --request GET \
--url https://xapi.bolta.io/v1/taxInvoices/{issuanceKey} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}"
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/taxInvoices/{issuanceKey}', 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/taxInvoices/{issuanceKey}",
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/taxInvoices/{issuanceKey}"
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/taxInvoices/{issuanceKey}")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xapi.bolta.io/v1/taxInvoices/{issuanceKey}")
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{
"issuanceKey": "<string>",
"ntsTransactionId": "<string>",
"issuedAt": "<string>",
"invoice": {
"date": "2023-12-25",
"supplier": {
"identificationNumber": "<string>",
"organizationName": "<string>",
"representativeName": "<string>",
"manager": {
"email": "jsmith@example.com",
"name": "<string>",
"telephone": "<string>"
},
"taxRegistrationId": "0001",
"address": "<string>",
"businessItem": "소프트웨어 개발 및 공급업",
"businessType": "정보통신업"
},
"supplied": {
"identificationNumber": "<string>",
"organizationName": "<string>",
"representativeName": "<string>",
"managers": [
{
"email": "jsmith@example.com",
"name": "<string>",
"telephone": "<string>"
}
],
"taxRegistrationId": "0001",
"address": "<string>",
"businessItem": "소프트웨어 개발 및 공급업",
"businessType": "정보통신업"
},
"trustee": {
"identificationNumber": "<string>",
"organizationName": "<string>",
"representativeName": "<string>",
"taxRegistrationId": "0001",
"address": "<string>",
"businessItem": "소프트웨어 개발 및 공급업",
"businessType": "정보통신업",
"manager": {
"email": "jsmith@example.com",
"name": "<string>",
"telephone": "<string>"
}
},
"items": [
{
"date": "2023-12-25",
"name": "<string>",
"supplyCost": 2,
"unitPrice": 1,
"quantity": 123,
"tax": 1,
"specification": "<string>",
"description": "<string>"
}
],
"description": "<string>"
}
}