deb-sig / double-entry-generator

Rule-based double-entry bookkeeping importer (from Alipay/WeChat/Huobi etc. to Beancount/Ledger).
https://github.com/deb-sig/double-entry-generator
Apache License 2.0
537 stars 79 forks source link

关于支付宝的 0 元支出记录 #71

Closed tzwm closed 2 years ago

tzwm commented 2 years ago

想问下 0 元的记录是不是没啥意义,可以直接忽略吗?

例子:

2022-09-02 * "哈啰出行" "哈啰单车骑行"
    category: "交通出行"
    merchantId: "CPR220902160932501179xxxxD"
    method: "单车骑行卡抵扣"
    orderId: "202209022200149456144204xxxx"
    payTime: "2022-09-02 16:09:32 +0800 CST"
    source: "支付宝"
    status: "交易成功"
    txType: "支出"
    Expenses:Unknown 0.00 CNY
    Assets:FIXME -0.00 CNY
gaocegege commented 2 years ago

Personally, I prefer keeping the record since it is also an event that happened.

Triple-Z commented 2 years ago

You can think your ledger as a journal.

tzwm commented 2 years ago

Ok, that sounds like it. I'll add a rule for it.