Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Finance, Invoices & Accounting

Finance, Invoices & Accounting

Check foreign card charges against daily FX rates with Google Sheets and Slack

Monthly or on demand, reads foreign card purchases from a Google Sheet, fetches daily market rates from Frankfurter, and reports in Slack how much more or less each charge was billed. No AI is used.

What it does

## Did the card charge you a fair exchange rate? Paste your card statement lines for foreign purchases (date, merchant, billed amount in your own currency, foreign amount, currency). For each line the workflow fetches the market rate of that day from the free Frankfurter API (no key), calculates what the charge should have been, and shows how many percent more (or less) you were billed. All arithmetic is code; there is no AI. ### How it works 1. Monthly, or on demand, it reads the FX statement tab. Domestic rows are skipped. 2. One request per currency fetches all the rates needed (weekends and holidays use the last rate before). 3. Each row gets the market rate, the expected amount, the effective rate, the premium in percent and the extra amount, and a status: OK, High premium, Below market (check the data), Rate unavailable, Check data. 4. Rows go to the FX check tab. Slack gets the total, the highest premiums and the rows to look at. ### Setup 1. Blank Google Sheet: paste its ID in Spreadsheet ID, run Run once (adds the FX statement and FX check tabs), then select the sheet in the Google Sheets nodes. 2. Credentials: Google Sheets and Slack (pick a channel). 3. Paste the statement rows, set your currency and column names in Config, run Check now. ### Customization Change the base currency, the premium limits and the look-back days in Config.

The steps

  1. Every month
  2. Check now
  3. Config
  4. Read FX statement tab
  5. Plan rates
  6. Any foreign charges?
  7. Get rates
  8. Check charges
  9. Add to FX check tab
  10. Build summary
  11. Nothing to check
  12. Post to Slack
  13. Run once: set up the sheet
  14. Add the FX statement and FX check tabs

16 steps in total.

Similar automations