1.0.19 • Published 6 months ago

ecpay-einvoice-ts v1.0.19

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

綠界電子發票API(非官方API)

只是用Typescript封裝綠界提供的電子發票API,非官方API,僅供參考。

使用方式

npm i ecpay-einvoice-ts

初始化

import ECPay  from 'ecpay-einvoice-ts';
const ecpay = ECPay( {
        MerchantID: 'Your MerchantID',
        HashKey: 'Your HashKey',
        HashIV: 'Your HashIV',
        BaseURL: 'https://einvoice-stage.ecpay.com.tw' , // 測試環境
});

Example

查詢發票

const issues =  await ecpay.GetIssueList({
    // 放置參數,跟官方API一樣
    BeginDate: "2023-10-01", EndDate: "2023-10-19", MerchantID: "2000132", NumPerPage: 200, ShowingPage: 1
})

...

1.0.19

6 months ago

1.0.18

6 months ago

1.0.17

7 months ago

1.0.16

7 months ago

1.0.15

7 months ago

1.0.14

7 months ago

1.0.13

7 months ago

1.0.12

7 months ago

1.0.11

7 months ago

1.0.10

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago