Markets and currency

How to do currency conversion for invoices at the daily reference rate

Updated · 1ToolRing team

Currency conversion for invoices means taking the daily reference rate for the invoice date, converting the amount, and recording that rate and its date with the invoice. With 1ToolRing your agent does it with 1toolring/fx/convert, which converts at the daily reference rate for today or any past date, and 1toolring/fx/history when you need a whole month. Each conversion is one paid call from your prepaid balance.

Freelancers and small studios that bill abroad face this every month. An Indonesian designer invoices a client in USD or EUR, gets paid weeks later, and needs the rupiah value for bookkeeping, a tax worksheet or just to know what the job earned. The rate on the invoice date, the rate on the payment date and the rate the bank applied are usually three different numbers.

Mix-ups usually start with today's rate applied to an old invoice, or with nobody writing down which rate was used. Convert at the daily reference rate for the date you choose, keep that rate beside the amount, and anyone can check the figure later. The rates are blended central-bank reference rates, updated once a day. If your tax office prescribes its own rate, follow its rules.

Paste this into your agent

Works in Claude, ChatGPT, Cursor, Codex, n8n and any MCP client. Change the placeholders, keep the row cap.

Set up 1ToolRing from 1toolring.com/install, then convert the invoices in invoices.csv (columns: number, date, amount, currency) to IDR at the daily reference rate on each invoice date. Use 1toolring/fx/convert, inspect the price first, make at most 20 calls, and return a table with invoice number, invoice date, original amount, currency, rate, rate date and the converted amount in IDR.

First time? Set up takes one command or one connector URL:

set up 1ToolRing - https://1toolring.com/llms.txt

Paste this into your agent's chat (Claude Code, Codex, Cursor, ChatGPT, claude.ai). Your agent sets up 1ToolRing and you sign in.

Tools this workflow uses

Your agent finds these with discover_tools and reads each input schema and price with inspect_tool. Both are free. Only a successful run is charged.

ToolWhat it does herePrice
1toolring/fx/convertConverts one amount from one currency to another at the daily reference rate for today or for a past date given as YYYY-MM-DD.$0.00028 / callRp5 / call
1toolring/fx/historyReturns daily rates for one currency pair between two dates, at most 366 days apart, so a month of invoices in one currency needs one call.$0.00028 / callRp5 / call
1toolring/fx/latestReturns the latest daily rates from a base currency to every other currency or to the ones you list, for pricing a new quote today.$0.00028 / callRp5 / call

Step by step

  1. List invoices with their dates. Put each invoice on one row with its number, invoice date, amount and currency. Decide whether you convert at the invoice date or the payment date, and apply the same rule to every invoice in the period.
  2. Inspect the conversion tool. Have the agent run inspect_tool on 1toolring/fx/convert. It takes an amount, the currency to convert from, the currency to convert to and, for a past rate, a date as YYYY-MM-DD. The price per call is shown before anything runs.
  3. Convert each invoice. Run one conversion per invoice, each with its own date. Ask the agent to return the rate and the date of that rate along with the converted amount.
  4. Use the history for many invoices. With dozens of invoices in one currency, a single 1toolring/fx/history call over the period returns every daily rate. The agent can look up each invoice date in that series and multiply locally, which saves calls.
  5. Decide about weekends and holidays. A reference rate may not exist for every calendar day, such as weekends or bank holidays. Check what the tool returns for such a date, choose a rule such as the last published rate before it, and write that rule down.
  6. Record the rate on the invoice. Put the rate, its date and the words daily reference rate on the invoice or the bookkeeping row. Anyone checking later can repeat the sum with one call.

What is a daily reference rate?

A daily reference rate is one published exchange rate per currency pair per day, used for accounting and reporting. 1ToolRing's FX tools return blended central-bank reference rates, updated once a day, which suits invoices, reports and price conversions. Because they are daily figures, they will differ from the rate your bank applied when the payment landed. See exchange rates for the three FX tools side by side.

Which date should currency conversion for invoices use?

Use the date your bookkeeping or tax rules ask for, and apply it the same way every time. One workable approach is to convert at the invoice date for income records and note the payment-date rate separately, which shows the exchange gain or loss. If you are unsure which rule applies to you, ask your accountant or tax office. The tools can produce either number.

SituationRate to useTool
Recording income when you invoiceRate on the invoice date1toolring/fx/convert with that date
Checking what the payment was worthRate on the payment date1toolring/fx/convert with the payment date
Many invoices in one currencyDaily series for the period1toolring/fx/history
Quoting a new job todayLatest daily rate1toolring/fx/latest
Comparing with what the bank paidYour bank statement next to the reference rateYour statement and 1toolring/fx/convert

Why does my bank's amount differ from the conversion?

Banks and payment platforms apply their own rate at the moment of the transfer, often with a margin and fees, while a reference rate is a single figure for the day. The gap between the two comes from those costs and from timing. Keep both: the reference conversion for your records and the amount the bank credited for your cash book.

When is this the wrong tool?

If your tax authority requires the rate of one specific central bank, check that a blended reference rate is accepted before you rely on it. It is also the wrong tool for trading currencies, since it updates once a day. For invoices, budgets and reports it fits well, because the same date always gives the same rate.

What does it cost?

A month of freelance billing: eight invoices converted one by one, one history call to review the month, and one latest-rate call to price the next job.

CallToolCountUSDIDR
Convert 8 invoices1toolring/fx/convert8$0.0022Rp40
Daily rates for the month, one pair1toolring/fx/history1$0.00028Rp5
Latest rates for a new quote1toolring/fx/latest1$0.00028Rp5
Total$0.0028Rp50

Computed from list prices as of 2026-11-10. A run is held at its maximum and settled to the real cost, and a failed call is not charged. See how pricing works.

Questions

Can I convert at a past date?
Yes. 1toolring/fx/convert accepts a date as YYYY-MM-DD and uses the daily reference rate for that day. 1toolring/fx/history returns a whole range of daily rates for one pair, up to 366 days per call.
How fresh are the rates?
They are blended central-bank reference rates, updated once a day. They suit invoices and reports and are not meant for intraday trading.
Is the exchange rate API free?
No, each call is paid at a price shown before it runs. New accounts get a one-time starter balance after email verification, which covers about 2,000 FX calls. After that you top up a prepaid balance as needed, with no subscription.
Can it convert to rupiah?
Yes. Ask the agent to convert to IDR, and it passes rupiah as the target currency. The FX tools return rupiah alongside the other currencies.
Can I run the conversions from n8n?
Yes. Call the REST run endpoint from an HTTP Request node with a Bearer key, as the n8n guide shows, and pass the invoice date from the previous node. An agent connected over MCP can do the same conversions in a chat.