This plugin exports all payments you've made with your c-lightning node to a CSV file.
# Start `lightningd` with the plugin specified as:
lightningd --plugin=path/to/csvexportpays.py
# To export your payments run:
lightning-cli csvexportpays <output_file> [seperator] [headers]
# where `<>` is required and `[]` is optional.
# Example:
lightning-cli csvexportpays ~/export.csv , True
# The CSV file contains the columns
["status", "description", "amount", "paid amount", "creation time", "payee", "invoice as bolt11"]
This plugin is partly based on Rene Pickhardt's simpleFundsOverview