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.10
Swift library to convert download Rogers Bank data to the SwiftBeanCount model
⭐️ 0
🕓 5 weeks ago
.package(url: "https://github.com/Nef10/SwiftBeanCountRogersBankMapper.git", from: "v0.0.10")


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 a Rogers Bank Credit Card (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: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

0.0.10 Update Parser Utils
5 weeks ago


🧰 Maintenance

  • SwiftLint: ignore Protocol Buffer files @file-sync-app (#157)
  • Update copyright year @file-sync-app (#154)
  • Release Drafter: Move dependencies to separate section @file-sync-app (#153)
  • Update SwiftLint config for 0.51.0 @file-sync-app (#150)
  • Update SwiftLint to 0.51.0 @file-sync-app (#149)
  • Migrate deprecated set-output to environment files @file-sync-app (#142)

📦 Dependencies

  • Bump SwiftBeanCountParserUtils from 0.0.1 to 1.0.0 @swift-dependency-updater (#156)
  • Bump sticky-pull-request-comment to 2.6.2 @file-sync-app (#155)
  • Bump swift-actions/setup-swift from 1.22.0 to 1.23.0 @file-sync-app (#152)
  • Bump actions/github-script from 6.4.0 to 6.4.1 @file-sync-app (#151)
  • Bump peaceiris/actions-gh-pages from 3.9.2 to 3.9.3 @file-sync-app (#148)
  • Bump release-drafter from 5.22.0 to 5.23.0 @file-sync-app (#146)
  • Bump swift-actions/setup-swift to 1.22.0 @file-sync-app (#144)
  • Bump sticky-pull-request-comment to 2.5.0 @file-sync-app (#141)
  • Bump sticky-pull-request-comment to 2.4.0 @file-sync-app (#139)
  • Bump tibdex/github-app-token from 1.7.0 to 1.8.0 @file-sync-app (#138)
  • Bump actions/github-script from 6.3.3 to 6.4.0 @file-sync-app (#137)
  • Bump peaceiris/actions-gh-pages to 3.9.2 @file-sync-app (#134)

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