BLUENEXUS INTEGRATIONSHOW-TO

How to convert foreign-currency bills at month end, with one documented rate

If you buy or sell in other currencies, every foreign-currency bill needs a rate. Which rate, from where, for which day? In many small finance teams, whoever enters the bill looks it up on whatever site comes first. A month later, nobody can say where a number came from, and the same supplier's bills use three different sources.

The fix is a short rule and a record. One source, one day and time, one rule for weekends, and a sheet that shows the rate behind every bill. An AI connected to Open Exchange Rates can fetch the rates and do the arithmetic. Setting the policy and entering the numbers stay with the finance team.

Here are four steps, three prompts, and how an importer handles October's bills on a Monday morning.

This is a way to organize month-end work, not accounting or tax advice. Your accountant, auditor and accounting policy decide which rate you use.

Four steps, in this order

Four steps, in this order

Pick one sourceOne rate provider for every bill, written into your policy.
Pick the day and timeThe bill date or the month end, at a fixed time of day, with a rule for weekends.
Convert the same wayThe same rate for every bill on the same date, to the same number of decimals.
Keep the recordEach rate with its source, date and timestamp, filed with the month's close.

What the rules ask for

Rules differ by country and by accounting framework, but consistency comes up again and again.

  • No single official rate in the US. The IRS says it "has no official exchange rate", and generally accepts any posted rate that's used consistently.
  • Some authorities publish their own. In the UK, HMRC publishes monthly exchange rates on the Trade Tariff service, used for customs and some tax purposes.
  • Your policy names the rest. The bill date or a monthly average, the source, and the month-end rate for open balances. Ask your accountant to write it down once.

Start with Open Exchange Rates' own tools

Open Exchange Rates' historical rates give the end-of-day rate for any date back to 1999: the last rate published up to 23:59:59 UTC. Every plan includes them, and a historical rate doesn't change, so it gives you a fixed number to record.

Its conversion endpoint uses the latest rates only, and needs the Unlimited plan. For a bill dated last week, take the historical rate for that date and multiply. Rates on the free plan are against the US dollar. For euros to pounds, divide the GBP rate by the EUR rate.

Do it in Claude or ChatGPT

Connect Open Exchange Rates with our guide to Open Exchange Rates in Claude, ChatGPT and MCP. All three prompts only read.

Look up the month-end rates.

1Paste this into Claude or ChatGPT

Using Open Exchange Rates, get the end-of-day rates against USD for [EUR, GBP, JPY] on [date], with the timestamp of each, to six decimal places. Don't convert anything yet.

Copy prompt

Convert the bills.

1Paste this into Claude or ChatGPT

Here are this month's foreign-currency bills: [paste bill number, supplier, date, currency, amount]. For each one, get the end-of-day rate for its date from Open Exchange Rates and convert it to USD. If a date falls on a weekend, use [the Friday before]. Show the rate, its date, its timestamp and the result, rounded to cents.

Copy prompt

Compare with your accounting software.

1Paste this into Claude or ChatGPT

Here are the rates our accounting software used for these bills: [paste bill, date, currency, rate]. Compare each with Open Exchange Rates' end-of-day rate for the same date, and list any that differ by more than [0.5]%. Don't change anything.

Copy prompt

A few things to know:

  • Use a past date. Today's rate keeps moving until the day ends in UTC. A historical rate stays the same.
  • Mind the time zone. End of day is 23:59:59 UTC, which is the afternoon or evening in the Americas.
  • Mid-market isn't your bank's rate. The rate you pay includes your bank's margin. The difference shows up when the bill is paid.
  • Keep six decimals. Round the result, not the rate.

When a finance team closes the month together

On your own, you'd look up rates as you go. In a finance team, Ellis enters bills every day, Rowan closes the month, and the auditors ask in spring which rate was used in October. If everyone checks a different site, the same bill can have two values.

Larkhaven Trading, a 40-person importer of kitchen and home goods in Portland, Oregon, closes its month in BlueNexus. It buys from suppliers in Portugal, Spain, Japan and the UK, and Open Exchange Rates is connected. Its policy, set by Rowan, the controller, with the company's accountant, says: end-of-day rates from Open Exchange Rates for each bill date, and the Friday before when a date falls on a weekend. Every Monday at 07:00, the finance agent takes last week's bill list, which Ellis exports from the accounting software with the rates it used, and builds the rate sheet for Rowan.

Illustration of the BlueNexus app with example data.

Illustration of the BlueNexus app with example data.

October ended on a Saturday, so the month-end rates are Friday 30 October's, as the policy says. Of 23 bills, 21 match the accounting software. Two don't. The agent prepares the next steps for Rowan.

Rowan approves. Ellis finds both bills were entered with the rate from the day they were keyed in, not the bill date, and corrects them by midday.

Illustration of the BlueNexus app with example data.

For connecting Open Exchange Rates, see Open Exchange Rates in Claude, ChatGPT and MCP. For sales, see how to review a price list in several currencies when rates move. To close the month with your team, sign up for BlueNexus.

Questions people ask about Open Exchange Rates and AI

Which exchange rate should I use for a foreign-currency bill?

Your accounting policy decides. Many businesses use the rate on the bill date, and some use an average for the month. Whatever you choose, use one source and apply it the same way every time. This isn't accounting advice, so check with your accountant.

Does the IRS have an official exchange rate?

No. The IRS says it has no official exchange rate, and generally accepts any posted exchange rate that's used consistently.

Which rate do I use when the month ends on a weekend?

Your accounting policy decides, so agree it with your accountant and write it down: the rate for the last day of the month, or the last weekday before it. Currency markets mostly close at weekends, so the two are usually close.

Why doesn't my bank's rate match?

Banks and payment providers add a margin to the mid-market rate, and convert at a different moment. The difference shows up when the bill is paid.

Can AI convert bills to my currency?

It can look up the rate for each bill date, convert, and show its working. A person checks the sheet and enters it in the accounting software.

Subscribe to our blog

Product insights, AI and product thinking delivered to your inbox.