[PR #6041] Feature: Add Akahu New Zealand bank sync #6285

Open
opened 2026-02-28 21:26:12 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/6041

State: open
Merged: No


Adds the ability to sync with New Zealand banks via Akahu. (https://developers.akahu.nz/docs/getting-started)

Akahu are a NZ based fintech company who specialize in open banking and payment/banking interfacing with all major New Zealand banks (along with some other fund/investment providers as well - https://developers.akahu.nz/docs/integrations)

I've developed this integration for my own personal use and figured there may be other NZers out there who would benefit from it.

Summary by CodeRabbit

  • New Features
    • Added Akahu bank synchronization provider with account linking and account sync (transactions & balances).
    • Added an Akahu setup modal to enter credentials and manage/reset configuration.
    • Added Akahu account discovery and selection during account linking flows.
    • Added Akahu status/check and account-import flows to the server to support in-app linking.

✏️ Tip: You can customize this high-level summary in your review settings.


Bundle Stats

Bundle Files count Total bundle size % Changed
desktop-client 27 14.85 MB → 14.86 MB (+12.14 kB) +0.08%
loot-core 1 5.82 MB → 5.82 MB (+4.49 kB) +0.08%
api 1 4.43 MB → 4.44 MB (+3.81 kB) +0.08%
View detailed bundle stats

desktop-client

Total

Files count Total bundle size % Changed
27 14.85 MB → 14.86 MB (+12.14 kB) +0.08%
Changeset
File Δ Size
src/components/modals/AkahuInitialiseModal.tsx 🆕 +4.66 kB 0 B → 4.66 kB
src/hooks/useAkahuStatus.ts 🆕 +979 B 0 B → 979 B
src/components/modals/CreateAccountModal.tsx 📈 +4.14 kB (+25.90%) 15.98 kB → 20.12 kB
src/accounts/mutations.ts 📈 +1.26 kB (+5.74%) 21.94 kB → 23.2 kB
src/components/modals/SelectLinkedAccountsModal.tsx 📈 +1002 B (+2.26%) 43.25 kB → 44.23 kB
src/components/Modals.tsx 📈 +150 B (+1.04%) 14.13 kB → 14.28 kB
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger

Asset File Size % Changed
static/js/index.js 9.54 MB → 9.55 MB (+12.14 kB) +0.12%

Smaller
No assets were smaller

Unchanged

Asset File Size % Changed
static/js/indexeddb-main-thread-worker-e59fee74.js 12.94 kB 0%
static/js/workbox-window.prod.es5.js 5.64 kB 0%
static/js/ca.js 188.15 kB 0%
static/js/da.js 106.35 kB 0%
static/js/de.js 180.07 kB 0%
static/js/en-GB.js 7.18 kB 0%
static/js/en.js 170.37 kB 0%
static/js/es.js 174.55 kB 0%
static/js/fr.js 179.6 kB 0%
static/js/it.js 171.16 kB 0%
static/js/nb-NO.js 156.96 kB 0%
static/js/nl.js 106.37 kB 0%
static/js/pl.js 88.37 kB 0%
static/js/pt-BR.js 154.22 kB 0%
static/js/th.js 181.87 kB 0%
static/js/uk.js 214.74 kB 0%
static/js/resize-observer.js 18.37 kB 0%
static/js/BackgroundImage.js 120.54 kB 0%
static/js/ReportRouter.js 1.16 MB 0%
static/js/narrow.js 637.68 kB 0%
static/js/TransactionList.js 106.22 kB 0%
static/js/wide.js 164.15 kB 0%
static/js/AppliedFilters.js 9.71 kB 0%
static/js/usePayeeRuleCounts.js 10.04 kB 0%
static/js/useTransactionBatchActions.js 13.23 kB 0%
static/js/FormulaEditor.js 1.04 MB 0%

loot-core

Total

Files count Total bundle size % Changed
1 5.82 MB → 5.82 MB (+4.49 kB) +0.08%
Changeset
File Δ Size
home/runner/work/actual/actual/packages/loot-core/src/server/accounts/app.ts 📈 +2.69 kB (+9.87%) 27.28 kB → 29.97 kB
home/runner/work/actual/actual/packages/loot-core/src/server/accounts/sync.ts 📈 +1.75 kB (+6.75%) 25.88 kB → 27.63 kB
home/runner/work/actual/actual/packages/loot-core/src/server/server-config.ts 📈 +50 B (+4.53%) 1.08 kB → 1.13 kB
View detailed bundle breakdown

Added

Asset File Size % Changed
kcab.worker.sF1LzXn7.js 0 B → 5.82 MB (+5.82 MB) -

Removed

Asset File Size % Changed
kcab.worker.BwrdDDMW.js 5.82 MB → 0 B (-5.82 MB) -100%

Bigger
No assets were bigger

Smaller
No assets were smaller

Unchanged
No assets were unchanged


api

Total

Files count Total bundle size % Changed
1 4.43 MB → 4.44 MB (+3.81 kB) +0.08%
Changeset
File Δ Size
src/server/accounts/app.ts 📈 +2.21 kB (+9.48%) 23.3 kB → 25.51 kB
src/server/accounts/sync.ts 📈 +1.55 kB (+6.72%) 23.1 kB → 24.65 kB
src/server/server-config.ts 📈 +46 B (+4.93%) 933 B → 979 B
View detailed bundle breakdown

Added
No assets were added

Removed
No assets were removed

Bigger

Asset File Size % Changed
bundle.api.js 4.43 MB → 4.44 MB (+3.81 kB) +0.08%

Smaller
No assets were smaller

Unchanged
No assets were unchanged

**Original Pull Request:** https://github.com/actualbudget/actual/pull/6041 **State:** open **Merged:** No --- Adds the ability to sync with New Zealand banks via Akahu. (https://developers.akahu.nz/docs/getting-started) Akahu are a NZ based fintech company who specialize in open banking and payment/banking interfacing with all major New Zealand banks (along with some other fund/investment providers as well - https://developers.akahu.nz/docs/integrations) I've developed this integration for my own personal use and figured there may be other NZers out there who would benefit from it. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added Akahu bank synchronization provider with account linking and account sync (transactions & balances). * Added an Akahu setup modal to enter credentials and manage/reset configuration. * Added Akahu account discovery and selection during account linking flows. * Added Akahu status/check and account-import flows to the server to support in-app linking. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> <!--- actual-bot-sections ---> <hr /> <!--- bundlestats-action-comment key:combined start ---> ### Bundle Stats Bundle | Files count | Total bundle size | % Changed ------ | ----------- | ----------------- | --------- desktop-client | 27 | 14.85 MB → 14.86 MB (+12.14 kB) | +0.08% loot-core | 1 | 5.82 MB → 5.82 MB (+4.49 kB) | +0.08% api | 1 | 4.43 MB → 4.44 MB (+3.81 kB) | +0.08% <details> <summary>View detailed bundle stats</summary> #### desktop-client **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 27 | 14.85 MB → 14.86 MB (+12.14 kB) | +0.08% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `src/components/modals/AkahuInitialiseModal.tsx` | 🆕 +4.66 kB | 0 B → 4.66 kB `src/hooks/useAkahuStatus.ts` | 🆕 +979 B | 0 B → 979 B `src/components/modals/CreateAccountModal.tsx` | 📈 +4.14 kB (+25.90%) | 15.98 kB → 20.12 kB `src/accounts/mutations.ts` | 📈 +1.26 kB (+5.74%) | 21.94 kB → 23.2 kB `src/components/modals/SelectLinkedAccountsModal.tsx` | 📈 +1002 B (+2.26%) | 43.25 kB → 44.23 kB `src/components/Modals.tsx` | 📈 +150 B (+1.04%) | 14.13 kB → 14.28 kB </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** Asset | File Size | % Changed ----- | --------- | --------- static/js/index.js | 9.54 MB → 9.55 MB (+12.14 kB) | +0.12% **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- static/js/indexeddb-main-thread-worker-e59fee74.js | 12.94 kB | 0% static/js/workbox-window.prod.es5.js | 5.64 kB | 0% static/js/ca.js | 188.15 kB | 0% static/js/da.js | 106.35 kB | 0% static/js/de.js | 180.07 kB | 0% static/js/en-GB.js | 7.18 kB | 0% static/js/en.js | 170.37 kB | 0% static/js/es.js | 174.55 kB | 0% static/js/fr.js | 179.6 kB | 0% static/js/it.js | 171.16 kB | 0% static/js/nb-NO.js | 156.96 kB | 0% static/js/nl.js | 106.37 kB | 0% static/js/pl.js | 88.37 kB | 0% static/js/pt-BR.js | 154.22 kB | 0% static/js/th.js | 181.87 kB | 0% static/js/uk.js | 214.74 kB | 0% static/js/resize-observer.js | 18.37 kB | 0% static/js/BackgroundImage.js | 120.54 kB | 0% static/js/ReportRouter.js | 1.16 MB | 0% static/js/narrow.js | 637.68 kB | 0% static/js/TransactionList.js | 106.22 kB | 0% static/js/wide.js | 164.15 kB | 0% static/js/AppliedFilters.js | 9.71 kB | 0% static/js/usePayeeRuleCounts.js | 10.04 kB | 0% static/js/useTransactionBatchActions.js | 13.23 kB | 0% static/js/FormulaEditor.js | 1.04 MB | 0% </div> </details> --- #### loot-core **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 5.82 MB → 5.82 MB (+4.49 kB) | +0.08% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `home/runner/work/actual/actual/packages/loot-core/src/server/accounts/app.ts` | 📈 +2.69 kB (+9.87%) | 27.28 kB → 29.97 kB `home/runner/work/actual/actual/packages/loot-core/src/server/accounts/sync.ts` | 📈 +1.75 kB (+6.75%) | 25.88 kB → 27.63 kB `home/runner/work/actual/actual/packages/loot-core/src/server/server-config.ts` | 📈 +50 B (+4.53%) | 1.08 kB → 1.13 kB </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker.sF1LzXn7.js | 0 B → 5.82 MB (+5.82 MB) | - **Removed** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker.BwrdDDMW.js | 5.82 MB → 0 B (-5.82 MB) | -100% **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** No assets were unchanged </div> </details> --- #### api **Total** Files count | Total bundle size | % Changed ----------- | ----------------- | --------- 1 | 4.43 MB → 4.44 MB (+3.81 kB) | +0.08% <details> <summary>Changeset</summary> File | Δ | Size ---- | - | ---- `src/server/accounts/app.ts` | 📈 +2.21 kB (+9.48%) | 23.3 kB → 25.51 kB `src/server/accounts/sync.ts` | 📈 +1.55 kB (+6.72%) | 23.1 kB → 24.65 kB `src/server/server-config.ts` | 📈 +46 B (+4.93%) | 933 B → 979 B </details> <details> <summary>View detailed bundle breakdown</summary> <div> **Added** No assets were added **Removed** No assets were removed **Bigger** Asset | File Size | % Changed ----- | --------- | --------- bundle.api.js | 4.43 MB → 4.44 MB (+3.81 kB) | +0.08% **Smaller** No assets were smaller **Unchanged** No assets were unchanged </div> </details> </details> <!--- bundlestats-action-comment key:combined end --->
GiteaMirror added the pull-request label 2026-02-28 21:26:12 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#6285