Stock & Till Management

Multi-Till Currency Stock Management for Exchange Operations

ForexFox gives every operator a real-time view of their till balances and lets them simulate a transaction before committing it. Managers see consolidated exposure across all tills in EUR, using live official rates. Pricing is driven by named margin profiles assigned per user — not a single flat rate for everyone.

Calculation preview
Customer sale 5,000.0000 USD
Applied rate (10 dp) 0.9214736500
Countervalue (4 dp) 4,607.3683 EUR
Net margin + 38.4200 EUR
ROUND_HALF_UP Simulate before execution

Key technical highlights

Transaction calculate → execute workflow: preview pricing and compliance requirements before committing any trade.

Financial precision: amounts stored at 4 decimal places (DECIMAL(18,4)), exchange rates at 10 decimal places (DECIMAL(18,10)).

Accounting rounding: ROUND_HALF_UP applied consistently across all financial computations.

Margin profiles: named profiles assigned per user determine buy and sell margins independently, replacing flat client-type pricing.

EUR valuation in global balances: each currency position is converted using the latest official rate, with source and rate date displayed.

Role-aware visibility: users see only their assigned till; admin and root see all tills consolidated.

01

Calculate before you commit: pre-execution transaction simulation

Before any transaction is executed, operators call the calculate endpoint with currency pair, direction (buy/sell), and amount. The platform returns the exact EUR amount, the applied client rate derived from the user's margin profile, and any compliance warnings that will trigger at execution. This preview-then-confirm workflow catches pricing errors and missing KYC requirements before they affect the transaction record, protecting both margin and compliance posture at the point of interaction.

02

Named margin profiles for operator-level pricing

ForexFox replaces the traditional single-rate-per-client-type model with named margin profiles assigned directly to users. Each profile carries independent buy and sell margins per currency. A corporate counter and a tourist counter can run with different spreads on the same currencies, without any code change. Profiles can be updated, reassigned, or cloned through the admin interface, and take effect immediately on the next transaction calculation.

03

Consolidated EUR valuation across all tills

The global-balances endpoint aggregates currency positions across all active tills and converts each to EUR using the most recent official rate available. For each currency, the response includes the rate used, its source, and the effective date — so finance teams can reproduce the valuation at any point. Users only see their own till position; managers and root users see the full consolidated view. This gives every role the right level of inventory visibility without requiring separate reporting tools.

04

Accounting-grade financial precision

All monetary amounts in ForexFox are stored at 4 decimal places and all exchange rates at 10 decimal places. Rounding uses ROUND_HALF_UP — the standard for financial accounting — applied consistently across the calculate preview, the execution path, and the EUR valuation in global balances. This eliminates rounding discrepancies between what the operator shows the client and what gets recorded in the database, which is a recurring source of reconciliation errors in exchange office operations.

Use cases by role

One platform, benefits tailored to each role.

Counter Operator

Execute trades with full visibility on pricing and KYC requirements before committing.

  • Use the calculate endpoint before every trade to preview the exact EUR amount the client will pay or receive.
  • See compliance warnings in the preview — required documents, threshold alerts — before the transaction is processed.
  • Confirm execution knowing that till balances update atomically via a stored procedure.
  • Access transaction history for your till without being able to view other counters.

Operations Manager

Monitor currency exposure and margins across all counters in a single consolidated view.

  • Review consolidated EUR valuation per currency across all tills in real time.
  • Identify over-exposed positions before they affect daily settlement.
  • Assign margin profiles to new operators for precise pricing control per channel or client segment.
  • Trace transaction history per operator and per client for supervision and performance review.

Finance Controller

Validate daily positions and closing figures with accounting-grade precision.

  • Use global-balances to generate end-of-day currency positions with EUR equivalents.
  • Rely on ROUND_HALF_UP arithmetic for consistency between position reports and account entries.
  • Cross-reference daily totals (tx_daily_totals) with till balances for rapid reconciliation.
  • Track the source and date of each rate used for EUR valuation in the consolidated report.

Related APIs

Transaction preview

Simulate pricing, EUR amounts, and compliance requirements before execution.

Transaction execution

Commit a validated transaction and update till balances atomically.

My till balances

Current currency balances for the authenticated operator's assigned till.

Global balances

Consolidated currency positions across all tills with EUR valuation and rate metadata.

Margin profiles

Create and assign named buy/sell margin profiles per user for differentiated pricing.

Talk to a ForexFox specialist

See how this solution fits your operational constraints and compliance requirements.