mark transactions as reconciled

This commit is contained in:
Robert Dyer
2024-07-01 10:19:46 -05:00
parent 9e94ad39f1
commit 96d0fc109c
4 changed files with 8 additions and 1 deletions
+3 -1
View File
@@ -112,10 +112,12 @@ const zeroTransaction = async (payment) => {
console.log('Current Balance:', currentBalance);
console.log('Difference:', diff);
await api.importTransactions(account.id, [{
await api.importTransactions(account.id, [{
date: new Date(),
payee: payeeId,
amount: diff,
cleared: true,
reconciled: true,
category: categoryId,
notes: `Update investment balance to ${simplefinBalance / 100}`,
}]);