-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(provider): support ICBC bank card bills (#88)
* feat(provider): support icbc in provider package Signed-off-by: TripleZ <[email protected]> * feat(analyser): support ICBC provider & ignore rules Signed-off-by: TripleZ <[email protected]> * Update README Signed-off-by: TripleZ <[email protected]> * chore: lint code Signed-off-by: TripleZ <[email protected]> --------- Signed-off-by: TripleZ <[email protected]>
- Loading branch information
Showing
29 changed files
with
642 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
defaultMinusAccount: Assets:FIXME | ||
defaultPlusAccount: Expenses:FIXME | ||
defaultCashAccount: Liabilities:Bank:CN:ICBC | ||
defaultCurrency: CNY | ||
title: 测试 | ||
icbc: | ||
rules: | ||
- peer: 财付通,支付宝 | ||
ignore: true | ||
- peer: 广东联合电子收费股份 | ||
targetAccount: Expenses:Transport:Highway | ||
- txType: 人民币自动转帐还款 | ||
targetAccount: Assets:Bank:CN:ICBC:Savings | ||
- peer: XX旗舰店 | ||
targetAccount: Expenses:Joy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
option "title" "测试" | ||
option "operating_currency" "CNY" | ||
|
||
1970-01-01 open Assets:Bank:CN:ICBC:Savings | ||
1970-01-01 open Assets:FIXME | ||
1970-01-01 open Expenses:FIXME | ||
1970-01-01 open Expenses:Joy | ||
1970-01-01 open Expenses:Transport:Highway | ||
|
||
2023-03-20 * "广东联合电子收费股份" | ||
balances: "-16042.73" | ||
currency: "人民币" | ||
source: "中国工商银行" | ||
txType: "********************" | ||
type: "支出" | ||
Expenses:Transport:Highway 29.45 CNY | ||
Liabilities:Bank:CN:ICBC -29.45 CNY | ||
|
||
2023-04-22 * "XX旗舰店" | ||
balances: "-6086.11" | ||
currency: "人民币" | ||
source: "中国工商银行" | ||
txType: "银联在线支付" | ||
type: "支出" | ||
Expenses:Joy 0.01 CNY | ||
Liabilities:Bank:CN:ICBC -0.01 CNY | ||
|
||
2023-04-25 * "XX分行银行卡中心" | ||
balances: "-1971.63" | ||
currency: "人民币" | ||
source: "中国工商银行" | ||
txType: "人民币自动转帐还款" | ||
type: "收入" | ||
Liabilities:Bank:CN:ICBC 4621.01 CNY | ||
Assets:Bank:CN:ICBC:Savings -4621.01 CNY | ||
|
||
2023-05-04 * "广东联合电子收费股份" | ||
balances: "-3684.62" | ||
currency: "人民币" | ||
source: "中国工商银行" | ||
txType: "ETC" | ||
type: "支出" | ||
Expenses:Transport:Highway 12.35 CNY | ||
Liabilities:Bank:CN:ICBC -12.35 CNY | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
明细查询文件下载 | ||
|
||
卡号: 1234****5678,"卡别名: " | ||
|
||
子账户类别: | ||
|
||
交易日期,记账日期,摘要,交易场所,交易国家或地区简称,交易金额(收入),交易金额(支出),交易币种,记账金额(收入),记账金额(支出),记账币种,余额,对方户名 | ||
2023-05-05 ,2023-05-05 ,"消费 ","财付通-拼多多平台商户 ","CHN "," ","18.00 ",人民币 ," ","18.00 ",人民币 ,"-3,728.62 "," ", | ||
2023-05-05 ,2023-05-05 ,"消费 ","支付宝-金拱门(中国)有限公司 ","CHN "," ","26.00 ",人民币 ," ","26.00 ",人民币 ,"-3,710.62 "," ", | ||
2023-05-04 ,2023-05-04 ,"ETC ","广东联合电子收费股份 ","CHN "," ","12.35 ",人民币 ," ","12.35 ",人民币 ,"-3,684.62 "," ", | ||
2023-05-02 ,2023-05-02 ,"消费 ","支付宝-北京百度网讯科技有限公司 ","CHN "," ","17.32 ",人民币 ," ","17.32 ",人民币 ,"-3,648.27 "," ", | ||
2023-04-25 ,2023-04-25 ,"人民币自动转帐还款 ",XX分行银行卡中心 ,"CHN ","4,621.01 "," ",人民币 ,"4,621.01 "," ",人民币 ,"-1,971.63 "," ", | ||
2023-04-22 ,2023-04-22 ,"消费 ","财付通-美团平台商户 ","CHN "," ","238.00 ",人民币 ," ","238.00 ",人民币 ,"-6,324.11 "," ", | ||
2023-04-22 ,2023-04-22 ,"银联在线支付 ",XX旗舰店 ,"CHN "," ","0.01 ",人民币 ," ","0.01 ",人民币 ,"-6,086.11 "," ", | ||
2023-03-20 ,2023-03-20 ,"消费 ",财付通-餐馆 ,"CHN "," ","22.00 ",人民币 ," ","22.00 ",人民币 ,"-16,064.73 "," ", | ||
2023-03-20 ,2023-03-20 ,"******************** ","广东联合电子收费股份 ","CHN "," ","29.45 ",人民币 ," ","29.45 ",人民币 ,"-16,042.73 "," ", | ||
|
||
合计金额,,,,,"1234.56 ","6543.21 ", ,"1234.56 ","6543.21 ", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.