You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request to add an export transactions feature similar/identical to Phoenix mobile's CSV, with a date range for both incoming and outgoing transactions. Maybe also useful to include unpaid invoices, both expired and still open.
Currently as I understand it you can only get incoming transactions if you set and remembered elsewhere an externalId, or you would have to have stored all the payment hashes to be able to create an export using each paymentId
I think this is necessary for any merchant or individual to use phoenixd if their local tax and accounting rules require them to keep a record of transactions including donations.
The text was updated successfully, but these errors were encountered:
Just to add to this: for phoenixd's particular setup for automated liquidity, it would also be important for the "accounting export" to include information about whether funds:
go to your balance (normal scenario)
are used to purchase inbound liquidity immediately (once in a while)
are set aside to purchase inbound liquidity later (for small payments at bootstrapping).
Another good design goal could be that: from the "account export" ledger output (whatever you want to call it), one could easily arrive at the numbers given by getbalance
We have that information detailed in the database: we're currently slightly changing the format to use the official liquidity ads specification: once that is shipped, it should be easy to add this accounting export to CSV.
Usage:
```
$ ./phoenix-cli exportcsv
payment history has been exported to /home/<user>/.phoenix/exports/export-1728035509.csv
```
The resulting CSV allows precise tracking of the balance and fee credit, and shows the split between mining and service fees:
- balance: sum of all `amount_msat`
- fee credit: sum of all `fee_credit_msat`
Columns:
date|type|amount_msat|fee_credit_msat|mining_fee_sat|service_fee_msat|payment_hash|tx_id
---|---|---|---|---|---|---|---
FixesACINQ#36.
Request to add an export transactions feature similar/identical to Phoenix mobile's CSV, with a date range for both incoming and outgoing transactions. Maybe also useful to include unpaid invoices, both expired and still open.
Currently as I understand it you can only get incoming transactions if you set and remembered elsewhere an
externalId
, or you would have to have stored all the payment hashes to be able to create an export using eachpaymentId
I think this is necessary for any merchant or individual to use phoenixd if their local tax and accounting rules require them to keep a record of transactions including donations.
The text was updated successfully, but these errors were encountered: