In each article involved, you must add the additionalFeeArticleId.
Important: The articles specified in the additionalFeeArcticleId must also be available in the configuration file. |
The additional Fee Articles specify the fee to calculate.
in the example below the article 111 specifies an additionalFeeFixedAmount of 0.50 as a fixed amount to be added to the overall amount to pay.
It is possible to add both the additionalFeeFixedAmount and the additionalFeePercent attributes to the additional fee articles
Note: In WebOffice, the purchase will only specify the article selected by the PAYMENTSERVICE for the purchase. The additional fee will be visible in the Card Fee column in WebOffice in Purchases. |
Examples:
<!-- co2ElectricCar0gpkm, additionalFeeAmount="0.0"-->
<ARTICLE articleId="10" name="co2EmissionCat2" additionalFeeArticleId="101" useCommonTariffs="false" autoSelectTariff="false" selectFromAllTariffs="true" defaultTariffId="933012206" purchaseCategory="10">
<paymentService id="17400" />
</ARTICLE>
<ARTICLE articleId="101" name="co2ElectricCar0gpkm" additionalFeeRule="Always" additionalFeeFixedAmount="0.0" useCommonTariffs="false" autoSelectTariff="false" defaultTariffId="1" purchaseCategory="10">
<paymentService id="1" />
</ARTICLE>
<!-- co2LessThan100gpkm, additionalFeeAmount="0.50"-->
<ARTICLE articleId="11" name="co2EmissionCat3" additionalFeeArticleId="111" useCommonTariffs="false" autoSelectTariff="false" selectFromAllTariffs="true" defaultTariffId="933012206" purchaseCategory="10">
<paymentService id="17400" />
</ARTICLE>
<ARTICLE articleId="111" name="co2LessThan100gpkm" additionalFeeRule="Always" additionalFeeFixedAmount="0.50" useCommonTariffs="false" autoSelectTariff="false" defaultTariffId="1" purchaseCategory="10">
<paymentService id="1" />
</ARTICLE>
<!-- co2GreaterThan199gpkm, additionalFeeAmount="3.50"-->
<ARTICLE articleId="20" name="co2EmissionCat1And6" additionalFeeArticleId="201" useCommonTariffs="false" autoSelectTariff="false" selectFromAllTariffs="true" defaultTariffId="933012206" purchaseCategory="10">
<paymentService id="17400" />
</ARTICLE>
<ARTICLE articleId="201" name="co2GreaterThan199gpkm" additionalFeeRule="Always" additionalFeeFixedAmount="3.50" useCommonTariffs="false" autoSelectTariff="false" defaultTariffId="1" purchaseCategory="10">
<paymentService id="1" />
</ARTICLE>
<!-- unknown -->
<ARTICLE articleId="30" name="unknownVehicle" additionalFeeArticleId="301" useCommonTariffs="false" autoSelectTariff="false" selectFromAllTariffs="true" defaultTariffId="1" purchaseCategory="10">
<paymentService id="1" />
</ARTICLE>
<ARTICLE articleId="301" name="co2unknown" additionalFeeRule="Always" additionalFeeFixedAmount="4.50" useCommonTariffs="false" autoSelectTariff="false" defaultTariffId="1" purchaseCategory="10">
<paymentService id="1" />
</ARTICLE>