library qrcode
QrcodeInvoice
killworm737/qrcode
QrcodeInvoice
- Tuesday, May 9, 2017
- by killworm737
- Repository
- 3 Watchers
- 19 Stars
- 27 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 6 Forks
- 0 Open issues
- 2 Versions
- 13 % Grown
QrcodeInvoice
新版二代電子發票加解密API-1.1.1-1106
https://wwwtest.einvoice.nat.gov.tw/home/Article!showArticleDetail?articleId=1397550540158, (*1)
Installation
composer require killworm737/qrcode
Use
use killworm737\qrcode\Qrcode;
$qrcodeClass = new Qrcode();
$aesKey = "C03458ECE7485C884AC42D3ED8198A4C";// input your aeskey
$invoiceNumAndRandomCode = "AA123456781234";// input your invoiceNumber And RandomCode
$qrcodeClass->aes128_cbc_encrypt($aesKey, $invoiceNumAndRandomCode);