API - Trips - Add business trip with privately owned vehicles

Add deductable usage of private vehicle for business travelling


Resource:
/acumulus/stable/trips/trip_add.php
Since API:
Available for authenticated:
API invoerder
Available for authenticated:
API gebruiker
Available for authenticated:
API beheerder
Communication:
Basic submit, including below structure


Submit

<?xml version="1.0" encoding="UTF-8"?>
<myxml>
    ...
    <tripdate></tripdate>
    <tripdescription></tripdescription>
    <tripkmwayout></tripkmwayout>
    <tripkmreturn></tripkmreturn>
    <tripkmcompensation></tripkmcompensation>
    <tripcompensationtotal></tripcompensationtotal>
    <tripcostcenterid></tripcostcenterid>
</myxml>

tripdate
YYYY-MM-DD. Defaults to today.

tripdescription
defaults to "Geen omschrijving" or "No description". Depending on <lang>

tripkmwayout
distances travelled in km. defaults to 0.

tripkmreturn
distances travelled in km. defaults to 0.

tripkmcompensation
compensation per km. defaults to 0.21 or 0.19 when date before 2023.

tripcompensationtotal
compensation total in euro. Leave empty to automatically calculate.

tripcostcenterid
costcenterid to apply this to. defaults to first costcenterid found.