@atomsolution/invoice-sdk-api 1.20.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/dist/api.d.ts ADDED
@@ -0,0 +1,1780 @@
1
+ import { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
2
+ import { Configuration } from './configuration';
3
+ import { BaseAPI, RequestArgs } from './base';
4
+ /**
5
+ *
6
+ * @export
7
+ * @interface CreateInvoiceError
8
+ */
9
+ export interface CreateInvoiceError {
10
+ /**
11
+ *
12
+ * @type {string}
13
+ * @memberof CreateInvoiceError
14
+ */
15
+ error?: string;
16
+ }
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface mInvoiceCreateInvoiceRequest
21
+ */
22
+ export interface mInvoiceCreateInvoiceRequest {
23
+ /**
24
+ *
25
+ * @type {mInvoiceCreateInvoiceRequestInv}
26
+ * @memberof mInvoiceCreateInvoiceRequest
27
+ */
28
+ inv?: mInvoiceCreateInvoiceRequestInv;
29
+ }
30
+ /**
31
+ *
32
+ * @export
33
+ * @interface mInvoiceCreateInvoiceRequestInv
34
+ */
35
+ export interface mInvoiceCreateInvoiceRequestInv {
36
+ /**
37
+ * Ký hiệu hóa đơn đăng ký trên thông báo phát hành
38
+ * @type {string}
39
+ * @memberof mInvoiceCreateInvoiceRequestInv
40
+ */
41
+ itype: string;
42
+ /**
43
+ * Ngày tạo hóa đơn yyyy-MM-dd
44
+ * @type {string}
45
+ * @memberof mInvoiceCreateInvoiceRequestInv
46
+ */
47
+ invoice_date: string;
48
+ /**
49
+ * Đơn vị tiền tệ \"VND\", \"USD\"
50
+ * @type {string}
51
+ * @memberof mInvoiceCreateInvoiceRequestInv
52
+ */
53
+ currency: string;
54
+ /**
55
+ * Tỷ giá
56
+ * @type {number}
57
+ * @memberof mInvoiceCreateInvoiceRequestInv
58
+ */
59
+ ex_rate: number;
60
+ /**
61
+ * Tên người mua
62
+ * @type {string}
63
+ * @memberof mInvoiceCreateInvoiceRequestInv
64
+ */
65
+ buyer_name: string;
66
+ /**
67
+ * Tên đơn vị mua
68
+ * @type {string}
69
+ * @memberof mInvoiceCreateInvoiceRequestInv
70
+ */
71
+ buyer_legal_name: string;
72
+ /**
73
+ * Mã số thuế người mua
74
+ * @type {string}
75
+ * @memberof mInvoiceCreateInvoiceRequestInv
76
+ */
77
+ buyer_tax?: string;
78
+ /**
79
+ * Địa chỉ người mua
80
+ * @type {string}
81
+ * @memberof mInvoiceCreateInvoiceRequestInv
82
+ */
83
+ buyer_address: string;
84
+ /**
85
+ * Email người mua
86
+ * @type {string}
87
+ * @memberof mInvoiceCreateInvoiceRequestInv
88
+ */
89
+ buyer_email?: string;
90
+ /**
91
+ * Số tài khoản người mua
92
+ * @type {string}
93
+ * @memberof mInvoiceCreateInvoiceRequestInv
94
+ */
95
+ buyer_bank_account?: string;
96
+ /**
97
+ * Ngân hàng người mua
98
+ * @type {string}
99
+ * @memberof mInvoiceCreateInvoiceRequestInv
100
+ */
101
+ buyer_bank_name?: string;
102
+ /**
103
+ * Hình thức thanh toán TM/CK
104
+ * @type {string}
105
+ * @memberof mInvoiceCreateInvoiceRequestInv
106
+ */
107
+ payment_method?: string;
108
+ /**
109
+ * Tiền chiết khấu (đã gồm thuế)
110
+ * @type {number}
111
+ * @memberof mInvoiceCreateInvoiceRequestInv
112
+ */
113
+ discount?: number;
114
+ /**
115
+ * Tổng tiền chưa thuế (đã quy đổi VNĐ)
116
+ * @type {number}
117
+ * @memberof mInvoiceCreateInvoiceRequestInv
118
+ */
119
+ sum_v?: number;
120
+ /**
121
+ * Tổng tiền thuế (đã quy đổi VNĐ)
122
+ * @type {number}
123
+ * @memberof mInvoiceCreateInvoiceRequestInv
124
+ */
125
+ vat_v?: number;
126
+ /**
127
+ * Thành tiền sau thuế bằng số (VNĐ)
128
+ * @type {number}
129
+ * @memberof mInvoiceCreateInvoiceRequestInv
130
+ */
131
+ total_v?: number;
132
+ /**
133
+ * Số đơn hàng
134
+ * @type {string}
135
+ * @memberof mInvoiceCreateInvoiceRequestInv
136
+ */
137
+ seq?: string;
138
+ /**
139
+ * Mã đơn hàng. Không được phép trùng
140
+ * @type {string}
141
+ * @memberof mInvoiceCreateInvoiceRequestInv
142
+ */
143
+ sid?: string;
144
+ /**
145
+ *
146
+ * @type {Array<ItemObject>}
147
+ * @memberof mInvoiceCreateInvoiceRequestInv
148
+ */
149
+ items: Array<ItemObject>;
150
+ }
151
+ /**
152
+ *
153
+ * @export
154
+ * @interface CreateInvoiceSuccess
155
+ */
156
+ export interface CreateInvoiceSuccess {
157
+ /**
158
+ * Mã định danh của hóa đơn vừa tạo
159
+ * @type {string}
160
+ * @memberof CreateInvoiceSuccess
161
+ */
162
+ invoiceId?: string;
163
+ /**
164
+ * Trạng thái của yêu cầu tạo hóa đơn
165
+ * @type {string}
166
+ * @memberof CreateInvoiceSuccess
167
+ */
168
+ status?: string;
169
+ }
170
+ /**
171
+ *
172
+ * @export
173
+ * @interface FptCreateInvoiceRequest
174
+ */
175
+ export interface FptCreateInvoiceRequest {
176
+ /**
177
+ *
178
+ * @type {FptCreateInvoiceRequestInv}
179
+ * @memberof FptCreateInvoiceRequest
180
+ */
181
+ inv?: FptCreateInvoiceRequestInv;
182
+ }
183
+ /**
184
+ *
185
+ * @export
186
+ * @interface FptCreateInvoiceRequestInv
187
+ */
188
+ export interface FptCreateInvoiceRequestInv {
189
+ /**
190
+ * Ký hiệu hóa đơn đăng ký trên thông báo phát hành
191
+ * @type {string}
192
+ * @memberof FptCreateInvoiceRequestInv
193
+ */
194
+ itype: string;
195
+ /**
196
+ * Ngày tạo hóa đơn yyyy-MM-dd
197
+ * @type {string}
198
+ * @memberof FptCreateInvoiceRequestInv
199
+ */
200
+ invoice_date: string;
201
+ /**
202
+ * Đơn vị tiền tệ \"VND\", \"USD\"
203
+ * @type {string}
204
+ * @memberof FptCreateInvoiceRequestInv
205
+ */
206
+ currency: string;
207
+ /**
208
+ * Tỷ giá
209
+ * @type {number}
210
+ * @memberof FptCreateInvoiceRequestInv
211
+ */
212
+ ex_rate: number;
213
+ /**
214
+ * Tên người mua
215
+ * @type {string}
216
+ * @memberof FptCreateInvoiceRequestInv
217
+ */
218
+ buyer_name: string;
219
+ /**
220
+ * Tên đơn vị mua
221
+ * @type {string}
222
+ * @memberof FptCreateInvoiceRequestInv
223
+ */
224
+ buyer_legal_name: string;
225
+ /**
226
+ * Mã số thuế người mua
227
+ * @type {string}
228
+ * @memberof FptCreateInvoiceRequestInv
229
+ */
230
+ buyer_tax?: string;
231
+ /**
232
+ * Địa chỉ người mua
233
+ * @type {string}
234
+ * @memberof FptCreateInvoiceRequestInv
235
+ */
236
+ buyer_address: string;
237
+ /**
238
+ * Email người mua
239
+ * @type {string}
240
+ * @memberof FptCreateInvoiceRequestInv
241
+ */
242
+ buyer_email?: string;
243
+ /**
244
+ * Số tài khoản người mua
245
+ * @type {string}
246
+ * @memberof FptCreateInvoiceRequestInv
247
+ */
248
+ buyer_bank_account?: string;
249
+ /**
250
+ * Ngân hàng người mua
251
+ * @type {string}
252
+ * @memberof FptCreateInvoiceRequestInv
253
+ */
254
+ buyer_bank_name?: string;
255
+ /**
256
+ * Hình thức thanh toán TM/CK
257
+ * @type {string}
258
+ * @memberof FptCreateInvoiceRequestInv
259
+ */
260
+ payment_method?: string;
261
+ /**
262
+ * Tiền chiết khấu (đã gồm thuế)
263
+ * @type {number}
264
+ * @memberof FptCreateInvoiceRequestInv
265
+ */
266
+ discount?: number;
267
+ /**
268
+ * Tổng tiền chưa thuế (đã quy đổi VNĐ)
269
+ * @type {number}
270
+ * @memberof FptCreateInvoiceRequestInv
271
+ */
272
+ sum_v?: number;
273
+ /**
274
+ * Tổng tiền thuế (đã quy đổi VNĐ)
275
+ * @type {number}
276
+ * @memberof FptCreateInvoiceRequestInv
277
+ */
278
+ vat_v?: number;
279
+ /**
280
+ * Thành tiền sau thuế bằng số (VNĐ)
281
+ * @type {number}
282
+ * @memberof FptCreateInvoiceRequestInv
283
+ */
284
+ total_v?: number;
285
+ /**
286
+ * Số đơn hàng
287
+ * @type {string}
288
+ * @memberof FptCreateInvoiceRequestInv
289
+ */
290
+ seq?: string;
291
+ /**
292
+ * Mã đơn hàng. Không được phép trùng
293
+ * @type {string}
294
+ * @memberof FptCreateInvoiceRequestInv
295
+ */
296
+ sid?: string;
297
+ /**
298
+ * Tổng tiền chưa thuế nguyên tệ
299
+ * @type {number}
300
+ * @memberof FptCreateInvoiceRequestInv
301
+ */
302
+ sum?: number;
303
+ /**
304
+ * Mẫu hóa đơn đăng ký sử dụng trên hệ thống
305
+ * @type {string}
306
+ * @memberof FptCreateInvoiceRequestInv
307
+ */
308
+ form?: string;
309
+ /**
310
+ * Sử dụng trường `aun` để xác định phương thức quản lý số hóa đơn do hệ thống nào cấp số: * `aun`: 1 - Trường hợp doanh nghiệp (DN) muốn tự quản lý việc cấp số trên hệ thống DN - Bắt buộc phải có số hóa đơn tại trường `seq`. * `aun`: 2 - Trường hợp chọn eInvoice tự động cấp số khi nhận dữ liệu từ hệ thống quản lý của DN.
311
+ * @type {number}
312
+ * @memberof FptCreateInvoiceRequestInv
313
+ */
314
+ aun?: number;
315
+ /**
316
+ * Sử dụng đối với hóa đơn `xuất hoàn trả`: - `sign`: -1 - Đánh dấu hóa đơn là hóa đơn xuất hoàn trả - `sign`: 1 hoặc không có thẻ - Đánh dấu hóa đơn thông thường
317
+ * @type {string}
318
+ * @memberof FptCreateInvoiceRequestInv
319
+ */
320
+ sign?: string;
321
+ /**
322
+ * Thẻ xác định loại hóa đơn đang sử dụng: - `type_ref`: 1 - Hóa đơn theo TT78 - `type_ref`: bỏ trống - Hóa đơn theo TT32
323
+ * @type {string}
324
+ * @memberof FptCreateInvoiceRequestInv
325
+ */
326
+ type_ref?: string;
327
+ /**
328
+ * Số bảng kê (Sử dụng đối với các hóa đơn bán theo lần phát sinh, sử dụng bảng kê)
329
+ * @type {string}
330
+ * @memberof FptCreateInvoiceRequestInv
331
+ */
332
+ listnum?: string;
333
+ /**
334
+ * Ngày bảng kê theo định dạng “yyyy-mm-dd hh:mm:ss” (Sử dụng đối với các hóa đơn bán theo lần phát sinh, sử dụng bảng kê)
335
+ * @type {string}
336
+ * @memberof FptCreateInvoiceRequestInv
337
+ */
338
+ listdt?: string;
339
+ /**
340
+ * Phương thức chuyển dữ liệu hóa đơn điện tử đến cơ quan thuế: - `sendtype`: 1 - Chuyển đầy đủ nội dung từng hóa đơn - `sendtype`: 2 - Chuyển bảng tổng hợp. Bắt buộc nếu hóa đơn gom bảng tổng hợp - `sendtype`: để trống - Hệ thống tự sinh theo hình thức gửi hóa đơn của dải ký hiệu hóa đơn (itype)
341
+ * @type {string}
342
+ * @memberof FptCreateInvoiceRequestInv
343
+ */
344
+ sendtype?: string;
345
+ /**
346
+ * Thẻ xác định KHÔNG gửi email: - `notsendmail`: 1 - KHÔNG tự động gửi email khi hóa đơn phát hành có hiệu lực - `notsendmail`: để trống - tự động gửi email khi hóa đơn phát hành có hiệu lực
347
+ * @type {string}
348
+ * @memberof FptCreateInvoiceRequestInv
349
+ */
350
+ notsendmail?: string;
351
+ /**
352
+ * Xác định đính kèm file (PDF, XML) khi gửi mail: - `sendfile`: 1 - Gửi mail có đính kèm file - `sendfile`: KHÔNG có thẻ sendfile - mặc định gửi mail không đính kèm file
353
+ * @type {string}
354
+ * @memberof FptCreateInvoiceRequestInv
355
+ */
356
+ sendfile?: string;
357
+ /**
358
+ * Mã tra cứu hóa đơn: - `sec`: có thông tin - hệ thống nhận và không tự động sinh - `sec`: KHÔNG có thông tin - hệ thống tự sinh mã theo nguyên tắc của hệ thống
359
+ * @type {string}
360
+ * @memberof FptCreateInvoiceRequestInv
361
+ */
362
+ sec?: string;
363
+ /**
364
+ * Mã số thuế người bán
365
+ * @type {string}
366
+ * @memberof FptCreateInvoiceRequestInv
367
+ */
368
+ stax?: string;
369
+ /**
370
+ *
371
+ * @type {Array<FptCreateInvoiceRequestInvAllOfItemsInner>}
372
+ * @memberof FptCreateInvoiceRequestInv
373
+ */
374
+ items: Array<FptCreateInvoiceRequestInvAllOfItemsInner>;
375
+ }
376
+ /**
377
+ *
378
+ * @export
379
+ * @interface FptCreateInvoiceRequestInvAllOfItemsInner
380
+ */
381
+ export interface FptCreateInvoiceRequestInvAllOfItemsInner {
382
+ /**
383
+ * Số thứ tự dòng hàng hóa
384
+ * @type {number}
385
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
386
+ */
387
+ line: number;
388
+ /**
389
+ * Tính chất hàng hóa: - `type`: 1 - Hàng hóa dịch vụ - `type`: 2 - Khuyến mãi - `type`: 3 - Chiết khấu thương mại - `type`: 4 - Ghi chú diễn giải
390
+ * @type {number}
391
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
392
+ */
393
+ type: number;
394
+ /**
395
+ * Mã hàng hóa
396
+ * @type {string}
397
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
398
+ */
399
+ code: string;
400
+ /**
401
+ * Mô tả hàng hóa, dịch vụ
402
+ * @type {string}
403
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
404
+ */
405
+ name: string;
406
+ /**
407
+ * Đơn vị tính hàng hóa
408
+ * @type {string}
409
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
410
+ */
411
+ unit: string;
412
+ /**
413
+ * Số lượng
414
+ * @type {number}
415
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
416
+ */
417
+ quantity: number;
418
+ /**
419
+ * Đơn giá hàng hóa
420
+ * @type {number}
421
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
422
+ */
423
+ price: number;
424
+ /**
425
+ * Tỷ lệ % chiết khấu
426
+ * @type {number}
427
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
428
+ */
429
+ perdiscount: number;
430
+ /**
431
+ * Số tiền chiết khấu
432
+ * @type {number}
433
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
434
+ */
435
+ amtdiscount: number;
436
+ /**
437
+ * Thành tiền từng dòng hàng hóa dịch vụ
438
+ * @type {number}
439
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
440
+ */
441
+ amount: number;
442
+ /**
443
+ * Loại thuế suất: (0, 5, 8, 10, -1, -2) - `0`: thuế xuất 0% - `5`: thuế xuất 5% - `8`: thuế xuất 8% - `10`: thuế xuất 10% - `-1`: không chịu thuế - `-2`: không kê khai nộp thuế Khác 6 loại thuế suất trên: thuế xuất khác
444
+ * @type {string}
445
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
446
+ */
447
+ vrt: string;
448
+ /**
449
+ * Số tiền VAT từng hàng hóa
450
+ * @type {number}
451
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
452
+ */
453
+ vat?: number;
454
+ /**
455
+ * Tổng tiền bao gồm VAT từng hàng hóa
456
+ * @type {number}
457
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
458
+ */
459
+ total?: number;
460
+ /**
461
+ * Đơn giá hàng hóa quy đổi VND
462
+ * @type {number}
463
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
464
+ */
465
+ pricev?: number;
466
+ /**
467
+ * Thành tiền từng dòng hàng hóa quy đổi VND
468
+ * @type {number}
469
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
470
+ */
471
+ amountv?: number;
472
+ /**
473
+ * Số tiền VAT từng dòng hàng hóa quy đổi VND
474
+ * @type {number}
475
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
476
+ */
477
+ vatv?: number;
478
+ /**
479
+ * Tổng tiền bao gồm VAT từng dòng hàng hóa quy đổi
480
+ * @type {number}
481
+ * @memberof FptCreateInvoiceRequestInvAllOfItemsInner
482
+ */
483
+ totalv?: number;
484
+ }
485
+ /**
486
+ *
487
+ * @export
488
+ * @interface FptSignContractRequest
489
+ */
490
+ export interface FptSignContractRequest {
491
+ /**
492
+ * Mã hóa đơn (lấy từ field id lúc create invoice)
493
+ * @type {string}
494
+ * @memberof FptSignContractRequest
495
+ */
496
+ id: string;
497
+ /**
498
+ *
499
+ * @type {FptSignContractRequestInv}
500
+ * @memberof FptSignContractRequest
501
+ */
502
+ inv: FptSignContractRequestInv;
503
+ }
504
+ /**
505
+ *
506
+ * @export
507
+ * @interface FptSignContractRequestInv
508
+ */
509
+ export interface FptSignContractRequestInv {
510
+ /**
511
+ * Sid hóa đơn. Bắt buộc nếu không truyền form-serial-seq
512
+ * @type {string}
513
+ * @memberof FptSignContractRequestInv
514
+ */
515
+ sid?: string;
516
+ /**
517
+ * Ký hiệu hóa đơn. Bắt buộc nếu không truyền sid
518
+ * @type {string}
519
+ * @memberof FptSignContractRequestInv
520
+ */
521
+ serial?: string;
522
+ /**
523
+ * Số thứ tự hóa đơn. Bắt buộc nếu không truyền sid
524
+ * @type {number}
525
+ * @memberof FptSignContractRequestInv
526
+ */
527
+ seq?: number;
528
+ /**
529
+ * Mã số thuế bên bán
530
+ * @type {string}
531
+ * @memberof FptSignContractRequestInv
532
+ */
533
+ stax: string;
534
+ /**
535
+ * Thẻ xác định KHÔNG gửi email khi phát hành có hiệu lực
536
+ * @type {number}
537
+ * @memberof FptSignContractRequestInv
538
+ */
539
+ notsendmail?: number;
540
+ /**
541
+ * Xác định đính kèm file khi gửi mail
542
+ * @type {number}
543
+ * @memberof FptSignContractRequestInv
544
+ */
545
+ sendfile?: number;
546
+ }
547
+ /**
548
+ *
549
+ * @export
550
+ * @interface GetInvoiceError
551
+ */
552
+ export interface GetInvoiceError {
553
+ /**
554
+ *
555
+ * @type {string}
556
+ * @memberof GetInvoiceError
557
+ */
558
+ error?: string;
559
+ }
560
+ /**
561
+ *
562
+ * @export
563
+ * @interface GetInvoiceRequest
564
+ */
565
+ export interface GetInvoiceRequest {
566
+ /**
567
+ *
568
+ * @type {string}
569
+ * @memberof GetInvoiceRequest
570
+ */
571
+ id: string;
572
+ /**
573
+ *
574
+ * @type {string}
575
+ * @memberof GetInvoiceRequest
576
+ */
577
+ stax: string;
578
+ }
579
+ /**
580
+ *
581
+ * @export
582
+ * @interface GetInvoiceResponse
583
+ */
584
+ export interface GetInvoiceResponse {
585
+ /**
586
+ *
587
+ * @type {string}
588
+ * @memberof GetInvoiceResponse
589
+ */
590
+ invoiceId?: string;
591
+ /**
592
+ *
593
+ * @type {string}
594
+ * @memberof GetInvoiceResponse
595
+ */
596
+ taxCode?: string;
597
+ /**
598
+ *
599
+ * @type {string}
600
+ * @memberof GetInvoiceResponse
601
+ */
602
+ buyerName?: string;
603
+ /**
604
+ *
605
+ * @type {number}
606
+ * @memberof GetInvoiceResponse
607
+ */
608
+ totalAmount?: number;
609
+ }
610
+ /**
611
+ *
612
+ * @export
613
+ * @interface GetInvoicesError
614
+ */
615
+ export interface GetInvoicesError {
616
+ /**
617
+ * Lỗi khi lấy thông tin hóa đơn
618
+ * @type {string}
619
+ * @memberof GetInvoicesError
620
+ */
621
+ error?: string;
622
+ }
623
+ /**
624
+ *
625
+ * @export
626
+ * @interface GetInvoicesRequest
627
+ */
628
+ export interface GetInvoicesRequest {
629
+ /**
630
+ * Ký hiệu hóa đơn để lọc
631
+ * @type {string}
632
+ * @memberof GetInvoicesRequest
633
+ */
634
+ serial?: string;
635
+ /**
636
+ * Ngày bắt đầu lọc hóa đơn (định dạng yyyy-MM-dd)
637
+ * @type {string}
638
+ * @memberof GetInvoicesRequest
639
+ */
640
+ from_date?: string;
641
+ /**
642
+ * Ngày kết thúc lọc hóa đơn (định dạng yyyy-MM-dd)
643
+ * @type {string}
644
+ * @memberof GetInvoicesRequest
645
+ */
646
+ to_date?: string;
647
+ }
648
+ /**
649
+ *
650
+ * @export
651
+ * @interface GetInvoicesSuccess
652
+ */
653
+ export interface GetInvoicesSuccess {
654
+ /**
655
+ * Mã định danh của hóa đơn
656
+ * @type {string}
657
+ * @memberof GetInvoicesSuccess
658
+ */
659
+ invoiceId?: string;
660
+ /**
661
+ * Mã số thuế của người bán
662
+ * @type {string}
663
+ * @memberof GetInvoicesSuccess
664
+ */
665
+ taxCode?: string;
666
+ /**
667
+ * Tên người mua
668
+ * @type {string}
669
+ * @memberof GetInvoicesSuccess
670
+ */
671
+ buyerName?: string;
672
+ /**
673
+ * Tổng số tiền của hóa đơn
674
+ * @type {number}
675
+ * @memberof GetInvoicesSuccess
676
+ */
677
+ totalAmount?: number;
678
+ /**
679
+ * Ngày phát hành hóa đơn
680
+ * @type {string}
681
+ * @memberof GetInvoicesSuccess
682
+ */
683
+ issueDate?: string;
684
+ }
685
+ /**
686
+ *
687
+ * @export
688
+ * @interface InvObject
689
+ */
690
+ export interface InvObject {
691
+ /**
692
+ * Ký hiệu hóa đơn đăng ký trên thông báo phát hành
693
+ * @type {string}
694
+ * @memberof InvObject
695
+ */
696
+ itype: string;
697
+ /**
698
+ * Ngày tạo hóa đơn yyyy-MM-dd
699
+ * @type {string}
700
+ * @memberof InvObject
701
+ */
702
+ invoice_date: string;
703
+ /**
704
+ * Đơn vị tiền tệ \"VND\", \"USD\"
705
+ * @type {string}
706
+ * @memberof InvObject
707
+ */
708
+ currency: string;
709
+ /**
710
+ * Tỷ giá
711
+ * @type {number}
712
+ * @memberof InvObject
713
+ */
714
+ ex_rate: number;
715
+ /**
716
+ * Tên người mua
717
+ * @type {string}
718
+ * @memberof InvObject
719
+ */
720
+ buyer_name: string;
721
+ /**
722
+ * Tên đơn vị mua
723
+ * @type {string}
724
+ * @memberof InvObject
725
+ */
726
+ buyer_legal_name: string;
727
+ /**
728
+ * Mã số thuế người mua
729
+ * @type {string}
730
+ * @memberof InvObject
731
+ */
732
+ buyer_tax?: string;
733
+ /**
734
+ * Địa chỉ người mua
735
+ * @type {string}
736
+ * @memberof InvObject
737
+ */
738
+ buyer_address: string;
739
+ /**
740
+ * Email người mua
741
+ * @type {string}
742
+ * @memberof InvObject
743
+ */
744
+ buyer_email?: string;
745
+ /**
746
+ * Số tài khoản người mua
747
+ * @type {string}
748
+ * @memberof InvObject
749
+ */
750
+ buyer_bank_account?: string;
751
+ /**
752
+ * Ngân hàng người mua
753
+ * @type {string}
754
+ * @memberof InvObject
755
+ */
756
+ buyer_bank_name?: string;
757
+ /**
758
+ * Hình thức thanh toán TM/CK
759
+ * @type {string}
760
+ * @memberof InvObject
761
+ */
762
+ payment_method?: string;
763
+ /**
764
+ * Tiền chiết khấu (đã gồm thuế)
765
+ * @type {number}
766
+ * @memberof InvObject
767
+ */
768
+ discount?: number;
769
+ /**
770
+ * Tổng tiền chưa thuế (đã quy đổi VNĐ)
771
+ * @type {number}
772
+ * @memberof InvObject
773
+ */
774
+ sum_v?: number;
775
+ /**
776
+ * Tổng tiền thuế (đã quy đổi VNĐ)
777
+ * @type {number}
778
+ * @memberof InvObject
779
+ */
780
+ vat_v?: number;
781
+ /**
782
+ * Thành tiền sau thuế bằng số (VNĐ)
783
+ * @type {number}
784
+ * @memberof InvObject
785
+ */
786
+ total_v?: number;
787
+ /**
788
+ * Số đơn hàng
789
+ * @type {string}
790
+ * @memberof InvObject
791
+ */
792
+ seq?: string;
793
+ /**
794
+ * Mã đơn hàng. Không được phép trùng
795
+ * @type {string}
796
+ * @memberof InvObject
797
+ */
798
+ sid?: string;
799
+ }
800
+ /**
801
+ *
802
+ * @export
803
+ * @interface ItemObject
804
+ */
805
+ export interface ItemObject {
806
+ /**
807
+ * Số thứ tự dòng hàng hóa
808
+ * @type {number}
809
+ * @memberof ItemObject
810
+ */
811
+ line: number;
812
+ /**
813
+ * Tính chất hàng hóa: - `type`: 1 - Hàng hóa dịch vụ - `type`: 2 - Khuyến mãi - `type`: 3 - Chiết khấu thương mại - `type`: 4 - Ghi chú diễn giải
814
+ * @type {number}
815
+ * @memberof ItemObject
816
+ */
817
+ type: number;
818
+ /**
819
+ * Mã hàng hóa
820
+ * @type {string}
821
+ * @memberof ItemObject
822
+ */
823
+ code: string;
824
+ /**
825
+ * Mô tả hàng hóa, dịch vụ
826
+ * @type {string}
827
+ * @memberof ItemObject
828
+ */
829
+ name: string;
830
+ /**
831
+ * Đơn vị tính hàng hóa
832
+ * @type {string}
833
+ * @memberof ItemObject
834
+ */
835
+ unit: string;
836
+ /**
837
+ * Số lượng
838
+ * @type {number}
839
+ * @memberof ItemObject
840
+ */
841
+ quantity: number;
842
+ /**
843
+ * Đơn giá hàng hóa
844
+ * @type {number}
845
+ * @memberof ItemObject
846
+ */
847
+ price: number;
848
+ /**
849
+ * Tỷ lệ % chiết khấu
850
+ * @type {number}
851
+ * @memberof ItemObject
852
+ */
853
+ perdiscount: number;
854
+ /**
855
+ * Số tiền chiết khấu
856
+ * @type {number}
857
+ * @memberof ItemObject
858
+ */
859
+ amtdiscount: number;
860
+ /**
861
+ * Thành tiền từng dòng hàng hóa dịch vụ
862
+ * @type {number}
863
+ * @memberof ItemObject
864
+ */
865
+ amount: number;
866
+ /**
867
+ * Loại thuế suất: (0, 5, 8, 10, -1, -2) - `0`: thuế xuất 0% - `5`: thuế xuất 5% - `8`: thuế xuất 8% - `10`: thuế xuất 10% - `-1`: không chịu thuế - `-2`: không kê khai nộp thuế Khác 6 loại thuế suất trên: thuế xuất khác
868
+ * @type {string}
869
+ * @memberof ItemObject
870
+ */
871
+ vrt: string;
872
+ /**
873
+ * Tổng tiền thuế nguyên tệ
874
+ * @type {number}
875
+ * @memberof ItemObject
876
+ */
877
+ vat?: number;
878
+ /**
879
+ * Tổng tiền thanh toán bao gồm tiền thuế, nguyên tệ
880
+ * @type {number}
881
+ * @memberof ItemObject
882
+ */
883
+ total?: number;
884
+ }
885
+ /**
886
+ *
887
+ * @export
888
+ * @interface SignContractError
889
+ */
890
+ export interface SignContractError {
891
+ /**
892
+ * Thông báo lỗi khi ký hợp đồng
893
+ * @type {string}
894
+ * @memberof SignContractError
895
+ */
896
+ error?: string;
897
+ }
898
+ /**
899
+ *
900
+ * @export
901
+ * @interface SignContractRequest
902
+ */
903
+ export interface SignContractRequest {
904
+ /**
905
+ * Mã hóa đơn (lấy từ field id lúc create invoice)
906
+ * @type {string}
907
+ * @memberof SignContractRequest
908
+ */
909
+ id: string;
910
+ }
911
+ /**
912
+ *
913
+ * @export
914
+ * @interface SignContractResponse
915
+ */
916
+ export interface SignContractResponse {
917
+ /**
918
+ * Mã hợp đồng đã ký
919
+ * @type {string}
920
+ * @memberof SignContractResponse
921
+ */
922
+ contractId?: string;
923
+ /**
924
+ * Trạng thái ký hợp đồng
925
+ * @type {string}
926
+ * @memberof SignContractResponse
927
+ */
928
+ status?: string;
929
+ }
930
+ /**
931
+ *
932
+ * @export
933
+ * @interface SignInError
934
+ */
935
+ export interface SignInError {
936
+ /**
937
+ *
938
+ * @type {string}
939
+ * @memberof SignInError
940
+ */
941
+ error?: string;
942
+ }
943
+ /**
944
+ *
945
+ * @export
946
+ * @interface SignInRequest
947
+ */
948
+ export interface SignInRequest {
949
+ /**
950
+ * Tên đăng nhập
951
+ * @type {string}
952
+ * @memberof SignInRequest
953
+ */
954
+ username: string;
955
+ /**
956
+ * Mật khẩu
957
+ * @type {string}
958
+ * @memberof SignInRequest
959
+ */
960
+ password: string;
961
+ }
962
+ /**
963
+ *
964
+ * @export
965
+ * @interface SignInResponse
966
+ */
967
+ export interface SignInResponse {
968
+ /**
969
+ *
970
+ * @type {string}
971
+ * @memberof SignInResponse
972
+ */
973
+ token?: string;
974
+ }
975
+ /**
976
+ *
977
+ * @export
978
+ * @interface SignInSSORequest
979
+ */
980
+ export interface SignInSSORequest {
981
+ /**
982
+ * Provider identifier
983
+ * @type {string}
984
+ * @memberof SignInSSORequest
985
+ */
986
+ provider: string;
987
+ /**
988
+ * Tax code for merchant login
989
+ * @type {string}
990
+ * @memberof SignInSSORequest
991
+ */
992
+ taxCode: string;
993
+ }
994
+ /**
995
+ *
996
+ * @export
997
+ * @interface SignInSSOResponse
998
+ */
999
+ export interface SignInSSOResponse {
1000
+ /**
1001
+ *
1002
+ * @type {string}
1003
+ * @memberof SignInSSOResponse
1004
+ */
1005
+ message?: string;
1006
+ /**
1007
+ *
1008
+ * @type {boolean}
1009
+ * @memberof SignInSSOResponse
1010
+ */
1011
+ success?: boolean;
1012
+ /**
1013
+ *
1014
+ * @type {Array<any>}
1015
+ * @memberof SignInSSOResponse
1016
+ */
1017
+ datail?: Array<any>;
1018
+ }
1019
+ /**
1020
+ *
1021
+ * @export
1022
+ * @interface SignOutSSOResponse
1023
+ */
1024
+ export interface SignOutSSOResponse {
1025
+ /**
1026
+ *
1027
+ * @type {string}
1028
+ * @memberof SignOutSSOResponse
1029
+ */
1030
+ message?: string;
1031
+ /**
1032
+ *
1033
+ * @type {boolean}
1034
+ * @memberof SignOutSSOResponse
1035
+ */
1036
+ success?: boolean;
1037
+ /**
1038
+ *
1039
+ * @type {Array<any>}
1040
+ * @memberof SignOutSSOResponse
1041
+ */
1042
+ datail?: Array<any>;
1043
+ }
1044
+ /**
1045
+ *
1046
+ * @export
1047
+ * @interface CheckAuthResponse
1048
+ */
1049
+ export interface CheckAuthResponse {
1050
+ /**
1051
+ *
1052
+ * @type {string}
1053
+ * @memberof CheckAuthResponse
1054
+ */
1055
+ message?: string;
1056
+ /**
1057
+ *
1058
+ * @type {boolean}
1059
+ * @memberof CheckAuthResponse
1060
+ */
1061
+ success?: boolean;
1062
+ /**
1063
+ *
1064
+ * @type {Array<any>}
1065
+ * @memberof CheckAuthResponse
1066
+ */
1067
+ datail?: Array<any>;
1068
+ }
1069
+ /**
1070
+ *
1071
+ * @export
1072
+ * @interface TaxInfoError
1073
+ */
1074
+ export interface TaxInfoError {
1075
+ /**
1076
+ *
1077
+ * @type {string}
1078
+ * @memberof TaxInfoError
1079
+ */
1080
+ error?: string;
1081
+ }
1082
+ /**
1083
+ *
1084
+ * @export
1085
+ * @interface TaxInfoResponse
1086
+ */
1087
+ export interface TaxInfoResponse {
1088
+ /**
1089
+ *
1090
+ * @type {TaxInfoResponseTaxInfo}
1091
+ * @memberof TaxInfoResponse
1092
+ */
1093
+ taxInfo?: TaxInfoResponseTaxInfo;
1094
+ }
1095
+ /**
1096
+ *
1097
+ * @export
1098
+ * @interface TaxInfoResponseTaxInfo
1099
+ */
1100
+ export interface TaxInfoResponseTaxInfo {
1101
+ /**
1102
+ *
1103
+ * @type {string}
1104
+ * @memberof TaxInfoResponseTaxInfo
1105
+ */
1106
+ taxCode?: string;
1107
+ /**
1108
+ *
1109
+ * @type {string}
1110
+ * @memberof TaxInfoResponseTaxInfo
1111
+ */
1112
+ companyName?: string;
1113
+ /**
1114
+ *
1115
+ * @type {string}
1116
+ * @memberof TaxInfoResponseTaxInfo
1117
+ */
1118
+ address?: string;
1119
+ }
1120
+ /**
1121
+ *
1122
+ * @export
1123
+ * @interface ViewPrintInvoiceError
1124
+ */
1125
+ export interface ViewPrintInvoiceError {
1126
+ /**
1127
+ * Lỗi khi lấy thông tin hóa đơn
1128
+ * @type {string}
1129
+ * @memberof ViewPrintInvoiceError
1130
+ */
1131
+ error?: string;
1132
+ }
1133
+ /**
1134
+ *
1135
+ * @export
1136
+ * @interface ViewPrintInvoiceResponse
1137
+ */
1138
+ export interface ViewPrintInvoiceResponse {
1139
+ /**
1140
+ * Mã hợp đồng để xác định hóa đơn
1141
+ * @type {string}
1142
+ * @memberof ViewPrintInvoiceResponse
1143
+ */
1144
+ contractId?: string;
1145
+ /**
1146
+ * Trạng thái của hóa đơn
1147
+ * @type {string}
1148
+ * @memberof ViewPrintInvoiceResponse
1149
+ */
1150
+ status?: string;
1151
+ }
1152
+ /**
1153
+ * DefaultApi - axios parameter creator
1154
+ * @export
1155
+ */
1156
+ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
1157
+ /**
1158
+ * Tạo một hóa đơn mới theo định dạng FPT dựa trên thông tin được cung cấp.
1159
+ * @summary FPT
1160
+ * @param {FptCreateInvoiceRequest} fptCreateInvoiceRequest
1161
+ * @param {*} [options] Override http request option.
1162
+ * @throws {RequiredError}
1163
+ */
1164
+ fptCreateInvoice: (fptCreateInvoiceRequest: FptCreateInvoiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1165
+ /**
1166
+ * Lấy thông tin chi tiết của một hóa đơn dựa trên ID hóa đơn.
1167
+ * @summary API lấy thông tin hóa đơn
1168
+ * @param {string} id id hóa đơn.
1169
+ * @param {string} stax mã số thuế bên bán
1170
+ * @param {*} [options] Override http request option.
1171
+ * @throws {RequiredError}
1172
+ */
1173
+ fptGetInvoice: (id: string, stax: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1174
+ /**
1175
+ * Lấy danh sách tất cả hóa đơn dựa trên bộ lọc được cung cấp.
1176
+ * @summary API lấy danh sách hóa đơn
1177
+ * @param {string} fromDate Ngày bắt đầu lọc hóa đơn (định dạng yyyy-MM-dd)
1178
+ * @param {string} toDate Ngày kết thúc lọc hóa đơn (định dạng yyyy-MM-dd)
1179
+ * @param {string} stax mã số thuế bên bán
1180
+ * @param {number} [start] Vị trí bắt đầu của danh sách hóa đơn (phân trang)
1181
+ * @param {number} [count] Số lượng hóa đơn cần lấy (phân trang)
1182
+ * @param {string} [serial] Ký hiệu hóa đơn để lọc
1183
+ * @param {*} [options] Override http request option.
1184
+ * @throws {RequiredError}
1185
+ */
1186
+ fptGetInvoices: (fromDate: string, toDate: string, stax: string, start?: number, count?: number, serial?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1187
+ /**
1188
+ * Ký hợp đồng điện tử với thông tin hợp đồng được cung cấp.
1189
+ * @summary API ký hóa đơn
1190
+ * @param {FptSignContractRequest} fptSignContractRequest
1191
+ * @param {*} [options] Override http request option.
1192
+ * @throws {RequiredError}
1193
+ */
1194
+ fptSignContract: (fptSignContractRequest: FptSignContractRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1195
+ /**
1196
+ * Đăng nhập vào hệ thống với thông tin tài khoản người dùng.
1197
+ * @summary API đăng nhập
1198
+ * @param {SignInRequest} signInRequest
1199
+ * @param {*} [options] Override http request option.
1200
+ * @throws {RequiredError}
1201
+ */
1202
+ fptSignIn: (signInRequest: SignInRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1203
+ /**
1204
+ * Lấy thông tin hóa đơn dưới định dạng sẵn sàng để in.
1205
+ * @summary API xem in hóa đơn
1206
+ * @param {string} id id hóa đơn.
1207
+ * @param {string} stax mã số thuế bên bán
1208
+ * @param {*} [options] Override http request option.
1209
+ * @throws {RequiredError}
1210
+ */
1211
+ fptViewPrintInvoice: (id: string, stax: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1212
+ /**
1213
+ * Tạo một hóa đơn mới dựa trên thông tin được cung cấp.
1214
+ * @summary API tạo hóa đơn
1215
+ * @param {mInvoiceCreateInvoiceRequest} createInvoiceRequest
1216
+ * @param {*} [options] Override http request option.
1217
+ * @throws {RequiredError}
1218
+ */
1219
+ mInvoiceCreateInvoice: (createInvoiceRequest: mInvoiceCreateInvoiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1220
+ /**
1221
+ * Lấy thông tin chi tiết của một hóa đơn dựa trên ID hóa đơn.
1222
+ * @summary API lấy thông tin hóa đơn
1223
+ * @param {string} id id hóa đơn.
1224
+ * @param {*} [options] Override http request option.
1225
+ * @throws {RequiredError}
1226
+ */
1227
+ mInvoiceGetInvoice: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1228
+ /**
1229
+ * Lấy danh sách tất cả hóa đơn dựa trên bộ lọc được cung cấp.
1230
+ * @summary API lấy danh sách hóa đơn
1231
+ * @param {string} fromDate Ngày bắt đầu lọc hóa đơn (định dạng yyyy-MM-dd)
1232
+ * @param {string} toDate Ngày kết thúc lọc hóa đơn (định dạng yyyy-MM-dd)
1233
+ * @param {number} [start] Vị trí bắt đầu của danh sách hóa đơn (phân trang)
1234
+ * @param {number} [count] Số lượng hóa đơn cần lấy (phân trang)
1235
+ * @param {string} [serial] Ký hiệu hóa đơn để lọc
1236
+ * @param {*} [options] Override http request option.
1237
+ * @throws {RequiredError}
1238
+ */
1239
+ mInvoiceGetInvoices: (fromDate: string, toDate: string, start?: number, count?: number, serial?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1240
+ /**
1241
+ * Ký hợp đồng điện tử với thông tin hợp đồng được cung cấp.
1242
+ * @summary API ký hóa đơn
1243
+ * @param {SignContractRequest} signContractRequest
1244
+ * @param {*} [options] Override http request option.
1245
+ * @throws {RequiredError}
1246
+ */
1247
+ mInvoiceSignContract: (signContractRequest: SignContractRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1248
+ /**
1249
+ * Đăng nhập vào hệ thống với thông tin tài khoản người dùng.
1250
+ * @summary API đăng nhập
1251
+ * @param {SignInRequest} signInRequest
1252
+ * @param {*} [options] Override http request option.
1253
+ * @throws {RequiredError}
1254
+ */
1255
+ mInvoiceSignIn: (signInRequest: SignInRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1256
+ /**
1257
+ * Lấy thông tin hóa đơn dưới định dạng sẵn sàng để in.
1258
+ * @summary API xem in hóa đơn
1259
+ * @param {string} id id hóa đơn.
1260
+ * @param {*} [options] Override http request option.
1261
+ * @throws {RequiredError}
1262
+ */
1263
+ mInvoiceViewPrintInvoice: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1264
+ /**
1265
+ * Lấy thông tin chi tiết của một mã số thuế (MST) dựa trên mã số thuế được cung cấp.
1266
+ * @summary API lấy thông tin mã số thuế
1267
+ * @param {string} tax Mã số thuế cần tra cứu
1268
+ * @param {*} [options] Override http request option.
1269
+ * @throws {RequiredError}
1270
+ */
1271
+ taxInfo: (tax: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1272
+ /**
1273
+ * Single Sign-On login for merchants using provider and tax code.
1274
+ * @summary API merchant SSO login
1275
+ * @param {SignInSSORequest} signInSSORequest
1276
+ * @param {*} [options] Override http request option.
1277
+ * @throws {RequiredError}
1278
+ */
1279
+ signInSSO: (signInSSORequest: SignInSSORequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1280
+ /**
1281
+ * Single Sign-On logout for merchants using provider and tax code.
1282
+ * @summary API merchant SSO logout
1283
+ * @param {*} [options] Override http request option.
1284
+ * @throws {RequiredError}
1285
+ */
1286
+ signOutSSO: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1287
+ /**
1288
+ * Check authentication status for merchants using provider and tax code.
1289
+ * @summary API check auth
1290
+ * @param {*} [options] Override http request option.
1291
+ * @throws {RequiredError}
1292
+ */
1293
+ checkAuth: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1294
+ };
1295
+ /**
1296
+ * DefaultApi - functional programming interface
1297
+ * @export
1298
+ */
1299
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
1300
+ /**
1301
+ * Tạo một hóa đơn mới theo định dạng FPT dựa trên thông tin được cung cấp.
1302
+ * @summary FPT
1303
+ * @param {FptCreateInvoiceRequest} fptCreateInvoiceRequest
1304
+ * @param {*} [options] Override http request option.
1305
+ * @throws {RequiredError}
1306
+ */
1307
+ fptCreateInvoice(fptCreateInvoiceRequest: FptCreateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInvoiceSuccess>>;
1308
+ /**
1309
+ * Lấy thông tin chi tiết của một hóa đơn dựa trên ID hóa đơn.
1310
+ * @summary API lấy thông tin hóa đơn
1311
+ * @param {string} id id hóa đơn.
1312
+ * @param {string} stax mã số thuế bên bán
1313
+ * @param {*} [options] Override http request option.
1314
+ * @throws {RequiredError}
1315
+ */
1316
+ fptGetInvoice(id: string, stax: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceResponse>>;
1317
+ /**
1318
+ * Lấy danh sách tất cả hóa đơn dựa trên bộ lọc được cung cấp.
1319
+ * @summary API lấy danh sách hóa đơn
1320
+ * @param {string} fromDate Ngày bắt đầu lọc hóa đơn (định dạng yyyy-MM-dd)
1321
+ * @param {string} toDate Ngày kết thúc lọc hóa đơn (định dạng yyyy-MM-dd)
1322
+ * @param {string} stax mã số thuế bên bán
1323
+ * @param {number} [start] Vị trí bắt đầu của danh sách hóa đơn (phân trang)
1324
+ * @param {number} [count] Số lượng hóa đơn cần lấy (phân trang)
1325
+ * @param {string} [serial] Ký hiệu hóa đơn để lọc
1326
+ * @param {*} [options] Override http request option.
1327
+ * @throws {RequiredError}
1328
+ */
1329
+ fptGetInvoices(fromDate: string, toDate: string, stax: string, start?: number, count?: number, serial?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoicesSuccess>>;
1330
+ /**
1331
+ * Ký hợp đồng điện tử với thông tin hợp đồng được cung cấp.
1332
+ * @summary API ký hóa đơn
1333
+ * @param {FptSignContractRequest} fptSignContractRequest
1334
+ * @param {*} [options] Override http request option.
1335
+ * @throws {RequiredError}
1336
+ */
1337
+ fptSignContract(fptSignContractRequest: FptSignContractRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignContractResponse>>;
1338
+ /**
1339
+ * Đăng nhập vào hệ thống với thông tin tài khoản người dùng.
1340
+ * @summary API đăng nhập
1341
+ * @param {SignInRequest} signInRequest
1342
+ * @param {*} [options] Override http request option.
1343
+ * @throws {RequiredError}
1344
+ */
1345
+ fptSignIn(signInRequest: SignInRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignInResponse>>;
1346
+ /**
1347
+ * Lấy thông tin hóa đơn dưới định dạng sẵn sàng để in.
1348
+ * @summary API xem in hóa đơn
1349
+ * @param {string} id id hóa đơn.
1350
+ * @param {string} stax mã số thuế bên bán
1351
+ * @param {*} [options] Override http request option.
1352
+ * @throws {RequiredError}
1353
+ */
1354
+ fptViewPrintInvoice(id: string, stax: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ViewPrintInvoiceResponse>>;
1355
+ /**
1356
+ * Tạo một hóa đơn mới dựa trên thông tin được cung cấp.
1357
+ * @summary API tạo hóa đơn
1358
+ * @param {mInvoiceCreateInvoiceRequest} createInvoiceRequest
1359
+ * @param {*} [options] Override http request option.
1360
+ * @throws {RequiredError}
1361
+ */
1362
+ mInvoiceCreateInvoice(createInvoiceRequest: mInvoiceCreateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInvoiceSuccess>>;
1363
+ /**
1364
+ * Lấy thông tin chi tiết của một hóa đơn dựa trên ID hóa đơn.
1365
+ * @summary API lấy thông tin hóa đơn
1366
+ * @param {string} id id hóa đơn.
1367
+ * @param {*} [options] Override http request option.
1368
+ * @throws {RequiredError}
1369
+ */
1370
+ mInvoiceGetInvoice(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceResponse>>;
1371
+ /**
1372
+ * Lấy danh sách tất cả hóa đơn dựa trên bộ lọc được cung cấp.
1373
+ * @summary API lấy danh sách hóa đơn
1374
+ * @param {string} fromDate Ngày bắt đầu lọc hóa đơn (định dạng yyyy-MM-dd)
1375
+ * @param {string} toDate Ngày kết thúc lọc hóa đơn (định dạng yyyy-MM-dd)
1376
+ * @param {number} [start] Vị trí bắt đầu của danh sách hóa đơn (phân trang)
1377
+ * @param {number} [count] Số lượng hóa đơn cần lấy (phân trang)
1378
+ * @param {string} [serial] Ký hiệu hóa đơn để lọc
1379
+ * @param {*} [options] Override http request option.
1380
+ * @throws {RequiredError}
1381
+ */
1382
+ mInvoiceGetInvoices(fromDate: string, toDate: string, start?: number, count?: number, serial?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoicesSuccess>>;
1383
+ /**
1384
+ * Ký hợp đồng điện tử với thông tin hợp đồng được cung cấp.
1385
+ * @summary API ký hóa đơn
1386
+ * @param {SignContractRequest} signContractRequest
1387
+ * @param {*} [options] Override http request option.
1388
+ * @throws {RequiredError}
1389
+ */
1390
+ mInvoiceSignContract(signContractRequest: SignContractRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignContractResponse>>;
1391
+ /**
1392
+ * Đăng nhập vào hệ thống với thông tin tài khoản người dùng.
1393
+ * @summary API đăng nhập
1394
+ * @param {SignInRequest} signInRequest
1395
+ * @param {*} [options] Override http request option.
1396
+ * @throws {RequiredError}
1397
+ */
1398
+ mInvoiceSignIn(signInRequest: SignInRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignInResponse>>;
1399
+ /**
1400
+ * Lấy thông tin hóa đơn dưới định dạng sẵn sàng để in.
1401
+ * @summary API xem in hóa đơn
1402
+ * @param {string} id id hóa đơn.
1403
+ * @param {*} [options] Override http request option.
1404
+ * @throws {RequiredError}
1405
+ */
1406
+ mInvoiceViewPrintInvoice(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ViewPrintInvoiceResponse>>;
1407
+ /**
1408
+ * Lấy thông tin chi tiết của một mã số thuế (MST) dựa trên mã số thuế được cung cấp.
1409
+ * @summary API lấy thông tin mã số thuế
1410
+ * @param {string} tax Mã số thuế cần tra cứu
1411
+ * @param {*} [options] Override http request option.
1412
+ * @throws {RequiredError}
1413
+ */
1414
+ taxInfo(tax: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TaxInfoResponse>>;
1415
+ /**
1416
+ * Single Sign-On login for merchants using provider and tax code.
1417
+ * @summary API merchant SSO login
1418
+ * @param {SignInSSORequest} signInSSORequest
1419
+ * @param {*} [options] Override http request option.
1420
+ * @throws {RequiredError}
1421
+ */
1422
+ signInSSO(signInSSORequest: SignInSSORequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignInSSOResponse>>;
1423
+ /**
1424
+ * Single Sign-On logout for merchants using provider and tax code.
1425
+ * @summary API merchant SSO logout
1426
+ * @param {*} [options] Override http request option.
1427
+ * @throws {RequiredError}
1428
+ */
1429
+ signOutSSO(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignOutSSOResponse>>;
1430
+ /**
1431
+ * Check authentication status for merchants using provider and tax code.
1432
+ * @summary API check auth
1433
+ * @param {*} [options] Override http request option.
1434
+ * @throws {RequiredError}
1435
+ */
1436
+ checkAuth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckAuthResponse>>;
1437
+ };
1438
+ /**
1439
+ * DefaultApi - factory interface
1440
+ * @export
1441
+ */
1442
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1443
+ /**
1444
+ * Tạo một hóa đơn mới theo định dạng FPT dựa trên thông tin được cung cấp.
1445
+ * @summary FPT
1446
+ * @param {FptCreateInvoiceRequest} fptCreateInvoiceRequest
1447
+ * @param {*} [options] Override http request option.
1448
+ * @throws {RequiredError}
1449
+ */
1450
+ fptCreateInvoice(fptCreateInvoiceRequest: FptCreateInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateInvoiceSuccess>;
1451
+ /**
1452
+ * Lấy thông tin chi tiết của một hóa đơn dựa trên ID hóa đơn.
1453
+ * @summary API lấy thông tin hóa đơn
1454
+ * @param {string} id id hóa đơn.
1455
+ * @param {string} stax mã số thuế bên bán
1456
+ * @param {*} [options] Override http request option.
1457
+ * @throws {RequiredError}
1458
+ */
1459
+ fptGetInvoice(id: string, stax: string, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoiceResponse>;
1460
+ /**
1461
+ * Lấy danh sách tất cả hóa đơn dựa trên bộ lọc được cung cấp.
1462
+ * @summary API lấy danh sách hóa đơn
1463
+ * @param {string} fromDate Ngày bắt đầu lọc hóa đơn (định dạng yyyy-MM-dd)
1464
+ * @param {string} toDate Ngày kết thúc lọc hóa đơn (định dạng yyyy-MM-dd)
1465
+ * @param {string} stax mã số thuế bên bán
1466
+ * @param {number} [start] Vị trí bắt đầu của danh sách hóa đơn (phân trang)
1467
+ * @param {number} [count] Số lượng hóa đơn cần lấy (phân trang)
1468
+ * @param {string} [serial] Ký hiệu hóa đơn để lọc
1469
+ * @param {*} [options] Override http request option.
1470
+ * @throws {RequiredError}
1471
+ */
1472
+ fptGetInvoices(fromDate: string, toDate: string, stax: string, start?: number, count?: number, serial?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoicesSuccess>;
1473
+ /**
1474
+ * Ký hợp đồng điện tử với thông tin hợp đồng được cung cấp.
1475
+ * @summary API ký hóa đơn
1476
+ * @param {FptSignContractRequest} fptSignContractRequest
1477
+ * @param {*} [options] Override http request option.
1478
+ * @throws {RequiredError}
1479
+ */
1480
+ fptSignContract(fptSignContractRequest: FptSignContractRequest, options?: RawAxiosRequestConfig): AxiosPromise<SignContractResponse>;
1481
+ /**
1482
+ * Đăng nhập vào hệ thống với thông tin tài khoản người dùng.
1483
+ * @summary API đăng nhập
1484
+ * @param {SignInRequest} signInRequest
1485
+ * @param {*} [options] Override http request option.
1486
+ * @throws {RequiredError}
1487
+ */
1488
+ fptSignIn(signInRequest: SignInRequest, options?: RawAxiosRequestConfig): AxiosPromise<SignInResponse>;
1489
+ /**
1490
+ * Lấy thông tin hóa đơn dưới định dạng sẵn sàng để in.
1491
+ * @summary API xem in hóa đơn
1492
+ * @param {string} id id hóa đơn.
1493
+ * @param {string} stax mã số thuế bên bán
1494
+ * @param {*} [options] Override http request option.
1495
+ * @throws {RequiredError}
1496
+ */
1497
+ fptViewPrintInvoice(id: string, stax: string, options?: RawAxiosRequestConfig): AxiosPromise<ViewPrintInvoiceResponse>;
1498
+ /**
1499
+ * Tạo một hóa đơn mới dựa trên thông tin được cung cấp.
1500
+ * @summary API tạo hóa đơn
1501
+ * @param {mInvoiceCreateInvoiceRequest} createInvoiceRequest
1502
+ * @param {*} [options] Override http request option.
1503
+ * @throws {RequiredError}
1504
+ */
1505
+ mInvoiceCreateInvoice(createInvoiceRequest: mInvoiceCreateInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateInvoiceSuccess>;
1506
+ /**
1507
+ * Lấy thông tin chi tiết của một hóa đơn dựa trên ID hóa đơn.
1508
+ * @summary API lấy thông tin hóa đơn
1509
+ * @param {string} id id hóa đơn.
1510
+ * @param {*} [options] Override http request option.
1511
+ * @throws {RequiredError}
1512
+ */
1513
+ mInvoiceGetInvoice(id: string, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoiceResponse>;
1514
+ /**
1515
+ * Lấy danh sách tất cả hóa đơn dựa trên bộ lọc được cung cấp.
1516
+ * @summary API lấy danh sách hóa đơn
1517
+ * @param {string} fromDate Ngày bắt đầu lọc hóa đơn (định dạng yyyy-MM-dd)
1518
+ * @param {string} toDate Ngày kết thúc lọc hóa đơn (định dạng yyyy-MM-dd)
1519
+ * @param {number} [start] Vị trí bắt đầu của danh sách hóa đơn (phân trang)
1520
+ * @param {number} [count] Số lượng hóa đơn cần lấy (phân trang)
1521
+ * @param {string} [serial] Ký hiệu hóa đơn để lọc
1522
+ * @param {*} [options] Override http request option.
1523
+ * @throws {RequiredError}
1524
+ */
1525
+ mInvoiceGetInvoices(fromDate: string, toDate: string, start?: number, count?: number, serial?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoicesSuccess>;
1526
+ /**
1527
+ * Ký hợp đồng điện tử với thông tin hợp đồng được cung cấp.
1528
+ * @summary API ký hóa đơn
1529
+ * @param {SignContractRequest} signContractRequest
1530
+ * @param {*} [options] Override http request option.
1531
+ * @throws {RequiredError}
1532
+ */
1533
+ mInvoiceSignContract(signContractRequest: SignContractRequest, options?: RawAxiosRequestConfig): AxiosPromise<SignContractResponse>;
1534
+ /**
1535
+ * Đăng nhập vào hệ thống với thông tin tài khoản người dùng.
1536
+ * @summary API đăng nhập
1537
+ * @param {SignInRequest} signInRequest
1538
+ * @param {*} [options] Override http request option.
1539
+ * @throws {RequiredError}
1540
+ */
1541
+ mInvoiceSignIn(signInRequest: SignInRequest, options?: RawAxiosRequestConfig): AxiosPromise<SignInResponse>;
1542
+ /**
1543
+ * Lấy thông tin hóa đơn dưới định dạng sẵn sàng để in.
1544
+ * @summary API xem in hóa đơn
1545
+ * @param {string} id id hóa đơn.
1546
+ * @param {*} [options] Override http request option.
1547
+ * @throws {RequiredError}
1548
+ */
1549
+ mInvoiceViewPrintInvoice(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ViewPrintInvoiceResponse>;
1550
+ /**
1551
+ * Lấy thông tin chi tiết của một mã số thuế (MST) dựa trên mã số thuế được cung cấp.
1552
+ * @summary API lấy thông tin mã số thuế
1553
+ * @param {string} tax Mã số thuế cần tra cứu
1554
+ * @param {*} [options] Override http request option.
1555
+ * @throws {RequiredError}
1556
+ */
1557
+ taxInfo(tax: string, options?: RawAxiosRequestConfig): AxiosPromise<TaxInfoResponse>;
1558
+ };
1559
+ /**
1560
+ * DefaultApi - object-oriented interface
1561
+ * @export
1562
+ * @class DefaultApi
1563
+ * @extends {BaseAPI}
1564
+ */
1565
+ export declare class DefaultApi extends BaseAPI {
1566
+ /**
1567
+ * Tạo một hóa đơn mới theo định dạng FPT dựa trên thông tin được cung cấp.
1568
+ * @summary FPT
1569
+ * @param {FptCreateInvoiceRequest} fptCreateInvoiceRequest
1570
+ * @param {*} [options] Override http request option.
1571
+ * @throws {RequiredError}
1572
+ * @memberof DefaultApi
1573
+ */
1574
+ fptCreateInvoice(fptCreateInvoiceRequest: FptCreateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CreateInvoiceSuccess, any>>;
1575
+ /**
1576
+ * Lấy thông tin chi tiết của một hóa đơn dựa trên ID hóa đơn.
1577
+ * @summary API lấy thông tin hóa đơn
1578
+ * @param {string} id id hóa đơn.
1579
+ * @param {string} stax mã số thuế bên bán
1580
+ * @param {*} [options] Override http request option.
1581
+ * @throws {RequiredError}
1582
+ * @memberof DefaultApi
1583
+ */
1584
+ fptGetInvoice(id: string, stax: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<GetInvoiceResponse, any>>;
1585
+ /**
1586
+ * Lấy danh sách tất cả hóa đơn dựa trên bộ lọc được cung cấp.
1587
+ * @summary API lấy danh sách hóa đơn
1588
+ * @param {string} fromDate Ngày bắt đầu lọc hóa đơn (định dạng yyyy-MM-dd)
1589
+ * @param {string} toDate Ngày kết thúc lọc hóa đơn (định dạng yyyy-MM-dd)
1590
+ * @param {string} stax mã số thuế bên bán
1591
+ * @param {number} [start] Vị trí bắt đầu của danh sách hóa đơn (phân trang)
1592
+ * @param {number} [count] Số lượng hóa đơn cần lấy (phân trang)
1593
+ * @param {string} [serial] Ký hiệu hóa đơn để lọc
1594
+ * @param {*} [options] Override http request option.
1595
+ * @throws {RequiredError}
1596
+ * @memberof DefaultApi
1597
+ */
1598
+ fptGetInvoices(fromDate: string, toDate: string, stax: string, start?: number, count?: number, serial?: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<GetInvoicesSuccess, any>>;
1599
+ /**
1600
+ * Ký hợp đồng điện tử với thông tin hợp đồng được cung cấp.
1601
+ * @summary API ký hóa đơn
1602
+ * @param {FptSignContractRequest} fptSignContractRequest
1603
+ * @param {*} [options] Override http request option.
1604
+ * @throws {RequiredError}
1605
+ * @memberof DefaultApi
1606
+ */
1607
+ fptSignContract(fptSignContractRequest: FptSignContractRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SignContractResponse, any>>;
1608
+ /**
1609
+ * Đăng nhập vào hệ thống với thông tin tài khoản người dùng.
1610
+ * @summary API đăng nhập
1611
+ * @param {SignInRequest} signInRequest
1612
+ * @param {*} [options] Override http request option.
1613
+ * @throws {RequiredError}
1614
+ * @memberof DefaultApi
1615
+ */
1616
+ fptSignIn(signInRequest: SignInRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SignInResponse, any>>;
1617
+ /**
1618
+ * Lấy thông tin hóa đơn dưới định dạng sẵn sàng để in.
1619
+ * @summary API xem in hóa đơn
1620
+ * @param {string} id id hóa đơn.
1621
+ * @param {string} stax mã số thuế bên bán
1622
+ * @param {*} [options] Override http request option.
1623
+ * @throws {RequiredError}
1624
+ * @memberof DefaultApi
1625
+ */
1626
+ fptViewPrintInvoice(id: string, stax: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ViewPrintInvoiceResponse, any>>;
1627
+ /**
1628
+ * Tạo một hóa đơn mới dựa trên thông tin được cung cấp.
1629
+ * @summary API tạo hóa đơn
1630
+ * @param {mInvoiceCreateInvoiceRequest} createInvoiceRequest
1631
+ * @param {*} [options] Override http request option.
1632
+ * @throws {RequiredError}
1633
+ * @memberof DefaultApi
1634
+ */
1635
+ mInvoiceCreateInvoice(createInvoiceRequest: mInvoiceCreateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CreateInvoiceSuccess, any>>;
1636
+ /**
1637
+ * Lấy thông tin chi tiết của một hóa đơn dựa trên ID hóa đơn.
1638
+ * @summary API lấy thông tin hóa đơn
1639
+ * @param {string} id id hóa đơn.
1640
+ * @param {*} [options] Override http request option.
1641
+ * @throws {RequiredError}
1642
+ * @memberof DefaultApi
1643
+ */
1644
+ mInvoiceGetInvoice(id: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<GetInvoiceResponse, any>>;
1645
+ /**
1646
+ * Lấy danh sách tất cả hóa đơn dựa trên bộ lọc được cung cấp.
1647
+ * @summary API lấy danh sách hóa đơn
1648
+ * @param {string} fromDate Ngày bắt đầu lọc hóa đơn (định dạng yyyy-MM-dd)
1649
+ * @param {string} toDate Ngày kết thúc lọc hóa đơn (định dạng yyyy-MM-dd)
1650
+ * @param {number} [start] Vị trí bắt đầu của danh sách hóa đơn (phân trang)
1651
+ * @param {number} [count] Số lượng hóa đơn cần lấy (phân trang)
1652
+ * @param {string} [serial] Ký hiệu hóa đơn để lọc
1653
+ * @param {*} [options] Override http request option.
1654
+ * @throws {RequiredError}
1655
+ * @memberof DefaultApi
1656
+ */
1657
+ mInvoiceGetInvoices(fromDate: string, toDate: string, start?: number, count?: number, serial?: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<GetInvoicesSuccess, any>>;
1658
+ /**
1659
+ * Ký hợp đồng điện tử với thông tin hợp đồng được cung cấp.
1660
+ * @summary API ký hóa đơn
1661
+ * @param {SignContractRequest} signContractRequest
1662
+ * @param {*} [options] Override http request option.
1663
+ * @throws {RequiredError}
1664
+ * @memberof DefaultApi
1665
+ */
1666
+ mInvoiceSignContract(signContractRequest: SignContractRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SignContractResponse, any>>;
1667
+ /**
1668
+ * Đăng nhập vào hệ thống với thông tin tài khoản người dùng.
1669
+ * @summary API đăng nhập
1670
+ * @param {SignInRequest} signInRequest
1671
+ * @param {*} [options] Override http request option.
1672
+ * @throws {RequiredError}
1673
+ * @memberof DefaultApi
1674
+ */
1675
+ mInvoiceSignIn(signInRequest: SignInRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SignInResponse, any>>;
1676
+ /**
1677
+ * Lấy thông tin hóa đơn dưới định dạng sẵn sàng để in.
1678
+ * @summary API xem in hóa đơn
1679
+ * @param {string} id id hóa đơn.
1680
+ * @param {*} [options] Override http request option.
1681
+ * @throws {RequiredError}
1682
+ * @memberof DefaultApi
1683
+ */
1684
+ mInvoiceViewPrintInvoice(id: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ViewPrintInvoiceResponse, any>>;
1685
+ /**
1686
+ * Lấy thông tin chi tiết của một mã số thuế (MST) dựa trên mã số thuế được cung cấp.
1687
+ * @summary API lấy thông tin mã số thuế
1688
+ * @param {string} tax Mã số thuế cần tra cứu
1689
+ * @param {*} [options] Override http request option.
1690
+ * @throws {RequiredError}
1691
+ * @memberof DefaultApi
1692
+ */
1693
+ taxInfo(tax: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<TaxInfoResponse, any>>;
1694
+ /**
1695
+ * Single Sign-On login for merchants using provider and tax code.
1696
+ * @summary API merchant SSO login
1697
+ * @param {SignInSSORequest} signInSSORequest
1698
+ * @param {*} [options] Override http request option.
1699
+ * @throws {RequiredError}
1700
+ * @memberof DefaultApi
1701
+ */
1702
+ signInSSO(signInSSORequest: SignInSSORequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SignInSSOResponse, any>>;
1703
+ /**
1704
+ * Single Sign-On logout for merchants using provider and tax code.
1705
+ * @summary API merchant SSO logout
1706
+ * @param {*} [options] Override http request option.
1707
+ * @throws {RequiredError}
1708
+ * @memberof DefaultApi
1709
+ */
1710
+ signOutSSO(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SignOutSSOResponse, any>>;
1711
+ /**
1712
+ * Check authentication status for merchants using provider and tax code.
1713
+ * @summary API check auth
1714
+ * @param {*} [options] Override http request option.
1715
+ * @throws {RequiredError}
1716
+ * @memberof DefaultApi
1717
+ */
1718
+ checkAuth(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CheckAuthResponse, any>>;
1719
+ }
1720
+ /**
1721
+ * Unified API functions distinguished by provider in configuration
1722
+ * @export
1723
+ */
1724
+ export declare const InvoiceApi: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1725
+ /**
1726
+ * Create Invoice (Unified)
1727
+ * @param {any} data - Invoice request data
1728
+ * @param {*} [options] - Override http request option.
1729
+ */
1730
+ createInvoice(data: mInvoiceCreateInvoiceRequest | FptCreateInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CreateInvoiceSuccess, any>>;
1731
+ /**
1732
+ * Get Invoice (Unified)
1733
+ */
1734
+ getInvoice(params: {
1735
+ id: string;
1736
+ stax?: string;
1737
+ }, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<GetInvoiceResponse, any>>;
1738
+ /**
1739
+ * Get Invoices (Unified)
1740
+ */
1741
+ getInvoices(params: {
1742
+ fromDate: string;
1743
+ toDate: string;
1744
+ stax?: string;
1745
+ start?: number;
1746
+ count?: number;
1747
+ serial?: string;
1748
+ }, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<GetInvoicesSuccess, any>>;
1749
+ /**
1750
+ * Sign Contract (Unified)
1751
+ */
1752
+ signContract(data: SignContractRequest | FptSignContractRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SignContractResponse, any>>;
1753
+ /**
1754
+ * Sign In (Unified)
1755
+ */
1756
+ signIn(data: SignInRequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SignInResponse, any>>;
1757
+ /**
1758
+ * View Print Invoice (Unified)
1759
+ */
1760
+ viewPrintInvoice(params: {
1761
+ id: string;
1762
+ stax?: string;
1763
+ }, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<ViewPrintInvoiceResponse, any>>;
1764
+ /**
1765
+ * Tax Info (Unified)
1766
+ */
1767
+ taxInfo(tax: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<TaxInfoResponse, any>>;
1768
+ /**
1769
+ * Single Sign-On login for merchants (Unified)
1770
+ */
1771
+ signInSSO(signInSSORequest: SignInSSORequest, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SignInSSOResponse, any>>;
1772
+ /**
1773
+ * Single Sign-On logout for merchants (Unified)
1774
+ */
1775
+ signOutSSO(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<SignOutSSOResponse, any>>;
1776
+ /**
1777
+ * Check authentication status for merchants (Unified)
1778
+ */
1779
+ checkAuth(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CheckAuthResponse, any>>;
1780
+ };