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.1.tar.gz (9.2 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.1-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.1.tar.gz.

File metadata

  • Download URL: reconciler_for_ynab-0.0.1.tar.gz
  • Upload date:
  • Size: 9.2 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.1.tar.gz
Algorithm Hash digest
SHA256 8abf92c1b4cbb810ebe43894d40cb91f0bbeb13066b57f011faedb933de3c659
MD5 41e15a6ec8e9d820174616a2531a4f11
BLAKE2b-256 716ffb57f9a254624f2cc2ef0a11a4d4d3503b6a45994fa02e3f9097c8f0a687

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reconciler_for_ynab-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 10c43bee465e60d723b9cdd7762c8b79092ef90305a5e31faeb6a04e43ec5fd3
MD5 7ce94c71c8db1bc5a3db5a9dad7535fa
BLAKE2b-256 adf1cfdbe9dfd9582a4fd1a62058f2972b69d27181b6c0fe7789e02ec1032a22

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