Swiftpack.co - Nef10/SwiftBeanCountRogersBankMapper as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Nef10.
Nef10/SwiftBeanCountRogersBankMapper v0.0.6
Swift library to convert download Rogers Bank data to the SwiftBeanCount model
⭐️ 0
🕓 10 weeks ago
.package(url: "https://github.com/Nef10/SwiftBeanCountRogersBankMapper.git", from: "v0.0.6")


CI Status Documentation percentage License: MIT Latest version platforms supported: linux | macOS | iOS | watchOS | tvOS SPM compatible

This project is part for SwiftBeanCount, please check out the main documentation here.


This is a small library to convert downloaded data from Wealthsimple (via RogersBankDownloader) to the Beancount format (via SwiftBeanCountModel).

Beancount meta data

The library relies on meta data in your Beancount file to find your accounts. Please add importer-type: "rogers" and last-four: "XXXX" with the last four digits of your number to your Credit Card Liability account.


  1. Load your ledger, e.g. via SwiftBeanCountParser
  2. Create an instance of SwiftBeanCountRogersBankMapper using the ledger
  3. Dowload the accounts and activities you want to convert via the RogersBankDownloader
  4. Use mapAccountToBalance and mapActivitiesToTransactions on the mapper to convert the downloaded data

Please also check out the complete documentation here.


The library supports the Swift Package Manger, so simply add a dependency in your Package.swift:

.package(url: "https://github.com/Nef10/SwiftBeanCountRogersBankMapper.git", .exact(from: "X.Y.Z")),

Note: as per semantic versioning all versions changes < 1.0.0 can be breaking, so please use .exact for now


Stars: 0
Last commit: 4 days ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

0.0.6 Bump downloader
10 weeks ago


🐛 Bug Fixes

  • Upstream: Make ActivityCategory case insensitive (#41)

🧰 Maintenance

  • Bump RogersBankDownloader from 0.0.5 to 0.0.6 @swift-dependency-updater (#41)
  • Bump marocchino/sticky-pull-request-comment from 2.1.1 to 2.2.0 @dependabot (#40)
  • Remove automerge workflow @file-sync-app (#38)

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics