Skip to content

Commit c416b74

Browse files
committed
Money requires a memo
1 parent c79da64 commit c416b74

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/FixCA.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ public static void main(String[] args) throws IOException, OFXParseException, Pa
5757
// new CA IDX OFX missing FITID, building one from the hashes of the transaction parameters
5858
int hash = Objects.hash(transaction.getDatePosted(), transaction.getAmount(), transaction.getName());
5959
transaction.setId(Integer.toString(hash));
60+
if (transaction.getMemo() == null) {
61+
transaction.setMemo("AUTRE");
62+
}
6063
});
6164
}
6265
}

0 commit comments

Comments
 (0)