Home

XAFare

XAFare is a modular software framework for calculating fares in transportation and logistics applications. It provides a configurable fare engine, rate cards, and pricing rules to support ride-hailing services, taxi fleets, delivery operations, and transit integrations.

The architecture centers on a pluggable fare engine that translates trip attributes (distance, duration, location, vehicle

Pricing capabilities include dynamic and time-based pricing, demand-based surges, zone-based pricing, promotions, loyalty discounts, and tax

Deployment and interoperability: XAFare can be used as an embedded library within client applications or deployed

Impact and reception: Since its release, XAFare has been adopted by several mobility and logistics platforms

type)
into
a
price.
Key
components
include
a
rate-card
system
for
base
fares
and
multipliers,
a
rule
engine
for
discounts,
surcharges,
taxes,
tolls,
and
currency
handling,
and
a
data
layer
that
ingests
maps,
traffic
data,
and
external
pricing
sources.
An
API
layer
enables
integration
with
mobile
apps,
dispatch
systems,
and
partner
platforms.
and
toll
calculation.
The
framework
emphasizes
multi-tenant
deployment,
localization
support
for
currencies
and
units,
and
testability
through
sandbox
environments
and
simulated
trips.
as
a
standalone
microservice.
It
exposes
REST
and
gRPC
interfaces
and
supports
common
data
formats,
authentication
methods,
and
auditing.
The
project
emphasizes
clear
pricing
rules,
versioning
of
rate
cards,
and
extensible
integration
points
for
regional
regulations.
seeking
a
standardized
pricing
foundation.
It
is
maintained
by
an
open-source
community
and
documented
with
examples
and
reference
implementations.
See
also:
dynamic
pricing,
rate
card,
toll
calculation.