Skip to main content

Reconciler for YNAB - Reconcile YNAB transactions to reach a target balance

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

reconciler-for-ynab

pre-commit.ci status

Reconcile for YNAB - Reconcile YNAB transactions from the CLI

What This Does

When YNAB imports your transactions and balances in sync, reconciliation is simple. But if there’s a mismatch, it often means tedious work. I was frustrated with going line-by-line through records to find the difference so I wrote this tool. It streamlines the process: pick an account and target balance to get a list of transactions that must be reconciled to hit the balance, or let it reconcile automatically through the YNAB API.

Installation

$ pip install reconciler-for-ynab

Usage

Token

Provision a YNAB Personal Access Token and save it as an environment variable.

$ export YNAB_PERSONAL_ACCESS_TOKEN="..."

Quickstart

Run the tool from the terminal to print out the transactions:

$ reconciler-for-ynab --account-name-regex 1234 --target 500.30

Run it again with --reconcile to reconcile the account.

$ reconciler-for-ynab --account-name-regex 1234 --target 500.30 --reconcile

All Options

$ reconcile-for-ynab --help
usage: reconciler-for-ynab [-h] --account-name-regex ACCOUNT_NAME_REGEX --target TARGET [--reconcile] [--sqlite-export-for-ynab-db SQLITE_EXPORT_FOR_YNAB_DB]
                           [--sqlite-export-for-ynab-full-refresh] [--version]

options:
  -h, --help            show this help message and exit
  --account-name-regex ACCOUNT_NAME_REGEX
                        Regex to match account name (must match exactly one account)
  --target TARGET       Target balance to match towards for reconciliation
  --reconcile           Whether to actually perform the reconciliation - if not set, just shows the transcations that would be reconciled
  --sqlite-export-for-ynab-db SQLITE_EXPORT_FOR_YNAB_DB
                        Path to sqlite-export-for-ynab SQLite DB file (respects sqlite-export-for-ynab configuration)
  --sqlite-export-for-ynab-full-refresh
                        Whether to do a full refresh of the YNAB data - if not set, only does an incremental refresh
  --version             show program's version number and exit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reconciler_for_ynab-0.0.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reconciler_for_ynab-0.0.2-py2.py3-none-any.whl (10.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file reconciler_for_ynab-0.0.2.tar.gz.

File metadata

  • Download URL: reconciler_for_ynab-0.0.2.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for reconciler_for_ynab-0.0.2.tar.gz
Algorithm Hash digest
SHA256 16bcfdcffc1ba4a20d32d6697562fc738c29bbd2f277cdf1c7611c975b9ca7e9
MD5 3d166a0f259722339fcbb95665d9732d
BLAKE2b-256 1389cf7a92ad029a3b9d1b40b84f04774dfc3e6d3fd51c502ab965b4904e86da

See more details on using hashes here.

File details

Details for the file reconciler_for_ynab-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for reconciler_for_ynab-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7afc9f292728b4a579b2985a35aa30889d769ff91f508cd62129212586068410
MD5 c1ce41af27634cb546b3f3b328e8d434
BLAKE2b-256 bfd0602b833a6e387d9bf9f72f5246440770ab0f2315a420fa0c13bbe255f197

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page