All insights

Connecting fleet software to ERP: what to link and how

Fleet management ERP integration: how roles split between the two systems, what flows in and out, matching keys, three integration patterns, API and webhook rules, and what to ask a provider.

Technology 12 minutes

Key points

  • Each fact has one owning system: the vehicle, employee and order come from the ERP; distance, fuel, position and proof of delivery come from the fleet system.
  • Into the fleet system go vehicles, drivers and orders. Out of it come distance, engine hours, fuel, driving hours, engine faults and proof of delivery.
  • Matching needs a stable key: plate or chassis number for a vehicle, employee number or mobile for a driver, and cost centre for an entry.
  • An API suits reading and writing on demand; a webhook suits events. An event arrives at least once, so the receiver must ignore one it has already seen.
  • Entries are reviewed and approved before posting to the books, and every sync leaves a log that is compared with the source.

An enterprise resource planning (ERP) system holds the ledger, the assets, the employees and the orders. Fleet software measures what vehicles actually do: distance, engine hours, fuel, faults and proof of delivery. Fleet management ERP integration moves each fact from the system that owns it to the system that needs it, once, with no re-keying.

Data between the fleet system and the ERP: who owns it and where it goes
FactSourceDestinationKey
VehiclesERPFleet systemPlate or chassis number
DriversERPFleet systemEmployee number or mobile
OrdersERPFleet systemOrder number
Distance and engine hoursFleet systemERPVehicle and cost centre
FuelFleet systemAccountingVehicle and cost centre
Driving hoursFleet systemPayrollDriver
Engine faultsFleet systemMaintenance ordersVehicle
Proof of deliveryFleet systemOrderOrder number

Which system owns which fact

A working integration starts by naming who owns each fact:

  • The ERP owns: assets, their value and cost centres; employees and their pay; sales and delivery orders; inventory; the books.
  • The fleet system owns: position and track, distance and engine hours, fuel, driving events, engine faults and proof of delivery.
  • The measurement comes from the device in the vehicle, the entry comes from the books, and the integration carries one to the other.

The rule is one place to write and one place to read. When a number is keyed into both systems by hand, they differ within weeks and nobody knows which is right. See fleet operating costs for what to measure per vehicle.

What flows from the ERP into the fleet system

The first direction runs from your system to the fleet system. What goes in is what lets the fleet system know its vehicles, drivers and jobs:

  • Vehicles: from the asset register, matched by plate and chassis number.
  • Drivers: from the employee register, with mobile numbers.
  • Orders: sales and delivery orders become driver jobs with no manual entry.
  • Cost centres: so that entries post to the centre of each vehicle.

These are the data PING takes in, as listed on the integrations page. What is not needed is not moved: the sync scope is set in each direction.

What flows from the fleet system into the ERP

The second direction runs from the fleet system to yours. These are the measurements an ERP does not hold:

  • Distance and engine hours per vehicle, for allocation to cost centres and depreciation on actual use.
  • Fuel measured from vehicle data, for running-cost entries in accounting.
  • Driving hours per driver, for payroll and overtime. See driving hours and rest rules for what is measured.
  • Engine faults, to open maintenance orders in the ERP. See the preventive maintenance program.
  • Delivery status with photo, signature and time, recorded on the order itself.

Before posting to the books, finance reviews and approves the entries. Compare the fleet reports' vehicle distance with what was posted, and the gap shows each month. For the indicators built on this data, see fleet KPIs and vehicle utilization.

How data moves: file, API or webhook

There are three patterns, and each table of data takes the one it needs:

  • A periodic file (CSV or Excel): the simplest pattern. It suits what posts monthly, such as vehicle distance and fuel, and needs someone to check the file before it is uploaded.
  • A scheduled API call: your system pulls data every hour or day, with pages and filters. It suits reconciliation and reports.
  • A webhook: the provider pushes the event as it happens, such as an alarm opening, a trip ending or a job completing. It suits closing an order or opening a work order.

The last two combine well: the webhook carries the event, and the API confirms nothing was missed. Either way, both systems need a stable record id for matching.

What to check in the ERP's API

The harder side is usually the ERP, not the fleet system, so read four things in its documentation:

  • Key: who owns the fact, and the matching key. A vehicle by plate or chassis, a driver by employee number or mobile, an entry by cost centre.
  • Permission: a user dedicated to the integration with the least permissions, and a key that can be revoked. Odoo's documentation recommends dedicated bot users with minimal permissions, and caps an API key at three months.
  • Plan: Odoo's documentation states that API access is available on Custom plans only. Confirm your plan before agreeing the scope.
  • Version: Odoo's current interface is JSON-2 at /json/2/<model>/<method>, and the legacy XML-RPC and JSON-RPC endpoints are scheduled for removal in Odoo 22 (fall 2028), and Odoo Online 21.1 (winter 2027).

These details are from Odoo's documentation for version 19. Other systems have their own terms, so read your system's documentation and your plan before you estimate the time to connect.

PING's API and webhooks: what a developer sees

When you connect PING to your system with a webhook, these are the receiving rules the API publishes:

  • An event arrives at least once. The receiver stores the event id (Ping-Event-Id) and ignores a repeat. HTTP itself treats a repeated PUT or DELETE as having the same effect as one (RFC 9110); a POST has no such guarantee, which is why the id is kept.
  • Order of arrival is not promised. Order by the payload's occurred_at, not by arrival time.
  • The signature is in the Ping-Signature header: t in seconds, then an HMAC-SHA256 of "t.body" with the endpoint's secret. The receiver rejects a t more than 300 seconds from its own clock.
  • The receiving address is https only and must resolve to a public address. Redirects are not followed. OWASP gives the same advice for any server that calls a URL: disable redirects, and connect only to validated addresses.
  • Event types: alarm.opened, alarm.cleared, trip.ended, geofence.entered, geofence.exited, job.dispatched, job.started, job.completed and job.cancelled.
  • An endpoint is disabled after a run of deliveries that failed for good, and the account's owners are told on WhatsApp. Setting enabled=true turns it back on.

The API itself: keys of the form ping_live_ are issued by the account owner in the console and shown once, and only a sha256 of the secret is kept. Each key has scopes (such as fleet:read, telemetry:read and webhooks:write), a limit of 10 requests a second with a burst of 50, and 100,000 requests a day. Lists page by cursor, 50 by default and 200 at most. A create operation takes an Idempotency-Key, and a repeat within 24 hours returns the same answer. A request over the limit is refused with 429, as OWASP advises for APIs, which also says to serve only https and to keep keys out of the URL. See the PING API.

A rollout plan, step by step

Run the integration in five steps, each checking the one before:

  • Name the owning system of each fact and write it in the integration document.
  • Agree the matching keys and clean both registers before the first sync: duplicate plates, missing mobile numbers and drivers who left.
  • Run a trial sync on a small fleet or one department, and compare distance and fuel with the source.
  • Turn on posting of financial entries after review and approval, and watch the refusals for two weeks.
  • Widen to the other departments, and add events (webhooks) once the periodic sync is steady.

The cost of the integration is an offer line to ask the provider about. See what affects the cost of a tracking system for comparing offers on equal terms.

Where e-invoicing sits in the integration

Your customer invoices are issued from your own accounting system, and the fleet cost entry is only an input to it. The Zakat, Tax and Customs Authority (ZATCA) applies Phase 2 of e-invoicing, the integration phase, in waves, and notifies taxpayers of their wave at least six months before its date.

Wave 25, announced on 24 July 2026, covers taxpayers whose VAT-subject revenue exceeded SAR 187,500 in any of 2022 to 2025. Those notified must integrate with the Fatoora platform by 1 February 2027 at the latest. If a wave covers you, the entries you move from the fleet system go into your own accounting system that meets the Authority's requirements.

What PING offers in an integration

On the integrations page, PING connects to SAP S/4HANA, SAP Business One, Oracle Fusion Cloud ERP, Oracle NetSuite, Microsoft Dynamics 365 and Odoo; to the accounting systems Qoyod, Wafeq and Daftra; and to the stores Salla and Zid. Other systems with an API are connected too.

The scope is set in each direction with your team, and the first sync is run together. The connection uses the system's official API with the permissions you grant, and you can revoke them at any time. Writes to your finance system are limited to the data you select, such as costs and order status. Each sync has a log, and entries are reviewed and approved before they reach the ledger.

A checklist before a fleet-to-ERP integration goes live

  • Every field in the integration has one named owning system, and it is not edited in the other.
  • The matching key of each table is written down and agreed: plate or chassis for a vehicle, employee number for a driver, cost centre for an entry.
  • The integration user in the ERP is dedicated to it, holds the least permissions it needs, and has a key that can be revoked.
  • Your ERP plan includes API access, and its request limit has been read.
  • The receiver ignores a repeated event by its id and orders events by the time they occurred, not the time they arrived.
  • Financial entries are reviewed and approved before posting, and none is posted twice.
  • Each month the fleet system's vehicle distance is compared with what was posted to the books.
  • Each sync has a log of what moved and what was refused and why, and a named owner follows the refusals.

Questions

Do I need fleet software if my ERP has a vehicle module?

Yes. An ERP does not measure a vehicle's position, distance or engine hours, so it needs a source for them. The fleet system measures them from the device, and the integration carries them to cost centres and maintenance orders with no manual entry.

What data moves between fleet software and an ERP?

Into the fleet system: vehicles from the asset register, drivers from the employee register, and sales and delivery orders. Out of it: distance, engine hours, fuel, driving hours, engine faults for maintenance orders, and delivery status with proof.

What is the difference between an API and a webhook in an integration?

With an API you request data when you want it. With a webhook the provider sends the event as it happens, to an https address you set. The first suits reports and reconciliation; the second suits closing an order or opening a work order.

What should I check in my ERP's API before integrating?

Ask for the request limit, whether your plan allows programmatic access, and the API version and its retirement date. Odoo's documentation, for example, schedules its XML-RPC and JSON-RPC endpoints for removal in Odoo 22 (fall 2028).

What happens if the same event arrives twice?

The job or accounting entry is duplicated. A webhook guarantees an event arrives at least once, not exactly once, and does not promise order. So the receiver stores each event id, ignores a repeat, and orders by the time of occurrence.

Does the integration change e-invoicing?

Your customer invoices stay issued from your own accounting system, and fleet cost entries are inputs to it. ZATCA applies Phase 2 e-invoicing (the integration phase) in waves and notifies each wave at least six months before its date.

For the systems supported and what flows with each, see the integrations page. For the path of a job from order to proof of delivery, see the guide to dispatching jobs with proof of delivery.

Sources

  1. Odoo: documentation, External JSON-2 API (version 19)
  2. ZATCA: e-invoicing roll-out phases
  3. ZATCA: e-invoicing Wave 25
  4. IETF: RFC 9110, HTTP Semantics, section 9.2.2 (idempotent methods)
  5. OWASP: REST Security Cheat Sheet
  6. OWASP: Server-Side Request Forgery Prevention Cheat Sheet