about summary refs log tree commit diff stats
path: root/src/Command/ConvertCommand.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Command/ConvertCommand.php')
-rw-r--r--src/Command/ConvertCommand.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Command/ConvertCommand.php b/src/Command/ConvertCommand.php
index 1b379d0..ca2bcc4 100644
--- a/src/Command/ConvertCommand.php
+++ b/src/Command/ConvertCommand.php
@@ -95,7 +95,7 @@ function toLedger (Generator $transactions) {
                 do {
                     $posting = new LedgerPosting;
                     $posting->currency = $txn->currency;
-                    $posting->amount = $txn->in - $txn->out;
+                    $posting->amount = $txn->in;
                     $posting->account = array_merge(['Funds'], $txn->category);
                     if ($posting->amount !== 0.00) {
                         $lTxn->postings[] = $posting;