Kunnskapsbase

Abax trips → Tripletex projects

Sist oppdatert

Abax trips -> Tripletex projects

Overview

Trips registered in Abax are grouped by their purpose, and each group is processed as a Tripletex project.

Requirements

  • Each Abax trip must have a purpose set.
  • A default project manager must be defined (mandatory).

Purpose format

A purpose is expected in the following format: <project_number> - <project_name>

This is the format used when Tripletex projects are synced to Abax as purposes (see Purpose sync below), so purposes picked from that list always contain both parts.

The matching depends on whether the number is present:

  • Purpose contains a project number - the integration matches on the project number and attaches the trips to that existing Tripletex project.
  • Purpose contains no project number (created manually in Abax as free text)
    • there is nothing to match on, so the integration creates a new project in Tripletex.

If the customer does not want new projects to be created, drivers must always pick a purpose that was synced from Tripletex, i.e. one that includes the project number. Purposes typed manually without a number will always result in a new project.

How it works

  1. Trips are read from Abax and grouped by purpose.
  2. The project number in the purpose is used to find the matching Tripletex project. If there is no number, a new project is created using the purpose as the project name.
  3. Trips and expenses are added to the project as project lines.
  4. Project lines can be invoiced later in Tripletex.

Configuration in Integrera

The setup is done in the Abax module in the Integrera platform:

  1. Select the transfer target - choose that order lines should be transferred to project (as project lines).
  2. Select the project manager (mandatory) - see Project manager below.
  3. Select the products - either point the integration to existing Tripletex products, or let it create the standard ones (Servicebil and Servicebil Bom). See Standard products below.
  4. Set a fixed price per kilometer (optional) - when set, this price is used on the project lines and overrides the product price from Tripletex.
  5. Select the grouping level:
    • Per vehicle - trip kilometers and expenses are accumulated per vehicle, giving a summarized view.
    • Detailed - each trip is transferred as two lines, one for the trip kilometers and one for the trip expenses.

Configuration Setup Project order lines setup

Project manager

The project manager assigned to the created project must be an existing Tripletex user - it cannot be a free-text name or a user that only exists in Abax. We therefore need one of the following from the customer:

  • the specific Tripletex user to use as the default project manager, or
  • the logic we should apply to resolve the project manager (for example: derive it from the trip's driver, from the department, or from another field we can read and map to a Tripletex user).

Without one of these, projects cannot be created.

Standard products

Trips and expenses are posted as project lines, and every project line needs a product. The integration defines both products by default:

Used for Product name
Trips Servicebil
Trip expenses (tolls, etc.) Servicebil Bom

Both products are created in and available from Tripletex, so the customer can see and adjust them there.

Important: the product name can be changed freely, but the product number must stay as synced. The integration uses the product number to identify the product - changing it breaks the link and the integration will no longer be able to attach trips and expenses to the correct product.

The customer only needs to select their own products in the configuration if they do not want the two standard ones to be used.

Run modes

The integration can run:

  • Daily - processes the past day.
  • Monthly - processes the past month.
  • Historical sync - processes everything from a specified start date.

Purpose sync

Purposes in Abax are kept in sync with projects in Tripletex by a separate integration that runs alongside the trip transfer.

Initial purpose sync

When the integration is set up, all active Tripletex projects are synced to Abax as purposes in the <project_number> - <project_name> format. This brings the two systems in sync and lets drivers pick the correct purpose from the start.

Real-time sync

After the initial sync, any change to a Tripletex project is reflected in Abax automatically and in real time:

  • a new project in Tripletex creates a new purpose in Abax,
  • a closed project in Tripletex removes the purpose in Abax.

If something is missing after the initial sync, the purpose sync can be run again on demand by contacting [email protected].

Limitations

The transfer happens once. The integration does not update projects that have already been synced - after the integration has processed a project, all further changes are handled by the customer directly in Tripletex.

Expected Results

Attached is the expected result in Tripletex, where two lines were added for one trip: one trip line and one expense line, both using the predefined customer products.

End Results