Apple Pay Expense Tracker, Every Tap Logs Itself | Cash Book
Quick answer
Cash Book logs Apple Pay purchases automatically without ever connecting to your bank. Apple gives apps no API for card taps, so a Shortcuts automation is the only route there is. You set it up once: in Apple's Shortcuts app, create an automation on the Transaction trigger, set it to run immediately, then add the Cash Book action Log purchase with Amount and Merchant mapped. After that, every tap of a card in Wallet opens Cash Book and writes the transaction with the amount and merchant already filled in. Five minutes, once, on iOS 17 or later.
The purchases people forget are the small card taps. The coffee. The parking. The bus. Cash Book can log those itself, and it does it without ever touching your bank.
Why it is a Shortcut and not a bank login
Apple does not give apps an API for card transactions. No app on the App Store can see your Apple Pay taps directly, and we are not going to ask for your bank credentials to get around that. What Apple does provide is a Transaction trigger inside the Shortcuts app, which fires on the phone the moment a Wallet card is used.
Cash Book plugs into that trigger. Wallet tells Shortcuts a purchase happened, Shortcuts runs the Cash Book action Log purchase, the transaction appears in your log. The whole chain runs on your iPhone, so there is no server in between and nothing to reconnect the next time a bank redesigns its login page.
We will be honest about the cost of this: it means Cash Book comes to the front after you pay. That is Shortcuts doing its job, not a bug, and some people find it irritating for the first week. Most stop noticing.
The one-time setup, step by step
In Cash Book, open Settings, then Automation, and find Apple Pay Auto-Logging: "Log every card tap automatically". The rest happens in Apple's Shortcuts app:
- Open Shortcuts and tap Automation at the bottom.
- Tap New Automation, or the plus in the corner.
- Scroll to the bottom of the list. Under Wallet, tap Transaction. You need iOS 17 or later and a card already in Wallet for it to appear.
- Choose Run Immediately so it does not ask you every time. Tap Next.
- Tap New Blank Automation, then Add Action, and search for Cash Book. Pick Log purchase.
- Tap the Amount field in the action and choose the Amount from the Transaction trigger. Do the same for Merchant.
- Tap Done.
That is the whole thing. Every Apple Pay tap from now on opens Cash Book, writes the purchase with the amount and merchant filled in, and hands you back to whatever you were doing.
What lands in the log
An auto-logged purchase looks like any other transaction on Home. Merchant in the note, amount exact, date the moment of the tap, tag matched from the merchant when Cash Book has seen that name before. Open it to change the tag, put it on a different card in your accounts, or write down what the twelve euros actually were.
The trigger only fires for Wallet, though. Pay with the plastic card in your pocket, or with cash, and nothing happens at all. Those are the ones the keypad and voice logging are for. Used together, the gap between what you spent and what you logged closes to about nothing.
Setting it up without guessing
If you want screenshots of every step, plus what to do when the Transaction trigger refuses to show up in the list, read how to track Apple Pay purchases automatically. It is written for someone who has never opened Shortcuts before, because most people never have.
Frequently asked questions
Does Cash Book read my bank account?
No. Cash Book never connects to a bank or card and never asks for a login. The automation runs on your iPhone: Wallet tells Shortcuts a transaction happened, and Shortcuts hands the amount and merchant to Cash Book. Nothing leaves the phone.
Which purchases get logged?
Any purchase made with a card in Apple Wallet, in a shop or in an app, that triggers Apple's Transaction automation. A plastic card that never goes through Wallet, or cash, does not fire the trigger, so log those by voice or with the keypad.
What do I need?
An iPhone on iOS 17 or later with at least one card in Wallet, the Shortcuts app, and Cash Book installed. The setup takes about five minutes and is done once.
Can I still edit an auto-logged purchase?
Yes. It lands in the day's list on Home like any other transaction. Open it to change the tag, add a note or move it to a different account.
Get Cash Book on the App StoreFree for 7 days. $19.99 once for lifetime.