{#snippet marker( text: string )} {text} {/snippet} {#snippet line( row: Row )} {@const i = open.indexOf(row)} = 0 ? nav.rowId(i) : undefined} onclick={(event) => i >= 0 && nav.click(i, event)} > {#if row.cleared} {:else if row.inRange} nav.toggle(row)} onclick={(event) => event.stopPropagation()} type="checkbox" > {/if} {formatDate(row.date)} {row.split.description} {row.split.source_name} {row.split.destination_name} {/snippet} {#if a && a.type !== "asset"}

You can only reconcile asset accounts. Back to {a.name}

{:else}
Date Balance
Start balance { startTouched = true; startText = event.currentTarget.value; }} value={startTouched ? startText : (before.data?.toFixed(cur.decimals) ?? "")} >
End balance { endTouched = true; endText = event.currentTarget.value; }} value={endTouched ? endText : (after.data?.toFixed(cur.decimals) ?? "")} >
{#if startInput !== start || endInput !== end}
Changing the range clears the ticks.
{/if}

Match the dates and balances to your bank statement, then tick the transactions that appear on it. x ticks the row under the cursor, * ticks all.

Difference {fmt(difference)}
Submitted start balance
{fmt(startBalance)}
Selected transactions ({selected.length})
{fmt(selectedSum)}
Already cleared transactions ({cleared.length})
{fmt(clearedSum)}
Sum of reconciliation
{fmt(sum)}
Submitted end balance
{fmt(endBalance)}
{#if difference !== 0}

Your Firefly III ledger has {difference > 0 ? "more" : "less"} money in it than your bank says.

What to do with the difference {#if !canCorrect && reconciliationAccounts.isSuccess}

The first correction for this account has to be booked in Firefly's own reconcile page: through the API, Firefly III cannot create the account that holds corrections.

{/if}
{/if}
{#each prettyKeys("mod+Enter") as key (key)} {key} {/each} {#if hint} {hint} {/if}
{#if status}

{status}

{/if} {#if failure} {/if}
{#snippet tools()} {open.length} to check, {cleared.length} already cleared {/snippet} {#if list.isPending}
{:else if list.isError}

{list.error.message}

{:else} {#each later as row (row.key)} {@render line(row)} {/each} {@render marker(`End of reconcile period: ${formatDate(end)}`)} {#each inside as row (row.key)} {@render line(row)} {/each} {#if inside.length === 0} {/if} {@render marker(`Start of reconcile period: ${formatDate(start)}`)} {#each earlier as row (row.key)} {@render line(row)} {/each}
No transactions in this range.
{/if}
{/if}