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.txtPaste 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.
| Tool | What it does here | Price |
|---|---|---|
1toolring/fx/convert | Converts 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/history | Returns 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/latest | Returns 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
- 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.
- Inspect the conversion tool. Have the agent run
inspect_toolon1toolring/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. - 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.
- Use the history for many invoices. With dozens of invoices in one currency, a single
1toolring/fx/historycall over the period returns every daily rate. The agent can look up each invoice date in that series and multiply locally, which saves calls. - 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.
- 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.
| Situation | Rate to use | Tool |
|---|---|---|
| Recording income when you invoice | Rate on the invoice date | 1toolring/fx/convert with that date |
| Checking what the payment was worth | Rate on the payment date | 1toolring/fx/convert with the payment date |
| Many invoices in one currency | Daily series for the period | 1toolring/fx/history |
| Quoting a new job today | Latest daily rate | 1toolring/fx/latest |
| Comparing with what the bank paid | Your bank statement next to the reference rate | Your 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.
| Call | Tool | Count | USD | IDR |
|---|---|---|---|---|
| Convert 8 invoices | 1toolring/fx/convert | 8 | $0.0022 | Rp40 |
| Daily rates for the month, one pair | 1toolring/fx/history | 1 | $0.00028 | Rp5 |
| Latest rates for a new quote | 1toolring/fx/latest | 1 | $0.00028 | Rp5 |
| Total | $0.0028 | Rp50 | ||
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?
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.