Closed ramsayleung closed 1 year ago
double-entry-generator 增加对海外银行 TD 的账单支持
double-entry-generator
TD
Toronto-Dominion Bank, 简称 TD, 是加拿大第二大的银行, 在加拿大本土和美国都有相关的业务, 更多信息详见 wikipedia
TD的账单相当简洁 (简陋), 只有5个字段:
Peer
Item
Transaction Description
Withdrawals/Deposits
example/td
td
provider/td
provider
analyser/td
analyser
None
Please delete options that are not relevant.
bin/double-entry-generator translate \ --provider td \ --config ./example/td/config.yaml \ --output ./example/td/example-td-output.beancount \ ./example/td/example-td-records.csv
语法正确, 生成结果符合账单描述
bin/double-entry-generator translate \ --target ledger \ --provider td \ --config ./example/td/config.yaml \ --output ./example/td/example-td-output.ledger \ ./example/td/example-td-records.csv
Please make sure you've properly documented the changes you're making.
Don't forget to add an entry to the CHANGELOG if necessary (new features, breaking changes, relevant internal improvements).
Yes, we need to update the README.
TODO:
Thanks for your contribution!
Thanks for your contribution! :tada: :+1:
Description
double-entry-generator
增加对海外银行TD
的账单支持About TD
Toronto-Dominion Bank, 简称 TD, 是加拿大第二大的银行, 在加拿大本土和美国都有相关的业务, 更多信息详见 wikipedia
Transaction Statement
TD的账单相当简洁 (
简陋), 只有5个字段:Peer
) 和 商品(Item
)字段, 都合并在 Transaction Description, 因此将Transaction Description
当作Item
字段,Peer
字段为TD
Withdrawals/Deposits
字段不为空,即属于Withdrawals/Deposits
该类型的交易.改动点
example/td
: 增加td
相关示例provider/td
:provider
增加对td
analyser/td
:analyser
增加对td
的 支持.Motivation and Context
101
Dependencies
None
Type of change
Please delete options that are not relevant.
How has this been tested?
生成 beancount 账单
语法正确, 生成结果符合账单描述
生成 ledger 账单
语法正确, 生成结果符合账单描述
Is this change properly documented?
Please make sure you've properly documented the changes you're making.
Don't forget to add an entry to the CHANGELOG if necessary (new features, breaking changes, relevant internal improvements).
Yes, we need to update the README.
TODO: