1.0.19 • Published 2 years ago

ecpay-einvoice-ts v1.0.19

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years 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

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago