@atomsolution/invoice-sdk-api 1.21.0 → 1.22.1
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 +7 -7
- package/dist/api.d.ts +0 -121
- package/dist/index.esm.js +1 -148
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Document *https://stag-invoice-docs.atomsolution.vn/docs/intro*
|
|
|
10
10
|
### NPM Package
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
npm install @atomsolution/invoice-sdk-api
|
|
13
|
+
npm install @atomsolution/invoice-sdk-api
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
### CDN Usage
|
|
@@ -21,7 +21,7 @@ npm install @atomsolution/invoice-sdk-api/api
|
|
|
21
21
|
<script src="https://unpkg.com/crypto-js/crypto-js.js"></script>
|
|
22
22
|
|
|
23
23
|
<!-- Include the SDK -->
|
|
24
|
-
<script src="https://unpkg.com/@atomsolution/invoice-sdk-api
|
|
24
|
+
<script src="https://unpkg.com/@atomsolution/invoice-sdk-api@latest/dist/index.umd.js"></script>
|
|
25
25
|
|
|
26
26
|
<script>
|
|
27
27
|
// SDK is available as window.InvoiceSDK
|
|
@@ -34,7 +34,7 @@ npm install @atomsolution/invoice-sdk-api/api
|
|
|
34
34
|
### ES Modules (Node.js/Modern Browsers)
|
|
35
35
|
|
|
36
36
|
```typescript
|
|
37
|
-
import { Configuration, Provider, InvoiceApi } from '@atomsolution/invoice-sdk-api
|
|
37
|
+
import { Configuration, Provider, InvoiceApi } from '@atomsolution/invoice-sdk-api';
|
|
38
38
|
|
|
39
39
|
const config = new Configuration({
|
|
40
40
|
provider: Provider.MInvoice,
|
|
@@ -48,7 +48,7 @@ const invoiceApi = new InvoiceApi(config);
|
|
|
48
48
|
### CommonJS (Node.js)
|
|
49
49
|
|
|
50
50
|
```javascript
|
|
51
|
-
const { Configuration, Provider, InvoiceApi } = require('@atomsolution/invoice-sdk-api
|
|
51
|
+
const { Configuration, Provider, InvoiceApi } = require('@atomsolution/invoice-sdk-api');
|
|
52
52
|
|
|
53
53
|
const config = new Configuration({
|
|
54
54
|
provider: Provider.MInvoice,
|
|
@@ -62,7 +62,7 @@ const invoiceApi = new InvoiceApi(config);
|
|
|
62
62
|
### Browser UMD
|
|
63
63
|
|
|
64
64
|
```html
|
|
65
|
-
<script src="https://unpkg.com/@atomsolution/invoice-sdk-api
|
|
65
|
+
<script src="https://unpkg.com/@atomsolution/invoice-sdk-api@latest/dist/index.umd.js"></script>
|
|
66
66
|
<script>
|
|
67
67
|
const { Configuration, Provider, InvoiceApi } = window.InvoiceSDK;
|
|
68
68
|
|
|
@@ -115,8 +115,8 @@ The package provides multiple build formats:
|
|
|
115
115
|
|
|
116
116
|
You can use the package directly from CDN services:
|
|
117
117
|
|
|
118
|
-
- **unpkg**: `https://unpkg.com/@atomsolution/invoice-sdk-api
|
|
119
|
-
- **jsDelivr**: `https://cdn.jsdelivr.net/npm/@atomsolution/invoice-sdk-api
|
|
118
|
+
- **unpkg**: `https://unpkg.com/@atomsolution/invoice-sdk-api@latest/dist/index.umd.js`
|
|
119
|
+
- **jsDelivr**: `https://cdn.jsdelivr.net/npm/@atomsolution/invoice-sdk-api@latest/dist/index.umd.js`
|
|
120
120
|
|
|
121
121
|
## License
|
|
122
122
|
|
package/dist/api.d.ts
CHANGED
|
@@ -1435,127 +1435,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1435
1435
|
*/
|
|
1436
1436
|
checkAuth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckAuthResponse>>;
|
|
1437
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
1438
|
/**
|
|
1560
1439
|
* DefaultApi - object-oriented interface
|
|
1561
1440
|
* @export
|
package/dist/index.esm.js
CHANGED
|
@@ -841,7 +841,7 @@ const DefaultApiAxiosParamCreator = function(configuration) {
|
|
|
841
841
|
};
|
|
842
842
|
const DefaultApiFp = function(configuration) {
|
|
843
843
|
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
|
|
844
|
-
const BASE_PATH = (configuration == null ? void 0 : configuration.mode) === "
|
|
844
|
+
const BASE_PATH = (configuration == null ? void 0 : configuration.mode) === "prod" ? "https://invoice-hub.atomsolution.vn".replace(/\/+$/, "") : "https://stag-invoice-hub.atomsolution.vn".replace(/\/+$/, "");
|
|
845
845
|
return {
|
|
846
846
|
/**
|
|
847
847
|
* 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.
|
|
@@ -1237,152 +1237,6 @@ const DefaultApiFp = function(configuration) {
|
|
|
1237
1237
|
}
|
|
1238
1238
|
};
|
|
1239
1239
|
};
|
|
1240
|
-
const DefaultApiFactory = function(configuration, basePath, axios) {
|
|
1241
|
-
const localVarFp = DefaultApiFp(configuration);
|
|
1242
|
-
return {
|
|
1243
|
-
/**
|
|
1244
|
-
* 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.
|
|
1245
|
-
* @summary FPT
|
|
1246
|
-
* @param {FptCreateInvoiceRequest} fptCreateInvoiceRequest
|
|
1247
|
-
* @param {*} [options] Override http request option.
|
|
1248
|
-
* @throws {RequiredError}
|
|
1249
|
-
*/
|
|
1250
|
-
fptCreateInvoice(fptCreateInvoiceRequest, options) {
|
|
1251
|
-
return localVarFp.fptCreateInvoice(fptCreateInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
1252
|
-
},
|
|
1253
|
-
/**
|
|
1254
|
-
* Lấy thông tin chi tiết của một hóa đơn dựa trên ID hóa đơn.
|
|
1255
|
-
* @summary API lấy thông tin hóa đơn
|
|
1256
|
-
* @param {string} id id hóa đơn.
|
|
1257
|
-
* @param {string} stax mã số thuế bên bán
|
|
1258
|
-
* @param {*} [options] Override http request option.
|
|
1259
|
-
* @throws {RequiredError}
|
|
1260
|
-
*/
|
|
1261
|
-
fptGetInvoice(id, stax, options) {
|
|
1262
|
-
return localVarFp.fptGetInvoice(id, stax, options).then((request) => request(axios, basePath));
|
|
1263
|
-
},
|
|
1264
|
-
/**
|
|
1265
|
-
* Lấy danh sách tất cả hóa đơn dựa trên bộ lọc được cung cấp.
|
|
1266
|
-
* @summary API lấy danh sách hóa đơn
|
|
1267
|
-
* @param {string} fromDate Ngày bắt đầu lọc hóa đơn (định dạng yyyy-MM-dd)
|
|
1268
|
-
* @param {string} toDate Ngày kết thúc lọc hóa đơn (định dạng yyyy-MM-dd)
|
|
1269
|
-
* @param {string} stax mã số thuế bên bán
|
|
1270
|
-
* @param {number} [start] Vị trí bắt đầu của danh sách hóa đơn (phân trang)
|
|
1271
|
-
* @param {number} [count] Số lượng hóa đơn cần lấy (phân trang)
|
|
1272
|
-
* @param {string} [serial] Ký hiệu hóa đơn để lọc
|
|
1273
|
-
* @param {*} [options] Override http request option.
|
|
1274
|
-
* @throws {RequiredError}
|
|
1275
|
-
*/
|
|
1276
|
-
fptGetInvoices(fromDate, toDate, stax, start, count, serial, options) {
|
|
1277
|
-
return localVarFp.fptGetInvoices(fromDate, toDate, stax, start, count, serial, options).then((request) => request(axios, basePath));
|
|
1278
|
-
},
|
|
1279
|
-
/**
|
|
1280
|
-
* Ký hợp đồng điện tử với thông tin hợp đồng được cung cấp.
|
|
1281
|
-
* @summary API ký hóa đơn
|
|
1282
|
-
* @param {FptSignContractRequest} fptSignContractRequest
|
|
1283
|
-
* @param {*} [options] Override http request option.
|
|
1284
|
-
* @throws {RequiredError}
|
|
1285
|
-
*/
|
|
1286
|
-
fptSignContract(fptSignContractRequest, options) {
|
|
1287
|
-
return localVarFp.fptSignContract(fptSignContractRequest, options).then((request) => request(axios, basePath));
|
|
1288
|
-
},
|
|
1289
|
-
/**
|
|
1290
|
-
* Đăng nhập vào hệ thống với thông tin tài khoản người dùng.
|
|
1291
|
-
* @summary API đăng nhập
|
|
1292
|
-
* @param {SignInRequest} signInRequest
|
|
1293
|
-
* @param {*} [options] Override http request option.
|
|
1294
|
-
* @throws {RequiredError}
|
|
1295
|
-
*/
|
|
1296
|
-
fptSignIn(signInRequest, options) {
|
|
1297
|
-
return localVarFp.fptSignIn(signInRequest, options).then((request) => request(axios, basePath));
|
|
1298
|
-
},
|
|
1299
|
-
/**
|
|
1300
|
-
* Lấy thông tin hóa đơn dưới định dạng sẵn sàng để in.
|
|
1301
|
-
* @summary API xem in hóa đơn
|
|
1302
|
-
* @param {string} id id hóa đơn.
|
|
1303
|
-
* @param {string} stax mã số thuế bên bán
|
|
1304
|
-
* @param {*} [options] Override http request option.
|
|
1305
|
-
* @throws {RequiredError}
|
|
1306
|
-
*/
|
|
1307
|
-
fptViewPrintInvoice(id, stax, options) {
|
|
1308
|
-
return localVarFp.fptViewPrintInvoice(id, stax, options).then((request) => request(axios, basePath));
|
|
1309
|
-
},
|
|
1310
|
-
/**
|
|
1311
|
-
* Tạo một hóa đơn mới dựa trên thông tin được cung cấp.
|
|
1312
|
-
* @summary API tạo hóa đơn
|
|
1313
|
-
* @param {mInvoiceCreateInvoiceRequest} createInvoiceRequest
|
|
1314
|
-
* @param {*} [options] Override http request option.
|
|
1315
|
-
* @throws {RequiredError}
|
|
1316
|
-
*/
|
|
1317
|
-
mInvoiceCreateInvoice(createInvoiceRequest, options) {
|
|
1318
|
-
return localVarFp.mInvoiceCreateInvoice(createInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
1319
|
-
},
|
|
1320
|
-
/**
|
|
1321
|
-
* Lấy thông tin chi tiết của một hóa đơn dựa trên ID hóa đơn.
|
|
1322
|
-
* @summary API lấy thông tin hóa đơn
|
|
1323
|
-
* @param {string} id id hóa đơn.
|
|
1324
|
-
* @param {*} [options] Override http request option.
|
|
1325
|
-
* @throws {RequiredError}
|
|
1326
|
-
*/
|
|
1327
|
-
mInvoiceGetInvoice(id, options) {
|
|
1328
|
-
return localVarFp.mInvoiceGetInvoice(id, options).then((request) => request(axios, basePath));
|
|
1329
|
-
},
|
|
1330
|
-
/**
|
|
1331
|
-
* Lấy danh sách tất cả hóa đơn dựa trên bộ lọc được cung cấp.
|
|
1332
|
-
* @summary API lấy danh sách hóa đơn
|
|
1333
|
-
* @param {string} fromDate Ngày bắt đầu lọc hóa đơn (định dạng yyyy-MM-dd)
|
|
1334
|
-
* @param {string} toDate Ngày kết thúc lọc hóa đơn (định dạng yyyy-MM-dd)
|
|
1335
|
-
* @param {number} [start] Vị trí bắt đầu của danh sách hóa đơn (phân trang)
|
|
1336
|
-
* @param {number} [count] Số lượng hóa đơn cần lấy (phân trang)
|
|
1337
|
-
* @param {string} [serial] Ký hiệu hóa đơn để lọc
|
|
1338
|
-
* @param {*} [options] Override http request option.
|
|
1339
|
-
* @throws {RequiredError}
|
|
1340
|
-
*/
|
|
1341
|
-
mInvoiceGetInvoices(fromDate, toDate, start, count, serial, options) {
|
|
1342
|
-
return localVarFp.mInvoiceGetInvoices(fromDate, toDate, start, count, serial, options).then((request) => request(axios, basePath));
|
|
1343
|
-
},
|
|
1344
|
-
/**
|
|
1345
|
-
* Ký hợp đồng điện tử với thông tin hợp đồng được cung cấp.
|
|
1346
|
-
* @summary API ký hóa đơn
|
|
1347
|
-
* @param {SignContractRequest} signContractRequest
|
|
1348
|
-
* @param {*} [options] Override http request option.
|
|
1349
|
-
* @throws {RequiredError}
|
|
1350
|
-
*/
|
|
1351
|
-
mInvoiceSignContract(signContractRequest, options) {
|
|
1352
|
-
return localVarFp.mInvoiceSignContract(signContractRequest, options).then((request) => request(axios, basePath));
|
|
1353
|
-
},
|
|
1354
|
-
/**
|
|
1355
|
-
* Đăng nhập vào hệ thống với thông tin tài khoản người dùng.
|
|
1356
|
-
* @summary API đăng nhập
|
|
1357
|
-
* @param {SignInRequest} signInRequest
|
|
1358
|
-
* @param {*} [options] Override http request option.
|
|
1359
|
-
* @throws {RequiredError}
|
|
1360
|
-
*/
|
|
1361
|
-
mInvoiceSignIn(signInRequest, options) {
|
|
1362
|
-
return localVarFp.mInvoiceSignIn(signInRequest, options).then((request) => request(axios, basePath));
|
|
1363
|
-
},
|
|
1364
|
-
/**
|
|
1365
|
-
* Lấy thông tin hóa đơn dưới định dạng sẵn sàng để in.
|
|
1366
|
-
* @summary API xem in hóa đơn
|
|
1367
|
-
* @param {string} id id hóa đơn.
|
|
1368
|
-
* @param {*} [options] Override http request option.
|
|
1369
|
-
* @throws {RequiredError}
|
|
1370
|
-
*/
|
|
1371
|
-
mInvoiceViewPrintInvoice(id, options) {
|
|
1372
|
-
return localVarFp.mInvoiceViewPrintInvoice(id, options).then((request) => request(axios, basePath));
|
|
1373
|
-
},
|
|
1374
|
-
/**
|
|
1375
|
-
* 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.
|
|
1376
|
-
* @summary API lấy thông tin mã số thuế
|
|
1377
|
-
* @param {string} tax Mã số thuế cần tra cứu
|
|
1378
|
-
* @param {*} [options] Override http request option.
|
|
1379
|
-
* @throws {RequiredError}
|
|
1380
|
-
*/
|
|
1381
|
-
taxInfo(tax, options) {
|
|
1382
|
-
return localVarFp.taxInfo(tax, options).then((request) => request(axios, basePath));
|
|
1383
|
-
}
|
|
1384
|
-
};
|
|
1385
|
-
};
|
|
1386
1240
|
class DefaultApi extends BaseAPI {
|
|
1387
1241
|
/**
|
|
1388
1242
|
* 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.
|
|
@@ -1695,7 +1549,6 @@ export {
|
|
|
1695
1549
|
Configuration,
|
|
1696
1550
|
DefaultApi,
|
|
1697
1551
|
DefaultApiAxiosParamCreator,
|
|
1698
|
-
DefaultApiFactory,
|
|
1699
1552
|
DefaultApiFp,
|
|
1700
1553
|
InvoiceApi,
|
|
1701
1554
|
PROVIDERS,
|