Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/images/sc_accounting_export_import.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions usage-guides/settings/accounting.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,20 @@ You can change these settings to match your country's tax requirements.

You can add or edit accounting rules based on `Event type`, `Event subtype`, and `Counterparty`.

### Import/Export Accounting Rules

![Export and import accounting rules](/images/sc_accounting_export_import.png)

You can export your accounting rules to a JSON file and import them back later. This is useful for backing up your custom rules, sharing them with others, or moving them between rotki accounts.

Both options are available from the three-dot menu next to the **Add accounting rule** button on the Accounting Rules page:

- **Export accounting rules**: Saves all of your current accounting rules to a JSON file on your computer.
- **Import accounting rules**: Loads accounting rules from a previously exported JSON file.

> [!NOTE]
> Imported rules can conflict with rules you already have. When any conflict exists, a **Resolve accounting rules conflicts** banner appears on the page, letting you choose which version of each conflicting rule to keep. This banner isn't specific to imports — it also shows up for conflicts introduced by manually added rules or by updates to rotki's built-in (source) rules.

### Special Accounting Rules For Specific Events

![Special Accounting Rules](/images/sc_accounting_rules_special.png)
Expand Down
2 changes: 1 addition & 1 deletion usage-guides/tax-accounting/accounting-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ You can create custom rules that override the defaults for specific combinations
- Event subtype
- Counterparty (protocol identifier)

See [Add/Edit accounting rules](/usage-guides/settings/accounting#add-edit-accounting-rules) for how to create them in the UI.
See [Add/Edit accounting rules](/usage-guides/settings/accounting#add-edit-accounting-rules) for how to create them in the UI. You can also [import/export accounting rules](/usage-guides/settings/accounting#import-export-accounting-rules) as JSON to back them up or share them.

### Limitations

Expand Down