Appearance
Currency logic
Overview
Consult supports multiple currencies, each defined with:
- A tax type and percentage (e.g. VAT, GST)
- An exchange rate relative to the base currency (marked as
primary)
Conversion logic
All currency conversions are calculated relative to the base currency.
For example:
- If AUD has an exchange rate of
12.00, and the base currency is ZAR, then1 AUD = 12 ZAR.
Changing the base currency
If you change the base currency:
- All exchange rates must be manually updated to be accurate relative to the new base.
- This must be done before the next day, when exchange rates are persisted to the database.
Exchange rate persistence
- Exchange rates are saved nightly.
- This ensures historical accuracy for previous transactions (e.g. if AUD was
12.00yesterday and is13.00today, yesterday’s records still use12.00).
