SaaS API세금계산서
세금계산서 단건 조회 (광고주)
광고주가 본인 발행 세금계산서 단건 상세 + PDF URL을 조회합니다.
세금계산서 단건 조회
본인 발행 invoice만 조회 가능. 다른 광고주 invoice id 시도 시 404.
HTTP 요청
GET /ai/business/tax-invoice/{id}
Authorization: Bearer {access_token}Path Parameters
| 파라미터 | 타입 | 필수 | 설명 |
|---|---|---|---|
id | Long | 예 | TaxInvoice PK (목록 조회 응답의 id) |
성공 응답 (200 OK)
{
"status": 200,
"message": "세금계산서 단건 조회",
"data": {
"id": 12345,
"status": "ISSUED",
"supplyAmount": 1000000,
"vatAmount": 100000,
"totalAmount": 1100000,
"taxInvoiceUrl": "https://app.bolta.io/...",
"businessNumber": "1234567890",
"managerEmail": "manager@company.com",
"referenceEmail": "reference@company.com"
}
}에러
| 코드 | 의미 |
|---|---|
| 401 | 인증 없음 |
| 404 | 본인 invoice 아님 또는 존재하지 않음 (다른 광고주 invoice 권한 차단도 동일 응답) |