Demo

Illustrative example - not a client. All companies, people and numbers are made up.

Daily exchange rates.

The official NBU rates of the day are checked and written into both companies every working day. A change above 3 % waits for the accountant, an old rate is never changed, and documents that met the wrong rate are listed.

Company
Demo Manufacturer LLC and Demo Manufacturer US Inc.
Starts when
Every working day at 09:00
How often
Every working day, one run for both companies
Select a step to open its card. The table below lists every step in order.

Steps

Steps in order

#StepDone byToleranceRollout stage
1Code reads the NBU rates Rate reader · Automation, no AIDated today and 2 more6
2Code checks the change from the last rate Rate checks · Automation, no AIChange at most 3 % and 1 more6
3Accountant confirms the rate AccountantWithin 3 %6
4Code writes the rate for both companies Rate writer · Automation, no AIEqual to 0.01 in the company currency and 1 more6
5Code lists documents with a wrong rate Rate checks · Automation, no AIExact and 2 more6

Rollout stage: 6 · Month-end close and approvals.

Before

How it was done before

The accountant typed the rate into a Google Sheet when a payment needed it, and QuickBooks Online used a rate of its own.

Where it breaks without control

  • The rate of yesterday is written under today's date, because the answer came late.
  • UAH per euro is entered as euro per UAH, or the rates of two currencies are swapped.
  • One invoice in euro has two values, because each company took its rate from another source.

Controls

What is checked, and who signs

Checks

StepCompared withToleranceOn a difference
1 · Code reads the NBU ratesThe date in the answer against today; the currencies in the answer against those in useDated today; every currency in use present; rate above zero for the stated number of unitsNothing is written. Code asks again, and with no full answer by 10:00 tells the accountant which currency is missing. A document in a currency with no rate of today waits; yesterday's rate is never written under today's date.
2 · Code checks the change from the last rateEach rate against the last one, as UAH for one unit of the currencyChange at most 3 %; USD and EUR not swapped - the rate of one is not the last rate of the otherNo rate of the day is written, also for the other currencies, until the accountant confirms. Odoo itself only shows a warning to a person who types a rate more than 20 % away.
3 · Accountant confirms the rateThe official rate against the bank's rate of the same currency and dayWithin 3 %The accountant refuses, and code reads the NBU again. The accountant cannot type a rate. Invoices and bills of the day wait until a rate is confirmed.
4 · Code writes the rate for both companies1,000 units of each currency converted by Odoo against 1,000 times the NBU rate, in the US company against 1,000 times the cross rateEqual to 0.01 in the company currency; no rate of an earlier date changedThe set is taken back in both companies, and the accountant is told. Odoo keeps one rate per day and would let a person edit an old one; our module refuses a change to any rate dated before today.
5 · Code lists documents with a wrong rateThe rate on the document against the rate of its date; every working day against the days that have a rateExact; a credit note keeps the rate of its invoice; a weekend or a holiday takes the last working day before itOdoo takes the last earlier rate without a word when a day has none, so such a document looks correct. It waits in the accountant's exception queue. The accountant resets and posts again a document that has not left the company, and corrects one that has by an exchange difference entry that names it.

Duties by role

What the action log records

StepRecordWhat is written
1 · Code reads the NBU ratesAgent action logThe answer of the NBU as received, with its time
2 · Code checks the change from the last rateAgent action logChange of each currency in percent, and clean or waiting
4 · Code writes the rate for both companiesAgent action logEach rate written, and the value read back

Connected processes

Where the work comes from and where it goes

Work goes to

ProcessWhat passesAt step
Month-end closeRates of every day, and documents still to correctCode lists documents with a wrong rate
Price list changeThe rate of the day, to compare with pricesCode writes the rate for both companies

Work comes from

No other process hands work to this one. It starts from its own trigger.

Back to the diagramShow it on the process map

Want this process checked on your data?

Tell us where it goes wrong.

Write to us about this process