about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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;