@connextable/popbill 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -0
- package/dist/index.d.mts +174 -182
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +32 -31
- package/dist/index.mjs.map +1 -0
- package/package.json +10 -7
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { PopbillApiError, PopbillErrorStage, PopbillErrorType } from "@connextable/popbill-compat/errors";
|
|
2
|
-
|
|
3
|
-
//#region src/services/tax-invoice/types/document.d.ts
|
|
4
2
|
/**
|
|
5
3
|
* 작성일/일시 문자열 타입입니다.
|
|
6
4
|
*/
|
|
@@ -8,15 +6,15 @@ type TaxInvoiceDateString = string;
|
|
|
8
6
|
/**
|
|
9
7
|
* 세금계산서 과금 방향 값입니다.
|
|
10
8
|
*/
|
|
11
|
-
declare const TaxInvoiceChargeDirectionValues: {
|
|
9
|
+
export declare const TaxInvoiceChargeDirectionValues: {
|
|
12
10
|
/**
|
|
13
11
|
* 값: `정과금`, 의미: 공급자에게 과금되는 일반 방향
|
|
14
12
|
*/
|
|
15
|
-
readonly NormalCharge:
|
|
13
|
+
readonly NormalCharge: '정과금';
|
|
16
14
|
/**
|
|
17
15
|
* 값: `역과금`, 의미: 공급받는자에게 과금되는 역방향
|
|
18
16
|
*/
|
|
19
|
-
readonly ReverseCharge:
|
|
17
|
+
readonly ReverseCharge: '역과금';
|
|
20
18
|
};
|
|
21
19
|
/**
|
|
22
20
|
* 세금계산서 과금 방향 타입입니다.
|
|
@@ -25,19 +23,19 @@ type TaxInvoiceChargeDirection = (typeof TaxInvoiceChargeDirectionValues)[keyof
|
|
|
25
23
|
/**
|
|
26
24
|
* 세금계산서 발행 형태 값입니다.
|
|
27
25
|
*/
|
|
28
|
-
declare const TaxInvoiceIssueTypes: {
|
|
26
|
+
export declare const TaxInvoiceIssueTypes: {
|
|
29
27
|
/**
|
|
30
28
|
* 값: `정발행`, 의미: 공급자 중심의 일반 발행
|
|
31
29
|
*/
|
|
32
|
-
readonly Normal:
|
|
30
|
+
readonly Normal: '정발행';
|
|
33
31
|
/**
|
|
34
32
|
* 값: `역발행`, 의미: 공급받는자 요청 기반 발행
|
|
35
33
|
*/
|
|
36
|
-
readonly Reverse:
|
|
34
|
+
readonly Reverse: '역발행';
|
|
37
35
|
/**
|
|
38
36
|
* 값: `위수탁`, 의미: 수탁자 대행 발행
|
|
39
37
|
*/
|
|
40
|
-
readonly Trustee:
|
|
38
|
+
readonly Trustee: '위수탁';
|
|
41
39
|
};
|
|
42
40
|
/**
|
|
43
41
|
* 세금계산서 발행 형태 타입입니다.
|
|
@@ -46,19 +44,19 @@ type TaxInvoiceIssueType = (typeof TaxInvoiceIssueTypes)[keyof typeof TaxInvoice
|
|
|
46
44
|
/**
|
|
47
45
|
* 세금계산서 영수/청구 값입니다.
|
|
48
46
|
*/
|
|
49
|
-
declare const TaxInvoicePurposeTypes: {
|
|
47
|
+
export declare const TaxInvoicePurposeTypes: {
|
|
50
48
|
/**
|
|
51
49
|
* 값: `영수`, 의미: 영수 목적
|
|
52
50
|
*/
|
|
53
|
-
readonly Receipt:
|
|
51
|
+
readonly Receipt: '영수';
|
|
54
52
|
/**
|
|
55
53
|
* 값: `청구`, 의미: 청구 목적
|
|
56
54
|
*/
|
|
57
|
-
readonly Claim:
|
|
55
|
+
readonly Claim: '청구';
|
|
58
56
|
/**
|
|
59
57
|
* 값: `없음`, 의미: 목적 구분 없음
|
|
60
58
|
*/
|
|
61
|
-
readonly None:
|
|
59
|
+
readonly None: '없음';
|
|
62
60
|
};
|
|
63
61
|
/**
|
|
64
62
|
* 세금계산서 영수/청구 타입입니다.
|
|
@@ -67,19 +65,19 @@ type TaxInvoicePurposeType = (typeof TaxInvoicePurposeTypes)[keyof typeof TaxInv
|
|
|
67
65
|
/**
|
|
68
66
|
* 세금계산서 과세 유형 값입니다.
|
|
69
67
|
*/
|
|
70
|
-
declare const TaxInvoiceTaxationTypes: {
|
|
68
|
+
export declare const TaxInvoiceTaxationTypes: {
|
|
71
69
|
/**
|
|
72
70
|
* 값: `과세`, 의미: 일반 과세
|
|
73
71
|
*/
|
|
74
|
-
readonly Taxable:
|
|
72
|
+
readonly Taxable: '과세';
|
|
75
73
|
/**
|
|
76
74
|
* 값: `영세`, 의미: 영세율
|
|
77
75
|
*/
|
|
78
|
-
readonly ZeroRated:
|
|
76
|
+
readonly ZeroRated: '영세';
|
|
79
77
|
/**
|
|
80
78
|
* 값: `면세`, 의미: 면세
|
|
81
79
|
*/
|
|
82
|
-
readonly Exempt:
|
|
80
|
+
readonly Exempt: '면세';
|
|
83
81
|
};
|
|
84
82
|
/**
|
|
85
83
|
* 세금계산서 과세 유형 타입입니다.
|
|
@@ -88,19 +86,19 @@ type TaxInvoiceTaxationType = (typeof TaxInvoiceTaxationTypes)[keyof typeof TaxI
|
|
|
88
86
|
/**
|
|
89
87
|
* 공급받는자 구분 값입니다.
|
|
90
88
|
*/
|
|
91
|
-
declare const TaxInvoiceRecipientTypes: {
|
|
89
|
+
export declare const TaxInvoiceRecipientTypes: {
|
|
92
90
|
/**
|
|
93
91
|
* 값: `사업자`, 의미: 사업자 번호 기반
|
|
94
92
|
*/
|
|
95
|
-
readonly Business:
|
|
93
|
+
readonly Business: '사업자';
|
|
96
94
|
/**
|
|
97
95
|
* 값: `개인`, 의미: 주민등록번호 기반
|
|
98
96
|
*/
|
|
99
|
-
readonly Individual:
|
|
97
|
+
readonly Individual: '개인';
|
|
100
98
|
/**
|
|
101
99
|
* 값: `외국인`, 의미: 외국인 식별번호 기반
|
|
102
100
|
*/
|
|
103
|
-
readonly Foreigner:
|
|
101
|
+
readonly Foreigner: '외국인';
|
|
104
102
|
};
|
|
105
103
|
/**
|
|
106
104
|
* 공급받는자 구분 타입입니다.
|
|
@@ -109,7 +107,7 @@ type TaxInvoiceRecipientType = (typeof TaxInvoiceRecipientTypes)[keyof typeof Ta
|
|
|
109
107
|
/**
|
|
110
108
|
* 공급받는자 휴폐업 상태 값입니다.
|
|
111
109
|
*/
|
|
112
|
-
declare const TaxInvoiceBusinessStatusValues: {
|
|
110
|
+
export declare const TaxInvoiceBusinessStatusValues: {
|
|
113
111
|
/**
|
|
114
112
|
* 값: `null`, 의미: 미확인
|
|
115
113
|
*/
|
|
@@ -142,7 +140,7 @@ type TaxInvoiceBusinessStatus = (typeof TaxInvoiceBusinessStatusValues)[keyof ty
|
|
|
142
140
|
/**
|
|
143
141
|
* 수정세금계산서 사유코드 값입니다.
|
|
144
142
|
*/
|
|
145
|
-
declare const TaxInvoiceModificationReasonCodes: {
|
|
143
|
+
export declare const TaxInvoiceModificationReasonCodes: {
|
|
146
144
|
/**
|
|
147
145
|
* 값: `1`, 의미: 기재사항 착오 정정
|
|
148
146
|
*/
|
|
@@ -473,11 +471,11 @@ interface TaxInvoiceDocumentInput {
|
|
|
473
471
|
/**
|
|
474
472
|
* 책번호 권 항목입니다.
|
|
475
473
|
*/
|
|
476
|
-
bookVolumeNumber?: string;
|
|
474
|
+
bookVolumeNumber?: number | string;
|
|
477
475
|
/**
|
|
478
476
|
* 책번호 호 항목입니다.
|
|
479
477
|
*/
|
|
480
|
-
bookIssueNumber?: string;
|
|
478
|
+
bookIssueNumber?: number | string;
|
|
481
479
|
/**
|
|
482
480
|
* 사업자등록증 이미지 첨부 여부입니다.
|
|
483
481
|
*/
|
|
@@ -495,12 +493,10 @@ interface TaxInvoiceDocumentInput {
|
|
|
495
493
|
*/
|
|
496
494
|
additionalContacts?: TaxInvoiceAdditionalContactInput[];
|
|
497
495
|
}
|
|
498
|
-
//#endregion
|
|
499
|
-
//#region src/services/tax-invoice/types/response.d.ts
|
|
500
496
|
/**
|
|
501
497
|
* 세금계산서 공통 처리 결과입니다.
|
|
502
498
|
*/
|
|
503
|
-
interface TaxInvoiceOperationResult {
|
|
499
|
+
export interface TaxInvoiceOperationResult {
|
|
504
500
|
/**
|
|
505
501
|
* 처리 결과 코드입니다.
|
|
506
502
|
*/
|
|
@@ -513,7 +509,7 @@ interface TaxInvoiceOperationResult {
|
|
|
513
509
|
/**
|
|
514
510
|
* 발행 처리 결과입니다.
|
|
515
511
|
*/
|
|
516
|
-
interface TaxInvoiceIssueResult extends TaxInvoiceOperationResult {
|
|
512
|
+
export interface TaxInvoiceIssueResult extends TaxInvoiceOperationResult {
|
|
517
513
|
/**
|
|
518
514
|
* 국세청 승인번호입니다.
|
|
519
515
|
*/
|
|
@@ -526,7 +522,7 @@ interface TaxInvoiceIssueResult extends TaxInvoiceOperationResult {
|
|
|
526
522
|
/**
|
|
527
523
|
* 초대량 접수 결과입니다.
|
|
528
524
|
*/
|
|
529
|
-
interface TaxInvoiceBulkSubmitResult extends TaxInvoiceOperationResult {
|
|
525
|
+
export interface TaxInvoiceBulkSubmitResult extends TaxInvoiceOperationResult {
|
|
530
526
|
/**
|
|
531
527
|
* 접수 식별자입니다.
|
|
532
528
|
*/
|
|
@@ -535,7 +531,7 @@ interface TaxInvoiceBulkSubmitResult extends TaxInvoiceOperationResult {
|
|
|
535
531
|
/**
|
|
536
532
|
* 초대량 처리 상태 값입니다.
|
|
537
533
|
*/
|
|
538
|
-
declare const TaxInvoiceBulkIssueSubmissionTransactionStates: {
|
|
534
|
+
export declare const TaxInvoiceBulkIssueSubmissionTransactionStates: {
|
|
539
535
|
/**
|
|
540
536
|
* 값: `0`, 의미: 미처리 상태
|
|
541
537
|
*/
|
|
@@ -552,11 +548,11 @@ declare const TaxInvoiceBulkIssueSubmissionTransactionStates: {
|
|
|
552
548
|
/**
|
|
553
549
|
* 초대량 처리 상태 타입입니다.
|
|
554
550
|
*/
|
|
555
|
-
type TaxInvoiceBulkIssueSubmissionTransactionState = (typeof TaxInvoiceBulkIssueSubmissionTransactionStates)[keyof typeof TaxInvoiceBulkIssueSubmissionTransactionStates];
|
|
551
|
+
export type TaxInvoiceBulkIssueSubmissionTransactionState = (typeof TaxInvoiceBulkIssueSubmissionTransactionStates)[keyof typeof TaxInvoiceBulkIssueSubmissionTransactionStates];
|
|
556
552
|
/**
|
|
557
553
|
* 초대량 발행 개별 처리 결과입니다.
|
|
558
554
|
*/
|
|
559
|
-
interface TaxInvoiceBulkIssueSubmissionResultItem {
|
|
555
|
+
export interface TaxInvoiceBulkIssueSubmissionResultItem {
|
|
560
556
|
/**
|
|
561
557
|
* 문서번호 유형 코드입니다.
|
|
562
558
|
*/
|
|
@@ -593,11 +589,15 @@ interface TaxInvoiceBulkIssueSubmissionResultItem {
|
|
|
593
589
|
/**
|
|
594
590
|
* 초대량 접수결과 조회 결과입니다.
|
|
595
591
|
*/
|
|
596
|
-
interface TaxInvoiceBulkIssueSubmissionResult extends TaxInvoiceOperationResult {
|
|
592
|
+
export interface TaxInvoiceBulkIssueSubmissionResult extends TaxInvoiceOperationResult {
|
|
597
593
|
/**
|
|
598
594
|
* 접수 식별자입니다.
|
|
599
595
|
*/
|
|
600
596
|
receiptIdentifier?: string;
|
|
597
|
+
/**
|
|
598
|
+
* 접수일시(yyyyMMddHHmmss)입니다.
|
|
599
|
+
*/
|
|
600
|
+
receivedAt?: string;
|
|
601
601
|
/**
|
|
602
602
|
* 제출 식별자입니다.
|
|
603
603
|
*/
|
|
@@ -638,7 +638,7 @@ interface TaxInvoiceBulkIssueSubmissionResult extends TaxInvoiceOperationResult
|
|
|
638
638
|
/**
|
|
639
639
|
* 문서 요약정보 조회 결과입니다.
|
|
640
640
|
*/
|
|
641
|
-
interface TaxInvoiceInfo {
|
|
641
|
+
export interface TaxInvoiceInfo {
|
|
642
642
|
/**
|
|
643
643
|
* 팝빌 문서 식별키(ItemKey)입니다.
|
|
644
644
|
*/
|
|
@@ -674,7 +674,7 @@ interface TaxInvoiceInfo {
|
|
|
674
674
|
/**
|
|
675
675
|
* 발행일시(yyyyMMddHHmmss)입니다.
|
|
676
676
|
*/
|
|
677
|
-
issuedAt
|
|
677
|
+
issuedAt?: string;
|
|
678
678
|
/**
|
|
679
679
|
* 지연발행 여부입니다.
|
|
680
680
|
*/
|
|
@@ -690,7 +690,7 @@ interface TaxInvoiceInfo {
|
|
|
690
690
|
/**
|
|
691
691
|
* 상태 메모입니다.
|
|
692
692
|
*/
|
|
693
|
-
stateMemo
|
|
693
|
+
stateMemo?: string;
|
|
694
694
|
/**
|
|
695
695
|
* 상태 코드입니다.
|
|
696
696
|
*/
|
|
@@ -787,7 +787,7 @@ interface TaxInvoiceInfo {
|
|
|
787
787
|
/**
|
|
788
788
|
* 문서 상세조회 결과입니다.
|
|
789
789
|
*/
|
|
790
|
-
interface TaxInvoiceDocumentOutput extends TaxInvoiceDocumentInput {
|
|
790
|
+
export interface TaxInvoiceDocumentOutput extends TaxInvoiceDocumentInput {
|
|
791
791
|
/**
|
|
792
792
|
* 발행일시(yyyyMMddHHmmss)입니다.
|
|
793
793
|
*/
|
|
@@ -840,7 +840,7 @@ interface TaxInvoiceDocumentOutput extends TaxInvoiceDocumentInput {
|
|
|
840
840
|
/**
|
|
841
841
|
* 문서번호 사용 여부 조회 결과입니다.
|
|
842
842
|
*/
|
|
843
|
-
interface TaxInvoiceInvoiceManagementKeyUsage {
|
|
843
|
+
export interface TaxInvoiceInvoiceManagementKeyUsage {
|
|
844
844
|
/**
|
|
845
845
|
* 문서번호 사용 여부입니다.
|
|
846
846
|
*/
|
|
@@ -853,7 +853,7 @@ interface TaxInvoiceInvoiceManagementKeyUsage {
|
|
|
853
853
|
/**
|
|
854
854
|
* XML 조회 결과입니다.
|
|
855
855
|
*/
|
|
856
|
-
interface TaxInvoiceXmlResult {
|
|
856
|
+
export interface TaxInvoiceXmlResult {
|
|
857
857
|
/**
|
|
858
858
|
* 처리 결과입니다.
|
|
859
859
|
*/
|
|
@@ -874,7 +874,7 @@ interface TaxInvoiceXmlResult {
|
|
|
874
874
|
/**
|
|
875
875
|
* 검색 조회 결과입니다.
|
|
876
876
|
*/
|
|
877
|
-
interface TaxInvoiceSearchResult {
|
|
877
|
+
export interface TaxInvoiceSearchResult {
|
|
878
878
|
/**
|
|
879
879
|
* 처리 결과입니다.
|
|
880
880
|
*/
|
|
@@ -903,7 +903,7 @@ interface TaxInvoiceSearchResult {
|
|
|
903
903
|
/**
|
|
904
904
|
* 문서 상태 이력 항목입니다.
|
|
905
905
|
*/
|
|
906
|
-
interface TaxInvoiceLogEntry {
|
|
906
|
+
export interface TaxInvoiceLogEntry {
|
|
907
907
|
/**
|
|
908
908
|
* 문서 이력 유형 코드입니다.
|
|
909
909
|
*/
|
|
@@ -940,7 +940,7 @@ interface TaxInvoiceLogEntry {
|
|
|
940
940
|
/**
|
|
941
941
|
* URL 응답 결과입니다.
|
|
942
942
|
*/
|
|
943
|
-
interface TaxInvoiceAccessUrl {
|
|
943
|
+
export interface TaxInvoiceAccessUrl {
|
|
944
944
|
/**
|
|
945
945
|
* 접근 URL입니다.
|
|
946
946
|
*/
|
|
@@ -949,7 +949,7 @@ interface TaxInvoiceAccessUrl {
|
|
|
949
949
|
/**
|
|
950
950
|
* 첨부파일 메타데이터입니다.
|
|
951
951
|
*/
|
|
952
|
-
interface TaxInvoiceAttachedFile {
|
|
952
|
+
export interface TaxInvoiceAttachedFile {
|
|
953
953
|
/**
|
|
954
954
|
* 첨부 순번입니다.
|
|
955
955
|
*/
|
|
@@ -970,7 +970,7 @@ interface TaxInvoiceAttachedFile {
|
|
|
970
970
|
/**
|
|
971
971
|
* 이메일 전송 설정 항목입니다.
|
|
972
972
|
*/
|
|
973
|
-
interface TaxInvoiceEmailSendSetting {
|
|
973
|
+
export interface TaxInvoiceEmailSendSetting {
|
|
974
974
|
/**
|
|
975
975
|
* 메일 유형 코드입니다.
|
|
976
976
|
*/
|
|
@@ -983,7 +983,7 @@ interface TaxInvoiceEmailSendSetting {
|
|
|
983
983
|
/**
|
|
984
984
|
* 국세청 전송 설정입니다.
|
|
985
985
|
*/
|
|
986
|
-
interface TaxInvoiceSendToNationalTaxServiceSetting {
|
|
986
|
+
export interface TaxInvoiceSendToNationalTaxServiceSetting {
|
|
987
987
|
/**
|
|
988
988
|
* 즉시 전송 여부입니다.
|
|
989
989
|
*/
|
|
@@ -992,7 +992,7 @@ interface TaxInvoiceSendToNationalTaxServiceSetting {
|
|
|
992
992
|
/**
|
|
993
993
|
* 인증서 만료일 조회 결과입니다.
|
|
994
994
|
*/
|
|
995
|
-
interface TaxInvoiceTaxCertificateExpiration {
|
|
995
|
+
export interface TaxInvoiceTaxCertificateExpiration {
|
|
996
996
|
/**
|
|
997
997
|
* 만료일시(yyyyMMddHHmmss)입니다.
|
|
998
998
|
*/
|
|
@@ -1001,7 +1001,7 @@ interface TaxInvoiceTaxCertificateExpiration {
|
|
|
1001
1001
|
/**
|
|
1002
1002
|
* 인증서 정보 조회 결과입니다.
|
|
1003
1003
|
*/
|
|
1004
|
-
interface TaxInvoiceTaxCertificateInfo {
|
|
1004
|
+
export interface TaxInvoiceTaxCertificateInfo {
|
|
1005
1005
|
/**
|
|
1006
1006
|
* 등록일시(yyyyMMddHHmmss)입니다.
|
|
1007
1007
|
*/
|
|
@@ -1035,282 +1035,280 @@ interface TaxInvoiceTaxCertificateInfo {
|
|
|
1035
1035
|
*/
|
|
1036
1036
|
registeredContactIdentifier?: string;
|
|
1037
1037
|
}
|
|
1038
|
-
//#endregion
|
|
1039
|
-
//#region src/services/tax-invoice/types/index.d.ts
|
|
1040
1038
|
/**
|
|
1041
1039
|
* 세금계산서 문서번호 유형 상수입니다.
|
|
1042
1040
|
*/
|
|
1043
|
-
declare const TaxInvoiceDocumentKeyTypes: {
|
|
1041
|
+
export declare const TaxInvoiceDocumentKeyTypes: {
|
|
1044
1042
|
/**
|
|
1045
1043
|
* 코드: `SELL`, 설명: 매출 문서번호 유형
|
|
1046
1044
|
*/
|
|
1047
|
-
readonly Sales:
|
|
1045
|
+
readonly Sales: 'SELL';
|
|
1048
1046
|
/**
|
|
1049
1047
|
* 코드: `BUY`, 설명: 매입 문서번호 유형
|
|
1050
1048
|
*/
|
|
1051
|
-
readonly Purchase:
|
|
1049
|
+
readonly Purchase: 'BUY';
|
|
1052
1050
|
/**
|
|
1053
1051
|
* 코드: `TRUSTEE`, 설명: 위수탁 문서번호 유형
|
|
1054
1052
|
*/
|
|
1055
|
-
readonly Trustee:
|
|
1053
|
+
readonly Trustee: 'TRUSTEE';
|
|
1056
1054
|
};
|
|
1057
1055
|
/**
|
|
1058
1056
|
* 세금계산서 문서번호 유형입니다.
|
|
1059
1057
|
*/
|
|
1060
|
-
type TaxInvoiceDocumentKeyType = (typeof TaxInvoiceDocumentKeyTypes)[keyof typeof TaxInvoiceDocumentKeyTypes];
|
|
1061
|
-
type TaxInvoiceOutboundDocumentKeyType = Extract<TaxInvoiceDocumentKeyType, typeof TaxInvoiceDocumentKeyTypes.Sales | typeof TaxInvoiceDocumentKeyTypes.Trustee>;
|
|
1062
|
-
type TaxInvoiceReverseRequestDocumentKeyType = typeof TaxInvoiceDocumentKeyTypes.Purchase;
|
|
1063
|
-
type TaxInvoiceReverseRefuseDocumentKeyType = typeof TaxInvoiceDocumentKeyTypes.Sales;
|
|
1058
|
+
export type TaxInvoiceDocumentKeyType = (typeof TaxInvoiceDocumentKeyTypes)[keyof typeof TaxInvoiceDocumentKeyTypes];
|
|
1059
|
+
export type TaxInvoiceOutboundDocumentKeyType = Extract<TaxInvoiceDocumentKeyType, typeof TaxInvoiceDocumentKeyTypes.Sales | typeof TaxInvoiceDocumentKeyTypes.Trustee>;
|
|
1060
|
+
export type TaxInvoiceReverseRequestDocumentKeyType = typeof TaxInvoiceDocumentKeyTypes.Purchase;
|
|
1061
|
+
export type TaxInvoiceReverseRefuseDocumentKeyType = typeof TaxInvoiceDocumentKeyTypes.Sales;
|
|
1064
1062
|
/**
|
|
1065
1063
|
* 세금계산서 문서함 범위 상수입니다.
|
|
1066
1064
|
*/
|
|
1067
|
-
declare const TaxInvoiceBoxScopes: {
|
|
1065
|
+
export declare const TaxInvoiceBoxScopes: {
|
|
1068
1066
|
/**
|
|
1069
1067
|
* 코드: `TBOX`, 설명: 임시 문서함
|
|
1070
1068
|
*/
|
|
1071
|
-
readonly TemporaryDocumentBox:
|
|
1069
|
+
readonly TemporaryDocumentBox: 'TBOX';
|
|
1072
1070
|
/**
|
|
1073
1071
|
* 코드: `SWBOX`, 설명: 매출 발행 대기함
|
|
1074
1072
|
*/
|
|
1075
|
-
readonly SalesIssueWaitingBox:
|
|
1073
|
+
readonly SalesIssueWaitingBox: 'SWBOX';
|
|
1076
1074
|
/**
|
|
1077
1075
|
* 코드: `SBOX`, 설명: 매출 문서함
|
|
1078
1076
|
*/
|
|
1079
|
-
readonly SalesDocumentBox:
|
|
1077
|
+
readonly SalesDocumentBox: 'SBOX';
|
|
1080
1078
|
/**
|
|
1081
1079
|
* 코드: `PWBOX`, 설명: 매입 발행 대기함
|
|
1082
1080
|
*/
|
|
1083
|
-
readonly PurchaseIssueWaitingBox:
|
|
1081
|
+
readonly PurchaseIssueWaitingBox: 'PWBOX';
|
|
1084
1082
|
/**
|
|
1085
1083
|
* 코드: `PBOX`, 설명: 매입 문서함
|
|
1086
1084
|
*/
|
|
1087
|
-
readonly PurchaseDocumentBox:
|
|
1085
|
+
readonly PurchaseDocumentBox: 'PBOX';
|
|
1088
1086
|
/**
|
|
1089
1087
|
* 코드: `WRITE`, 설명: 정발행 작성
|
|
1090
1088
|
*/
|
|
1091
|
-
readonly WriteInvoice:
|
|
1089
|
+
readonly WriteInvoice: 'WRITE';
|
|
1092
1090
|
};
|
|
1093
1091
|
/**
|
|
1094
1092
|
* 세금계산서 문서함 범위 값입니다.
|
|
1095
1093
|
*/
|
|
1096
|
-
type TaxInvoiceBoxScope = (typeof TaxInvoiceBoxScopes)[keyof typeof TaxInvoiceBoxScopes];
|
|
1094
|
+
export type TaxInvoiceBoxScope = (typeof TaxInvoiceBoxScopes)[keyof typeof TaxInvoiceBoxScopes];
|
|
1097
1095
|
/**
|
|
1098
1096
|
* 검색일자 유형 상수입니다.
|
|
1099
1097
|
*/
|
|
1100
|
-
declare const TaxInvoiceDateType: {
|
|
1098
|
+
export declare const TaxInvoiceDateType: {
|
|
1101
1099
|
/**
|
|
1102
1100
|
* 코드: `R`, 설명: 등록일자
|
|
1103
1101
|
*/
|
|
1104
|
-
readonly Registered:
|
|
1102
|
+
readonly Registered: 'R';
|
|
1105
1103
|
/**
|
|
1106
1104
|
* 코드: `W`, 설명: 작성일자
|
|
1107
1105
|
*/
|
|
1108
|
-
readonly Written:
|
|
1106
|
+
readonly Written: 'W';
|
|
1109
1107
|
/**
|
|
1110
1108
|
* 코드: `I`, 설명: 발행일자
|
|
1111
1109
|
*/
|
|
1112
|
-
readonly Issued:
|
|
1110
|
+
readonly Issued: 'I';
|
|
1113
1111
|
};
|
|
1114
1112
|
/**
|
|
1115
1113
|
* 검색일자 유형입니다.
|
|
1116
1114
|
*/
|
|
1117
|
-
type TaxInvoiceDateType = (typeof TaxInvoiceDateType)[keyof typeof TaxInvoiceDateType];
|
|
1115
|
+
export type TaxInvoiceDateType = (typeof TaxInvoiceDateType)[keyof typeof TaxInvoiceDateType];
|
|
1118
1116
|
/**
|
|
1119
1117
|
* `packages/popbill` 검색 입력에서 허용하는 일자 타입입니다.
|
|
1120
1118
|
*/
|
|
1121
|
-
type TaxInvoiceDateInput = TaxInvoiceDateString | Date;
|
|
1119
|
+
export type TaxInvoiceDateInput = TaxInvoiceDateString | Date;
|
|
1122
1120
|
/**
|
|
1123
1121
|
* 검색 정렬 방향 상수입니다.
|
|
1124
1122
|
*/
|
|
1125
|
-
declare const TaxInvoiceSortOrder: {
|
|
1123
|
+
export declare const TaxInvoiceSortOrder: {
|
|
1126
1124
|
/**
|
|
1127
1125
|
* 코드: `D`, 설명: 내림차순
|
|
1128
1126
|
*/
|
|
1129
|
-
readonly Descending:
|
|
1127
|
+
readonly Descending: 'D';
|
|
1130
1128
|
/**
|
|
1131
1129
|
* 코드: `A`, 설명: 오름차순
|
|
1132
1130
|
*/
|
|
1133
|
-
readonly Ascending:
|
|
1131
|
+
readonly Ascending: 'A';
|
|
1134
1132
|
};
|
|
1135
1133
|
/**
|
|
1136
1134
|
* 검색 정렬 방향 코드입니다.
|
|
1137
1135
|
*/
|
|
1138
|
-
type TaxInvoiceSortOrder = (typeof TaxInvoiceSortOrder)[keyof typeof TaxInvoiceSortOrder];
|
|
1136
|
+
export type TaxInvoiceSortOrder = (typeof TaxInvoiceSortOrder)[keyof typeof TaxInvoiceSortOrder];
|
|
1139
1137
|
/**
|
|
1140
1138
|
* 검색 상태코드 패턴입니다.
|
|
1141
1139
|
*
|
|
1142
1140
|
* 첫 자리는 숫자, 2/3번째 자리는 숫자 또는 `*`를 허용합니다.
|
|
1143
1141
|
* 예) `300`, `3**`, `60*`
|
|
1144
1142
|
*/
|
|
1145
|
-
type TaxInvoiceSearchStateCode = string;
|
|
1143
|
+
export type TaxInvoiceSearchStateCode = string;
|
|
1146
1144
|
/**
|
|
1147
1145
|
* 검색 문서유형 코드 상수입니다.
|
|
1148
1146
|
*/
|
|
1149
|
-
declare const TaxInvoiceSearchInvoiceTypeCodes: {
|
|
1147
|
+
export declare const TaxInvoiceSearchInvoiceTypeCodes: {
|
|
1150
1148
|
/**
|
|
1151
1149
|
* 코드: `N`, 설명: 세금계산서
|
|
1152
1150
|
*/
|
|
1153
|
-
readonly Normal:
|
|
1151
|
+
readonly Normal: 'N';
|
|
1154
1152
|
/**
|
|
1155
1153
|
* 코드: `M`, 설명: 수정세금계산서
|
|
1156
1154
|
*/
|
|
1157
|
-
readonly Modified:
|
|
1155
|
+
readonly Modified: 'M';
|
|
1158
1156
|
};
|
|
1159
1157
|
/**
|
|
1160
1158
|
* 검색 문서유형 코드입니다.
|
|
1161
1159
|
*/
|
|
1162
|
-
type TaxInvoiceSearchInvoiceTypeCode = (typeof TaxInvoiceSearchInvoiceTypeCodes)[keyof typeof TaxInvoiceSearchInvoiceTypeCodes];
|
|
1160
|
+
export type TaxInvoiceSearchInvoiceTypeCode = (typeof TaxInvoiceSearchInvoiceTypeCodes)[keyof typeof TaxInvoiceSearchInvoiceTypeCodes];
|
|
1163
1161
|
/**
|
|
1164
1162
|
* 검색 과세형태 코드 상수입니다.
|
|
1165
1163
|
*/
|
|
1166
|
-
declare const TaxInvoiceSearchTaxationTypeCodes: {
|
|
1164
|
+
export declare const TaxInvoiceSearchTaxationTypeCodes: {
|
|
1167
1165
|
/**
|
|
1168
1166
|
* 코드: `T`, 설명: 과세
|
|
1169
1167
|
*/
|
|
1170
|
-
readonly Taxable:
|
|
1168
|
+
readonly Taxable: 'T';
|
|
1171
1169
|
/**
|
|
1172
1170
|
* 코드: `N`, 설명: 면세
|
|
1173
1171
|
*/
|
|
1174
|
-
readonly Exempt:
|
|
1172
|
+
readonly Exempt: 'N';
|
|
1175
1173
|
/**
|
|
1176
1174
|
* 코드: `Z`, 설명: 영세
|
|
1177
1175
|
*/
|
|
1178
|
-
readonly ZeroRated:
|
|
1176
|
+
readonly ZeroRated: 'Z';
|
|
1179
1177
|
};
|
|
1180
1178
|
/**
|
|
1181
1179
|
* 검색 과세형태 코드입니다.
|
|
1182
1180
|
*/
|
|
1183
|
-
type TaxInvoiceSearchTaxationTypeCode = (typeof TaxInvoiceSearchTaxationTypeCodes)[keyof typeof TaxInvoiceSearchTaxationTypeCodes];
|
|
1181
|
+
export type TaxInvoiceSearchTaxationTypeCode = (typeof TaxInvoiceSearchTaxationTypeCodes)[keyof typeof TaxInvoiceSearchTaxationTypeCodes];
|
|
1184
1182
|
/**
|
|
1185
1183
|
* 검색 발행형태 코드 상수입니다.
|
|
1186
1184
|
*/
|
|
1187
|
-
declare const TaxInvoiceSearchIssueTypeCodes: {
|
|
1185
|
+
export declare const TaxInvoiceSearchIssueTypeCodes: {
|
|
1188
1186
|
/**
|
|
1189
1187
|
* 코드: `N`, 설명: 정발행
|
|
1190
1188
|
*/
|
|
1191
|
-
readonly Normal:
|
|
1189
|
+
readonly Normal: 'N';
|
|
1192
1190
|
/**
|
|
1193
1191
|
* 코드: `R`, 설명: 역발행
|
|
1194
1192
|
*/
|
|
1195
|
-
readonly Reverse:
|
|
1193
|
+
readonly Reverse: 'R';
|
|
1196
1194
|
/**
|
|
1197
1195
|
* 코드: `T`, 설명: 위수탁
|
|
1198
1196
|
*/
|
|
1199
|
-
readonly Trustee:
|
|
1197
|
+
readonly Trustee: 'T';
|
|
1200
1198
|
};
|
|
1201
1199
|
/**
|
|
1202
1200
|
* 검색 발행형태 코드입니다.
|
|
1203
1201
|
*/
|
|
1204
|
-
type TaxInvoiceSearchIssueTypeCode = (typeof TaxInvoiceSearchIssueTypeCodes)[keyof typeof TaxInvoiceSearchIssueTypeCodes];
|
|
1202
|
+
export type TaxInvoiceSearchIssueTypeCode = (typeof TaxInvoiceSearchIssueTypeCodes)[keyof typeof TaxInvoiceSearchIssueTypeCodes];
|
|
1205
1203
|
/**
|
|
1206
1204
|
* 검색 종사업장번호 주체 코드 상수입니다.
|
|
1207
1205
|
*/
|
|
1208
|
-
declare const TaxInvoiceSearchTaxRegistrationIdentifierTypes: {
|
|
1206
|
+
export declare const TaxInvoiceSearchTaxRegistrationIdentifierTypes: {
|
|
1209
1207
|
/**
|
|
1210
1208
|
* 코드: `S`, 설명: 공급자
|
|
1211
1209
|
*/
|
|
1212
|
-
readonly Supplier:
|
|
1210
|
+
readonly Supplier: 'S';
|
|
1213
1211
|
/**
|
|
1214
1212
|
* 코드: `B`, 설명: 공급받는자
|
|
1215
1213
|
*/
|
|
1216
|
-
readonly Buyer:
|
|
1214
|
+
readonly Buyer: 'B';
|
|
1217
1215
|
/**
|
|
1218
1216
|
* 코드: `T`, 설명: 수탁자
|
|
1219
1217
|
*/
|
|
1220
|
-
readonly Trustee:
|
|
1218
|
+
readonly Trustee: 'T';
|
|
1221
1219
|
};
|
|
1222
1220
|
/**
|
|
1223
1221
|
* 검색 종사업장번호 주체 코드입니다.
|
|
1224
1222
|
*/
|
|
1225
|
-
type TaxInvoiceSearchTaxRegistrationIdentifierType = (typeof TaxInvoiceSearchTaxRegistrationIdentifierTypes)[keyof typeof TaxInvoiceSearchTaxRegistrationIdentifierTypes];
|
|
1223
|
+
export type TaxInvoiceSearchTaxRegistrationIdentifierType = (typeof TaxInvoiceSearchTaxRegistrationIdentifierTypes)[keyof typeof TaxInvoiceSearchTaxRegistrationIdentifierTypes];
|
|
1226
1224
|
/**
|
|
1227
1225
|
* 검색 종사업장번호 유무 코드 상수입니다.
|
|
1228
1226
|
*/
|
|
1229
|
-
declare const TaxInvoiceSearchTaxRegistrationIdentifierAvailabilities: {
|
|
1227
|
+
export declare const TaxInvoiceSearchTaxRegistrationIdentifierAvailabilities: {
|
|
1230
1228
|
/**
|
|
1231
1229
|
* 코드: `0`, 설명: 종사업장번호 없음
|
|
1232
1230
|
*/
|
|
1233
|
-
readonly No:
|
|
1231
|
+
readonly No: '0';
|
|
1234
1232
|
/**
|
|
1235
1233
|
* 코드: `1`, 설명: 종사업장번호 있음
|
|
1236
1234
|
*/
|
|
1237
|
-
readonly Yes:
|
|
1235
|
+
readonly Yes: '1';
|
|
1238
1236
|
};
|
|
1239
1237
|
/**
|
|
1240
1238
|
* 검색 종사업장번호 유무 코드입니다.
|
|
1241
1239
|
*/
|
|
1242
|
-
type TaxInvoiceSearchTaxRegistrationIdentifierAvailability = (typeof TaxInvoiceSearchTaxRegistrationIdentifierAvailabilities)[keyof typeof TaxInvoiceSearchTaxRegistrationIdentifierAvailabilities];
|
|
1240
|
+
export type TaxInvoiceSearchTaxRegistrationIdentifierAvailability = (typeof TaxInvoiceSearchTaxRegistrationIdentifierAvailabilities)[keyof typeof TaxInvoiceSearchTaxRegistrationIdentifierAvailabilities];
|
|
1243
1241
|
/**
|
|
1244
1242
|
* 검색 작성유형 코드 상수입니다.
|
|
1245
1243
|
*/
|
|
1246
|
-
declare const TaxInvoiceSearchInteroperabilityTypes: {
|
|
1244
|
+
export declare const TaxInvoiceSearchInteroperabilityTypes: {
|
|
1247
1245
|
/**
|
|
1248
1246
|
* 코드: `0`, 설명: 팝빌 웹 작성
|
|
1249
1247
|
*/
|
|
1250
|
-
readonly PopbillWeb:
|
|
1248
|
+
readonly PopbillWeb: '0';
|
|
1251
1249
|
/**
|
|
1252
1250
|
* 코드: `1`, 설명: API 작성
|
|
1253
1251
|
*/
|
|
1254
|
-
readonly Api:
|
|
1252
|
+
readonly Api: '1';
|
|
1255
1253
|
};
|
|
1256
1254
|
/**
|
|
1257
1255
|
* 검색 작성유형 코드입니다.
|
|
1258
1256
|
*/
|
|
1259
|
-
type TaxInvoiceSearchInteroperabilityType = (typeof TaxInvoiceSearchInteroperabilityTypes)[keyof typeof TaxInvoiceSearchInteroperabilityTypes];
|
|
1257
|
+
export type TaxInvoiceSearchInteroperabilityType = (typeof TaxInvoiceSearchInteroperabilityTypes)[keyof typeof TaxInvoiceSearchInteroperabilityTypes];
|
|
1260
1258
|
/**
|
|
1261
1259
|
* 검색 등록유형 코드 상수입니다.
|
|
1262
1260
|
*/
|
|
1263
|
-
declare const TaxInvoiceSearchRegistrationTypeCodes: {
|
|
1261
|
+
export declare const TaxInvoiceSearchRegistrationTypeCodes: {
|
|
1264
1262
|
/**
|
|
1265
1263
|
* 코드: `P`, 설명: 팝빌 등록(발행)
|
|
1266
1264
|
*/
|
|
1267
|
-
readonly Popbill:
|
|
1265
|
+
readonly Popbill: 'P';
|
|
1268
1266
|
/**
|
|
1269
1267
|
* 코드: `H`, 설명: 홈택스/ASP 등록(발행)
|
|
1270
1268
|
*/
|
|
1271
|
-
readonly HomeTax:
|
|
1269
|
+
readonly HomeTax: 'H';
|
|
1272
1270
|
};
|
|
1273
1271
|
/**
|
|
1274
1272
|
* 검색 등록유형 코드입니다.
|
|
1275
1273
|
*/
|
|
1276
|
-
type TaxInvoiceSearchRegistrationTypeCode = (typeof TaxInvoiceSearchRegistrationTypeCodes)[keyof typeof TaxInvoiceSearchRegistrationTypeCodes];
|
|
1274
|
+
export type TaxInvoiceSearchRegistrationTypeCode = (typeof TaxInvoiceSearchRegistrationTypeCodes)[keyof typeof TaxInvoiceSearchRegistrationTypeCodes];
|
|
1277
1275
|
/**
|
|
1278
1276
|
* 검색 조건의 휴폐업 상태 상수입니다.
|
|
1279
1277
|
*/
|
|
1280
|
-
declare const TaxInvoiceCloseDownStateCodes: {
|
|
1278
|
+
export declare const TaxInvoiceCloseDownStateCodes: {
|
|
1281
1279
|
/**
|
|
1282
1280
|
* 코드: `N`, 설명: 미확인
|
|
1283
1281
|
*/
|
|
1284
|
-
readonly NotChecked:
|
|
1282
|
+
readonly NotChecked: 'N';
|
|
1285
1283
|
/**
|
|
1286
1284
|
* 코드: `0`, 설명: 미등록
|
|
1287
1285
|
*/
|
|
1288
|
-
readonly NotRegistered:
|
|
1286
|
+
readonly NotRegistered: '0';
|
|
1289
1287
|
/**
|
|
1290
1288
|
* 코드: `1`, 설명: 사업중
|
|
1291
1289
|
*/
|
|
1292
|
-
readonly Operating:
|
|
1290
|
+
readonly Operating: '1';
|
|
1293
1291
|
/**
|
|
1294
1292
|
* 코드: `2`, 설명: 폐업
|
|
1295
1293
|
*/
|
|
1296
|
-
readonly Closed:
|
|
1294
|
+
readonly Closed: '2';
|
|
1297
1295
|
/**
|
|
1298
1296
|
* 코드: `3`, 설명: 휴업
|
|
1299
1297
|
*/
|
|
1300
|
-
readonly Suspended:
|
|
1298
|
+
readonly Suspended: '3';
|
|
1301
1299
|
/**
|
|
1302
1300
|
* 코드: `4`, 설명: 확인실패
|
|
1303
1301
|
*/
|
|
1304
|
-
readonly CheckFailed:
|
|
1302
|
+
readonly CheckFailed: '4';
|
|
1305
1303
|
};
|
|
1306
1304
|
/**
|
|
1307
1305
|
* 검색 조건의 휴폐업 상태 코드입니다.
|
|
1308
1306
|
*/
|
|
1309
|
-
type TaxInvoiceCloseDownStateCode = (typeof TaxInvoiceCloseDownStateCodes)[keyof typeof TaxInvoiceCloseDownStateCodes];
|
|
1307
|
+
export type TaxInvoiceCloseDownStateCode = (typeof TaxInvoiceCloseDownStateCodes)[keyof typeof TaxInvoiceCloseDownStateCodes];
|
|
1310
1308
|
/**
|
|
1311
1309
|
* 전자명세서 문서유형 코드 상수입니다.
|
|
1312
1310
|
*/
|
|
1313
|
-
declare const TaxInvoiceStatementItemCodes: {
|
|
1311
|
+
export declare const TaxInvoiceStatementItemCodes: {
|
|
1314
1312
|
/**
|
|
1315
1313
|
* 코드: `121`, 설명: 거래명세서
|
|
1316
1314
|
*/
|
|
@@ -1339,96 +1337,96 @@ declare const TaxInvoiceStatementItemCodes: {
|
|
|
1339
1337
|
/**
|
|
1340
1338
|
* 전자명세서 문서유형 코드입니다.
|
|
1341
1339
|
*/
|
|
1342
|
-
type TaxInvoiceStatementItemCode = (typeof TaxInvoiceStatementItemCodes)[keyof typeof TaxInvoiceStatementItemCodes];
|
|
1340
|
+
export type TaxInvoiceStatementItemCode = (typeof TaxInvoiceStatementItemCodes)[keyof typeof TaxInvoiceStatementItemCodes];
|
|
1343
1341
|
/**
|
|
1344
1342
|
* 메일 전송 유형 코드 상수입니다.
|
|
1345
1343
|
*/
|
|
1346
|
-
declare const TaxInvoiceEmailTypes: {
|
|
1344
|
+
export declare const TaxInvoiceEmailTypes: {
|
|
1347
1345
|
/**
|
|
1348
1346
|
* 코드: `ETC_CERT_EXPIRATION`, 설명: 인증서 만료 안내
|
|
1349
1347
|
*/
|
|
1350
|
-
readonly EtcCertExpiration:
|
|
1348
|
+
readonly EtcCertExpiration: 'ETC_CERT_EXPIRATION';
|
|
1351
1349
|
/**
|
|
1352
1350
|
* 코드: `TAX_CANCEL_ISSUE`, 설명: 발행취소
|
|
1353
1351
|
*/
|
|
1354
|
-
readonly TaxCancelIssue:
|
|
1352
|
+
readonly TaxCancelIssue: 'TAX_CANCEL_ISSUE';
|
|
1355
1353
|
/**
|
|
1356
1354
|
* 코드: `TAX_CANCEL_REQUEST`, 설명: 역발행 요청 취소
|
|
1357
1355
|
*/
|
|
1358
|
-
readonly TaxCancelRequest:
|
|
1356
|
+
readonly TaxCancelRequest: 'TAX_CANCEL_REQUEST';
|
|
1359
1357
|
/**
|
|
1360
1358
|
* 코드: `TAX_CHECK`, 설명: 수신확인
|
|
1361
1359
|
*/
|
|
1362
|
-
readonly TaxCheck:
|
|
1360
|
+
readonly TaxCheck: 'TAX_CHECK';
|
|
1363
1361
|
/**
|
|
1364
1362
|
* 코드: `TAX_CLOSEDOWN`, 설명: 휴폐업 알림
|
|
1365
1363
|
*/
|
|
1366
|
-
readonly TaxClosedown:
|
|
1364
|
+
readonly TaxClosedown: 'TAX_CLOSEDOWN';
|
|
1367
1365
|
/**
|
|
1368
1366
|
* 코드: `TAX_ISSUE`, 설명: 발행완료(수신자)
|
|
1369
1367
|
*/
|
|
1370
|
-
readonly TaxIssue:
|
|
1368
|
+
readonly TaxIssue: 'TAX_ISSUE';
|
|
1371
1369
|
/**
|
|
1372
1370
|
* 코드: `TAX_ISSUE_INVOICER`, 설명: 발행완료(공급자)
|
|
1373
1371
|
*/
|
|
1374
|
-
readonly TaxIssueInvoicer:
|
|
1372
|
+
readonly TaxIssueInvoicer: 'TAX_ISSUE_INVOICER';
|
|
1375
1373
|
/**
|
|
1376
1374
|
* 코드: `TAX_NTSFAIL_INVOICER`, 설명: 국세청 전송실패(공급자)
|
|
1377
1375
|
*/
|
|
1378
|
-
readonly TaxNtsFailInvoicer:
|
|
1376
|
+
readonly TaxNtsFailInvoicer: 'TAX_NTSFAIL_INVOICER';
|
|
1379
1377
|
/**
|
|
1380
1378
|
* 코드: `TAX_REFUSE`, 설명: 역발행 거부
|
|
1381
1379
|
*/
|
|
1382
|
-
readonly TaxRefuse:
|
|
1380
|
+
readonly TaxRefuse: 'TAX_REFUSE';
|
|
1383
1381
|
/**
|
|
1384
1382
|
* 코드: `TAX_REQUEST`, 설명: 역발행 요청
|
|
1385
1383
|
*/
|
|
1386
|
-
readonly TaxRequest:
|
|
1384
|
+
readonly TaxRequest: 'TAX_REQUEST';
|
|
1387
1385
|
/**
|
|
1388
1386
|
* 코드: `TAX_REVERSE_ISSUE`, 설명: 역발행 완료
|
|
1389
1387
|
*/
|
|
1390
|
-
readonly TaxReverseIssue:
|
|
1388
|
+
readonly TaxReverseIssue: 'TAX_REVERSE_ISSUE';
|
|
1391
1389
|
/**
|
|
1392
1390
|
* 코드: `TAX_TRUST_CANCEL_ISSUE`, 설명: 위수탁 발행취소
|
|
1393
1391
|
*/
|
|
1394
|
-
readonly TaxTrustCancelIssue:
|
|
1392
|
+
readonly TaxTrustCancelIssue: 'TAX_TRUST_CANCEL_ISSUE';
|
|
1395
1393
|
/**
|
|
1396
1394
|
* 코드: `TAX_TRUST_CANCEL_ISSUE_INVOICER`, 설명: 위수탁 발행취소(공급자)
|
|
1397
1395
|
*/
|
|
1398
|
-
readonly TaxTrustCancelIssueInvoicer:
|
|
1396
|
+
readonly TaxTrustCancelIssueInvoicer: 'TAX_TRUST_CANCEL_ISSUE_INVOICER';
|
|
1399
1397
|
/**
|
|
1400
1398
|
* 코드: `TAX_TRUST_ISSUE`, 설명: 위수탁 발행완료
|
|
1401
1399
|
*/
|
|
1402
|
-
readonly TaxTrustIssue:
|
|
1400
|
+
readonly TaxTrustIssue: 'TAX_TRUST_ISSUE';
|
|
1403
1401
|
/**
|
|
1404
1402
|
* 코드: `TAX_TRUST_ISSUE_INVOICER`, 설명: 위수탁 발행완료(공급자)
|
|
1405
1403
|
*/
|
|
1406
|
-
readonly TaxTrustIssueInvoicer:
|
|
1404
|
+
readonly TaxTrustIssueInvoicer: 'TAX_TRUST_ISSUE_INVOICER';
|
|
1407
1405
|
/**
|
|
1408
1406
|
* 코드: `TAX_TRUST_ISSUE_TRUSTEE`, 설명: 위수탁 발행완료(수탁자)
|
|
1409
1407
|
*/
|
|
1410
|
-
readonly TaxTrustIssueTrustee:
|
|
1408
|
+
readonly TaxTrustIssueTrustee: 'TAX_TRUST_ISSUE_TRUSTEE';
|
|
1411
1409
|
/**
|
|
1412
1410
|
* 코드: `TAX_ACCEPT`, 설명: 역발행 승인(legacy)
|
|
1413
1411
|
*/
|
|
1414
|
-
readonly TaxAccept:
|
|
1412
|
+
readonly TaxAccept: 'TAX_ACCEPT';
|
|
1415
1413
|
/**
|
|
1416
1414
|
* 코드: `TAX_DENY`, 설명: 역발행 거부(legacy)
|
|
1417
1415
|
*/
|
|
1418
|
-
readonly TaxDeny:
|
|
1416
|
+
readonly TaxDeny: 'TAX_DENY';
|
|
1419
1417
|
/**
|
|
1420
1418
|
* 코드: `TAX_CANCEL_SEND`, 설명: 발행안함 취소(legacy)
|
|
1421
1419
|
*/
|
|
1422
|
-
readonly TaxCancelSend:
|
|
1420
|
+
readonly TaxCancelSend: 'TAX_CANCEL_SEND';
|
|
1423
1421
|
};
|
|
1424
1422
|
/**
|
|
1425
1423
|
* 메일 전송 유형 코드입니다.
|
|
1426
1424
|
*/
|
|
1427
|
-
type TaxInvoiceEmailType = (typeof TaxInvoiceEmailTypes)[keyof typeof TaxInvoiceEmailTypes];
|
|
1425
|
+
export type TaxInvoiceEmailType = (typeof TaxInvoiceEmailTypes)[keyof typeof TaxInvoiceEmailTypes];
|
|
1428
1426
|
/**
|
|
1429
1427
|
* 수정세금계산서 사유코드입니다.
|
|
1430
1428
|
*/
|
|
1431
|
-
declare const TaxInvoiceModificationCodes: {
|
|
1429
|
+
export declare const TaxInvoiceModificationCodes: {
|
|
1432
1430
|
readonly CorrectingEntryErrors: 1;
|
|
1433
1431
|
readonly SupplyAmountAdjustment: 2;
|
|
1434
1432
|
readonly Return: 3;
|
|
@@ -1439,11 +1437,11 @@ declare const TaxInvoiceModificationCodes: {
|
|
|
1439
1437
|
/**
|
|
1440
1438
|
* 수정세금계산서 사유코드입니다.
|
|
1441
1439
|
*/
|
|
1442
|
-
type TaxInvoiceModificationCode = TaxInvoiceModificationReasonCode;
|
|
1440
|
+
export type TaxInvoiceModificationCode = TaxInvoiceModificationReasonCode;
|
|
1443
1441
|
/**
|
|
1444
1442
|
* 사업자번호 입력이 필요한 요청의 공통 필드입니다.
|
|
1445
1443
|
*/
|
|
1446
|
-
interface TaxInvoiceBusinessRequest {
|
|
1444
|
+
export interface TaxInvoiceBusinessRequest {
|
|
1447
1445
|
/**
|
|
1448
1446
|
* 팝빌 회원 사업자번호입니다.
|
|
1449
1447
|
*/
|
|
@@ -1452,7 +1450,7 @@ interface TaxInvoiceBusinessRequest {
|
|
|
1452
1450
|
/**
|
|
1453
1451
|
* 문서 식별(문서번호 유형 + 문서번호)이 필요한 요청의 공통 필드입니다.
|
|
1454
1452
|
*/
|
|
1455
|
-
interface TaxInvoiceDocumentRequest<TKeyType extends TaxInvoiceDocumentKeyType = TaxInvoiceDocumentKeyType> extends TaxInvoiceBusinessRequest {
|
|
1453
|
+
export interface TaxInvoiceDocumentRequest<TKeyType extends TaxInvoiceDocumentKeyType = TaxInvoiceDocumentKeyType> extends TaxInvoiceBusinessRequest {
|
|
1456
1454
|
/**
|
|
1457
1455
|
* 문서번호 유형입니다.
|
|
1458
1456
|
*/
|
|
@@ -1465,7 +1463,7 @@ interface TaxInvoiceDocumentRequest<TKeyType extends TaxInvoiceDocumentKeyType =
|
|
|
1465
1463
|
/**
|
|
1466
1464
|
* 즉시 발행 요청 입력입니다.
|
|
1467
1465
|
*/
|
|
1468
|
-
interface IssueInvoiceImmediatelyInput extends TaxInvoiceBusinessRequest {
|
|
1466
|
+
export interface IssueInvoiceImmediatelyInput extends TaxInvoiceBusinessRequest {
|
|
1469
1467
|
/**
|
|
1470
1468
|
* 발행할 세금계산서 문서 원본입니다.
|
|
1471
1469
|
*/
|
|
@@ -1494,7 +1492,7 @@ interface IssueInvoiceImmediatelyInput extends TaxInvoiceBusinessRequest {
|
|
|
1494
1492
|
/**
|
|
1495
1493
|
* 초대량 발행 접수 요청 입력입니다.
|
|
1496
1494
|
*/
|
|
1497
|
-
interface SubmitBulkIssueInput extends TaxInvoiceBusinessRequest {
|
|
1495
|
+
export interface SubmitBulkIssueInput extends TaxInvoiceBusinessRequest {
|
|
1498
1496
|
/**
|
|
1499
1497
|
* 초대량 접수 식별자(SubmitID)입니다.
|
|
1500
1498
|
*/
|
|
@@ -1511,7 +1509,7 @@ interface SubmitBulkIssueInput extends TaxInvoiceBusinessRequest {
|
|
|
1511
1509
|
/**
|
|
1512
1510
|
* 초대량 접수결과 조회 요청 입력입니다.
|
|
1513
1511
|
*/
|
|
1514
|
-
interface GetBulkIssueSubmissionResultInput extends TaxInvoiceBusinessRequest {
|
|
1512
|
+
export interface GetBulkIssueSubmissionResultInput extends TaxInvoiceBusinessRequest {
|
|
1515
1513
|
/**
|
|
1516
1514
|
* 조회할 초대량 접수 식별자(SubmitID)입니다.
|
|
1517
1515
|
*/
|
|
@@ -1520,7 +1518,7 @@ interface GetBulkIssueSubmissionResultInput extends TaxInvoiceBusinessRequest {
|
|
|
1520
1518
|
/**
|
|
1521
1519
|
* 임시저장 요청 입력입니다.
|
|
1522
1520
|
*/
|
|
1523
|
-
interface RegisterInvoiceInput extends TaxInvoiceBusinessRequest {
|
|
1521
|
+
export interface RegisterInvoiceInput extends TaxInvoiceBusinessRequest {
|
|
1524
1522
|
/**
|
|
1525
1523
|
* 임시저장할 세금계산서 문서 원본입니다.
|
|
1526
1524
|
*/
|
|
@@ -1529,7 +1527,7 @@ interface RegisterInvoiceInput extends TaxInvoiceBusinessRequest {
|
|
|
1529
1527
|
/**
|
|
1530
1528
|
* 문서 수정 요청 입력입니다.
|
|
1531
1529
|
*/
|
|
1532
|
-
interface UpdateInvoiceInput extends TaxInvoiceDocumentRequest<TaxInvoiceOutboundDocumentKeyType> {
|
|
1530
|
+
export interface UpdateInvoiceInput extends TaxInvoiceDocumentRequest<TaxInvoiceOutboundDocumentKeyType> {
|
|
1533
1531
|
/**
|
|
1534
1532
|
* 수정 대상 문서번호 유형입니다. 매출(`SELL`) 또는 위수탁(`TRUSTEE`)만 사용할 수 있습니다.
|
|
1535
1533
|
*/
|
|
@@ -1542,7 +1540,7 @@ interface UpdateInvoiceInput extends TaxInvoiceDocumentRequest<TaxInvoiceOutboun
|
|
|
1542
1540
|
/**
|
|
1543
1541
|
* 저장된 문서 발행 요청 입력입니다.
|
|
1544
1542
|
*/
|
|
1545
|
-
interface IssueInvoiceInput extends TaxInvoiceDocumentRequest<TaxInvoiceOutboundDocumentKeyType> {
|
|
1543
|
+
export interface IssueInvoiceInput extends TaxInvoiceDocumentRequest<TaxInvoiceOutboundDocumentKeyType> {
|
|
1546
1544
|
/**
|
|
1547
1545
|
* 발행 대상 문서번호 유형입니다. 매출(`SELL`) 또는 위수탁(`TRUSTEE`)만 사용할 수 있습니다.
|
|
1548
1546
|
*/
|
|
@@ -1563,7 +1561,7 @@ interface IssueInvoiceInput extends TaxInvoiceDocumentRequest<TaxInvoiceOutbound
|
|
|
1563
1561
|
/**
|
|
1564
1562
|
* 발행취소 요청 입력입니다.
|
|
1565
1563
|
*/
|
|
1566
|
-
interface CancelIssuedInvoiceInput extends TaxInvoiceDocumentRequest<TaxInvoiceOutboundDocumentKeyType> {
|
|
1564
|
+
export interface CancelIssuedInvoiceInput extends TaxInvoiceDocumentRequest<TaxInvoiceOutboundDocumentKeyType> {
|
|
1567
1565
|
/**
|
|
1568
1566
|
* 발행취소 대상 문서번호 유형입니다. 매출(`SELL`) 또는 위수탁(`TRUSTEE`)만 사용할 수 있습니다.
|
|
1569
1567
|
*/
|
|
@@ -1576,7 +1574,7 @@ interface CancelIssuedInvoiceInput extends TaxInvoiceDocumentRequest<TaxInvoiceO
|
|
|
1576
1574
|
/**
|
|
1577
1575
|
* 역발행 즉시 요청 입력입니다.
|
|
1578
1576
|
*/
|
|
1579
|
-
interface RequestReverseIssueImmediatelyInput extends TaxInvoiceBusinessRequest {
|
|
1577
|
+
export interface RequestReverseIssueImmediatelyInput extends TaxInvoiceBusinessRequest {
|
|
1580
1578
|
/**
|
|
1581
1579
|
* 역발행 요청할 세금계산서 문서 원본입니다.
|
|
1582
1580
|
*/
|
|
@@ -1589,7 +1587,7 @@ interface RequestReverseIssueImmediatelyInput extends TaxInvoiceBusinessRequest
|
|
|
1589
1587
|
/**
|
|
1590
1588
|
* 역발행 요청 입력입니다.
|
|
1591
1589
|
*/
|
|
1592
|
-
interface RequestReverseIssueInput extends TaxInvoiceDocumentRequest<TaxInvoiceReverseRequestDocumentKeyType> {
|
|
1590
|
+
export interface RequestReverseIssueInput extends TaxInvoiceDocumentRequest<TaxInvoiceReverseRequestDocumentKeyType> {
|
|
1593
1591
|
/**
|
|
1594
1592
|
* 역발행 요청 대상 문서번호 유형입니다. 매입(`BUY`)만 사용할 수 있습니다.
|
|
1595
1593
|
*/
|
|
@@ -1602,7 +1600,7 @@ interface RequestReverseIssueInput extends TaxInvoiceDocumentRequest<TaxInvoiceR
|
|
|
1602
1600
|
/**
|
|
1603
1601
|
* 역발행 요청취소 입력입니다.
|
|
1604
1602
|
*/
|
|
1605
|
-
interface CancelReverseIssueRequestInput extends TaxInvoiceDocumentRequest<TaxInvoiceReverseRequestDocumentKeyType> {
|
|
1603
|
+
export interface CancelReverseIssueRequestInput extends TaxInvoiceDocumentRequest<TaxInvoiceReverseRequestDocumentKeyType> {
|
|
1606
1604
|
/**
|
|
1607
1605
|
* 역발행 요청취소 대상 문서번호 유형입니다. 매입(`BUY`)만 사용할 수 있습니다.
|
|
1608
1606
|
*/
|
|
@@ -1615,7 +1613,7 @@ interface CancelReverseIssueRequestInput extends TaxInvoiceDocumentRequest<TaxIn
|
|
|
1615
1613
|
/**
|
|
1616
1614
|
* 역발행 요청거부 입력입니다.
|
|
1617
1615
|
*/
|
|
1618
|
-
interface RefuseReverseIssueRequestInput extends TaxInvoiceDocumentRequest<TaxInvoiceReverseRefuseDocumentKeyType> {
|
|
1616
|
+
export interface RefuseReverseIssueRequestInput extends TaxInvoiceDocumentRequest<TaxInvoiceReverseRefuseDocumentKeyType> {
|
|
1619
1617
|
/**
|
|
1620
1618
|
* 역발행 요청거부 대상 문서번호 유형입니다. 매출(`SELL`)만 사용할 수 있습니다.
|
|
1621
1619
|
*/
|
|
@@ -1628,7 +1626,7 @@ interface RefuseReverseIssueRequestInput extends TaxInvoiceDocumentRequest<TaxIn
|
|
|
1628
1626
|
/**
|
|
1629
1627
|
* 국세청 즉시 전송 입력입니다.
|
|
1630
1628
|
*/
|
|
1631
|
-
interface SendInvoiceToNationalTaxServiceInput extends TaxInvoiceDocumentRequest<TaxInvoiceOutboundDocumentKeyType> {
|
|
1629
|
+
export interface SendInvoiceToNationalTaxServiceInput extends TaxInvoiceDocumentRequest<TaxInvoiceOutboundDocumentKeyType> {
|
|
1632
1630
|
/**
|
|
1633
1631
|
* 국세청 전송 대상 문서번호 유형입니다. 매출(`SELL`) 또는 위수탁(`TRUSTEE`)만 사용할 수 있습니다.
|
|
1634
1632
|
*/
|
|
@@ -1637,7 +1635,7 @@ interface SendInvoiceToNationalTaxServiceInput extends TaxInvoiceDocumentRequest
|
|
|
1637
1635
|
/**
|
|
1638
1636
|
* 다건 상태 조회 요청 입력입니다.
|
|
1639
1637
|
*/
|
|
1640
|
-
interface GetInvoicesInfoInput extends TaxInvoiceBusinessRequest {
|
|
1638
|
+
export interface GetInvoicesInfoInput extends TaxInvoiceBusinessRequest {
|
|
1641
1639
|
/**
|
|
1642
1640
|
* 조회 대상 문서번호 유형입니다.
|
|
1643
1641
|
*/
|
|
@@ -1650,7 +1648,7 @@ interface GetInvoicesInfoInput extends TaxInvoiceBusinessRequest {
|
|
|
1650
1648
|
/**
|
|
1651
1649
|
* 검색 요청 입력입니다.
|
|
1652
1650
|
*/
|
|
1653
|
-
interface SearchInvoicesInput extends TaxInvoiceBusinessRequest {
|
|
1651
|
+
export interface SearchInvoicesInput extends TaxInvoiceBusinessRequest {
|
|
1654
1652
|
/**
|
|
1655
1653
|
* 조회 대상 문서번호 유형입니다.
|
|
1656
1654
|
*/
|
|
@@ -1735,7 +1733,7 @@ interface SearchInvoicesInput extends TaxInvoiceBusinessRequest {
|
|
|
1735
1733
|
/**
|
|
1736
1734
|
* 문서함 URL 조회 요청 입력입니다.
|
|
1737
1735
|
*/
|
|
1738
|
-
interface GetTaxInvoiceBoxURLInput extends TaxInvoiceBusinessRequest {
|
|
1736
|
+
export interface GetTaxInvoiceBoxURLInput extends TaxInvoiceBusinessRequest {
|
|
1739
1737
|
/**
|
|
1740
1738
|
* 조회할 세금계산서 문서함 범위입니다.
|
|
1741
1739
|
*/
|
|
@@ -1744,7 +1742,7 @@ interface GetTaxInvoiceBoxURLInput extends TaxInvoiceBusinessRequest {
|
|
|
1744
1742
|
/**
|
|
1745
1743
|
* 다건 인쇄 URL 요청 입력입니다.
|
|
1746
1744
|
*/
|
|
1747
|
-
interface GetBulkInvoicePrintURLInput extends TaxInvoiceBusinessRequest {
|
|
1745
|
+
export interface GetBulkInvoicePrintURLInput extends TaxInvoiceBusinessRequest {
|
|
1748
1746
|
/**
|
|
1749
1747
|
* 인쇄 대상 문서번호 유형입니다.
|
|
1750
1748
|
*/
|
|
@@ -1757,11 +1755,11 @@ interface GetBulkInvoicePrintURLInput extends TaxInvoiceBusinessRequest {
|
|
|
1757
1755
|
/**
|
|
1758
1756
|
* 인감 및 첨부문서 등록 URL 조회 요청 입력입니다.
|
|
1759
1757
|
*/
|
|
1760
|
-
type GetSealAndAttachmentRegistrationURLInput = TaxInvoiceBusinessRequest;
|
|
1758
|
+
export type GetSealAndAttachmentRegistrationURLInput = TaxInvoiceBusinessRequest;
|
|
1761
1759
|
/**
|
|
1762
1760
|
* 파일 경로 기반 첨부 요청 입력입니다.
|
|
1763
1761
|
*/
|
|
1764
|
-
interface AttachFileFromPathInput extends TaxInvoiceDocumentRequest {
|
|
1762
|
+
export interface AttachFileFromPathInput extends TaxInvoiceDocumentRequest {
|
|
1765
1763
|
/**
|
|
1766
1764
|
* 팝빌에 표시할 첨부파일명입니다.
|
|
1767
1765
|
*/
|
|
@@ -1774,7 +1772,7 @@ interface AttachFileFromPathInput extends TaxInvoiceDocumentRequest {
|
|
|
1774
1772
|
/**
|
|
1775
1773
|
* 바이너리 기반 첨부 요청 입력입니다.
|
|
1776
1774
|
*/
|
|
1777
|
-
interface AttachFileFromBinaryInput extends TaxInvoiceDocumentRequest {
|
|
1775
|
+
export interface AttachFileFromBinaryInput extends TaxInvoiceDocumentRequest {
|
|
1778
1776
|
/**
|
|
1779
1777
|
* 업로드할 파일명입니다.
|
|
1780
1778
|
*/
|
|
@@ -1787,7 +1785,7 @@ interface AttachFileFromBinaryInput extends TaxInvoiceDocumentRequest {
|
|
|
1787
1785
|
/**
|
|
1788
1786
|
* 첨부파일 삭제 요청 입력입니다.
|
|
1789
1787
|
*/
|
|
1790
|
-
interface DeleteAttachedFileInput extends TaxInvoiceDocumentRequest {
|
|
1788
|
+
export interface DeleteAttachedFileInput extends TaxInvoiceDocumentRequest {
|
|
1791
1789
|
/**
|
|
1792
1790
|
* 삭제할 첨부파일 식별자(FileID)입니다.
|
|
1793
1791
|
*/
|
|
@@ -1796,7 +1794,7 @@ interface DeleteAttachedFileInput extends TaxInvoiceDocumentRequest {
|
|
|
1796
1794
|
/**
|
|
1797
1795
|
* 이메일 재전송 요청 입력입니다.
|
|
1798
1796
|
*/
|
|
1799
|
-
interface ResendInvoiceEmailInput extends TaxInvoiceDocumentRequest {
|
|
1797
|
+
export interface ResendInvoiceEmailInput extends TaxInvoiceDocumentRequest {
|
|
1800
1798
|
/**
|
|
1801
1799
|
* 재전송할 수신자 이메일 주소입니다.
|
|
1802
1800
|
*/
|
|
@@ -1805,7 +1803,7 @@ interface ResendInvoiceEmailInput extends TaxInvoiceDocumentRequest {
|
|
|
1805
1803
|
/**
|
|
1806
1804
|
* 문자 재전송 요청 입력입니다.
|
|
1807
1805
|
*/
|
|
1808
|
-
interface ResendInvoiceSMSInput extends TaxInvoiceDocumentRequest {
|
|
1806
|
+
export interface ResendInvoiceSMSInput extends TaxInvoiceDocumentRequest {
|
|
1809
1807
|
/**
|
|
1810
1808
|
* 발신자 전화번호입니다.
|
|
1811
1809
|
*/
|
|
@@ -1822,7 +1820,7 @@ interface ResendInvoiceSMSInput extends TaxInvoiceDocumentRequest {
|
|
|
1822
1820
|
/**
|
|
1823
1821
|
* 팩스 재전송 요청 입력입니다.
|
|
1824
1822
|
*/
|
|
1825
|
-
interface ResendInvoiceFAXInput extends TaxInvoiceDocumentRequest {
|
|
1823
|
+
export interface ResendInvoiceFAXInput extends TaxInvoiceDocumentRequest {
|
|
1826
1824
|
/**
|
|
1827
1825
|
* 발신 팩스번호입니다.
|
|
1828
1826
|
*/
|
|
@@ -1835,7 +1833,7 @@ interface ResendInvoiceFAXInput extends TaxInvoiceDocumentRequest {
|
|
|
1835
1833
|
/**
|
|
1836
1834
|
* 전자명세서 첨부 요청 입력입니다.
|
|
1837
1835
|
*/
|
|
1838
|
-
interface AttachInvoiceStatementInput extends TaxInvoiceDocumentRequest {
|
|
1836
|
+
export interface AttachInvoiceStatementInput extends TaxInvoiceDocumentRequest {
|
|
1839
1837
|
/**
|
|
1840
1838
|
* 첨부할 전자명세서 문서 유형 코드입니다.
|
|
1841
1839
|
*/
|
|
@@ -1848,7 +1846,7 @@ interface AttachInvoiceStatementInput extends TaxInvoiceDocumentRequest {
|
|
|
1848
1846
|
/**
|
|
1849
1847
|
* 전자명세서 첨부해제 요청 입력입니다.
|
|
1850
1848
|
*/
|
|
1851
|
-
interface DetachInvoiceStatementInput extends TaxInvoiceDocumentRequest {
|
|
1849
|
+
export interface DetachInvoiceStatementInput extends TaxInvoiceDocumentRequest {
|
|
1852
1850
|
/**
|
|
1853
1851
|
* 첨부해제할 전자명세서 문서 유형 코드입니다.
|
|
1854
1852
|
*/
|
|
@@ -1861,7 +1859,7 @@ interface DetachInvoiceStatementInput extends TaxInvoiceDocumentRequest {
|
|
|
1861
1859
|
/**
|
|
1862
1860
|
* 문서번호 할당 요청 입력입니다.
|
|
1863
1861
|
*/
|
|
1864
|
-
interface AssignInvoiceManagementKeyInput extends TaxInvoiceBusinessRequest {
|
|
1862
|
+
export interface AssignInvoiceManagementKeyInput extends TaxInvoiceBusinessRequest {
|
|
1865
1863
|
/**
|
|
1866
1864
|
* 할당 대상 문서번호 유형입니다.
|
|
1867
1865
|
*/
|
|
@@ -1878,7 +1876,7 @@ interface AssignInvoiceManagementKeyInput extends TaxInvoiceBusinessRequest {
|
|
|
1878
1876
|
/**
|
|
1879
1877
|
* 이메일 전송설정 수정 입력입니다.
|
|
1880
1878
|
*/
|
|
1881
|
-
interface UpdateEmailSendSettingsInput extends TaxInvoiceBusinessRequest {
|
|
1879
|
+
export interface UpdateEmailSendSettingsInput extends TaxInvoiceBusinessRequest {
|
|
1882
1880
|
/**
|
|
1883
1881
|
* 수정할 메일 전송 유형 코드입니다.
|
|
1884
1882
|
*/
|
|
@@ -1894,7 +1892,7 @@ interface UpdateEmailSendSettingsInput extends TaxInvoiceBusinessRequest {
|
|
|
1894
1892
|
* 모든 메서드는 `input`만 받으며,
|
|
1895
1893
|
* 실패 시 `PopbillApiError`를 throw 합니다.
|
|
1896
1894
|
*/
|
|
1897
|
-
interface TaxInvoiceService {
|
|
1895
|
+
export interface TaxInvoiceService {
|
|
1898
1896
|
/**
|
|
1899
1897
|
* 등록과 동시에 세금계산서를 즉시 발행합니다.
|
|
1900
1898
|
*
|
|
@@ -2172,8 +2170,6 @@ interface TaxInvoiceService {
|
|
|
2172
2170
|
*/
|
|
2173
2171
|
getTaxCertificateInfo(input: TaxInvoiceBusinessRequest): Promise<TaxInvoiceTaxCertificateInfo>;
|
|
2174
2172
|
}
|
|
2175
|
-
//#endregion
|
|
2176
|
-
//#region src/client/types.d.ts
|
|
2177
2173
|
interface PopbillClientConfig {
|
|
2178
2174
|
linkId: string;
|
|
2179
2175
|
secretKey: string;
|
|
@@ -2221,7 +2217,7 @@ interface PopbillClientConfig {
|
|
|
2221
2217
|
*/
|
|
2222
2218
|
acceptLanguage?: string;
|
|
2223
2219
|
/**
|
|
2224
|
-
* 요청 타임아웃(ms)입니다.
|
|
2220
|
+
* 요청 타임아웃(ms)입니다. 1 이상 2147483647 이하의 정수를 사용합니다.
|
|
2225
2221
|
*
|
|
2226
2222
|
* @default 180_000 (3분)
|
|
2227
2223
|
*/
|
|
@@ -2239,18 +2235,14 @@ interface PopbillClient {
|
|
|
2239
2235
|
taxInvoice: TaxInvoiceService;
|
|
2240
2236
|
};
|
|
2241
2237
|
}
|
|
2242
|
-
//#endregion
|
|
2243
|
-
//#region src/client/index.d.ts
|
|
2244
2238
|
/**
|
|
2245
2239
|
* modern Popbill client를 생성합니다.
|
|
2246
2240
|
*/
|
|
2247
|
-
declare function createPopbillClient(config: PopbillClientConfig): PopbillClient;
|
|
2248
|
-
//#endregion
|
|
2249
|
-
//#region src/services/tax-invoice/methods.d.ts
|
|
2241
|
+
export declare function createPopbillClient(config: PopbillClientConfig): PopbillClient;
|
|
2250
2242
|
/**
|
|
2251
2243
|
* TaxInvoice modern facade 공개 메서드 목록입니다.
|
|
2252
2244
|
* 문서 섹션(발행/전송, 정보확인, 보기/인쇄, 부가기능, 인증서 관리) 순서를 유지합니다.
|
|
2253
2245
|
*/
|
|
2254
|
-
declare const TAX_INVOICE_METHODS: readonly ["issueInvoiceImmediately", "submitBulkIssue", "getBulkIssueSubmissionResult", "registerInvoice", "updateInvoice", "issueInvoice", "cancelIssuedInvoice", "requestReverseIssueImmediately", "requestReverseIssue", "cancelReverseIssueRequest", "refuseReverseIssueRequest", "deleteInvoice", "sendInvoiceToNTS", "getInvoiceInfo", "getInvoicesInfo", "getInvoiceDetailInfo", "checkInvoiceManagementKeyInUse", "getInvoiceXML", "searchInvoices", "getInvoiceLogs", "getTaxInvoiceBoxURL", "getInvoicePopupURL", "getInvoiceViewURL", "getSupplierInvoicePrintURL", "getBuyerInvoicePrintURL", "getBulkInvoicePrintURL", "getInvoiceMailURL", "getInvoicePDFURL", "getSealAndAttachmentRegistrationURL", "attachFileFromPath", "attachFileFromBinary", "deleteAttachedFile", "getAttachedFiles", "resendInvoiceEmail", "resendInvoiceSMS", "resendInvoiceFAX", "attachInvoiceStatement", "detachInvoiceStatement", "assignInvoiceManagementKey", "getEmailSendSettings", "updateEmailSendSettings", "getSendToNTSSettings", "getTaxCertificateRegistrationURL", "getTaxCertificateExpirationDate", "checkTaxCertificateValidation", "getTaxCertificateInfo"];
|
|
2255
|
-
|
|
2256
|
-
|
|
2246
|
+
export declare const TAX_INVOICE_METHODS: readonly ["issueInvoiceImmediately", "submitBulkIssue", "getBulkIssueSubmissionResult", "registerInvoice", "updateInvoice", "issueInvoice", "cancelIssuedInvoice", "requestReverseIssueImmediately", "requestReverseIssue", "cancelReverseIssueRequest", "refuseReverseIssueRequest", "deleteInvoice", "sendInvoiceToNTS", "getInvoiceInfo", "getInvoicesInfo", "getInvoiceDetailInfo", "checkInvoiceManagementKeyInUse", "getInvoiceXML", "searchInvoices", "getInvoiceLogs", "getTaxInvoiceBoxURL", "getInvoicePopupURL", "getInvoiceViewURL", "getSupplierInvoicePrintURL", "getBuyerInvoicePrintURL", "getBulkInvoicePrintURL", "getInvoiceMailURL", "getInvoicePDFURL", "getSealAndAttachmentRegistrationURL", "attachFileFromPath", "attachFileFromBinary", "deleteAttachedFile", "getAttachedFiles", "resendInvoiceEmail", "resendInvoiceSMS", "resendInvoiceFAX", "attachInvoiceStatement", "detachInvoiceStatement", "assignInvoiceManagementKey", "getEmailSendSettings", "updateEmailSendSettings", "getSendToNTSSettings", "getTaxCertificateRegistrationURL", "getTaxCertificateExpirationDate", "checkTaxCertificateValidation", "getTaxCertificateInfo"];
|
|
2247
|
+
export { type PopbillApiError, PopbillErrorStage, PopbillErrorType, type TaxInvoiceAdditionalContactInput, type TaxInvoiceBusinessStatus, type TaxInvoiceBuyerInput, type TaxInvoiceChargeDirection, type TaxInvoiceDateString, type TaxInvoiceDocumentInput, type TaxInvoiceIssueType, type TaxInvoiceLineItemInput, type TaxInvoiceModificationReasonCode, type TaxInvoicePartyInput, type TaxInvoicePurposeType, type TaxInvoiceRecipientType, type TaxInvoiceTaxationType };
|
|
2248
|
+
//# sourceMappingURL=index.d.mts.map
|