Skip to content

Commit e28d542

Browse files
authored
Add new recipe for accounting export (#757)
1 parent 2b8a596 commit e28d542

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: Export Transactions for Accounting
3+
description: Recipes | Accounting Export Transactions | Iron Fish Documentation
4+
---
5+
6+
It's some times important to be able to export transactions for accountants or tax preparation agents.
7+
8+
You can do this with the `wallet:transactions` command
9+
10+
Here is an example that exports the transactions for all wallets between October 1st, 2024 and November 1st, 2024.
11+
12+
```bash
13+
ironfish wallet:transactions \
14+
--no-account \
15+
--filter.start 10/1/2024 \
16+
--filter.end 11/01/2024 \
17+
--output csv \
18+
--format transfers
19+
```
20+
21+
**Notes**
22+
- `--format=transfers` will project the data in an accounting friendly format which excludes change notes
23+
- `--no-account` will ensure that all wallets are included. Only the default account is included otherwise.
24+
25+
If you want to export transactions for a specific set of accounts, like `alice` and `bob`, you can specify each like this:
26+
27+
```bash
28+
ironfish wallet:transactions \
29+
--account alice \
30+
--account bob \
31+
--filter.start 10/1/2024 \
32+
--filter.end 11/01/2024 \
33+
--output csv \
34+
--format transfers
35+
```

content/documentation/sidebar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ export const sidebar: SidebarDefinition = [
164164
"recipes_combining_notes",
165165
"recipes_maximizing_transaction_size",
166166
"recipes_splitting_notes",
167+
"recipes_accounting_export",
167168
{
168169
label: "Multisig",
169170
items: [

0 commit comments

Comments
 (0)