In the case of errors, the 'status' is KO and the value of 'error' contains the list of errors separated by commas.

Errors can be:

  • 'no code found' when the service identifier was not found in the database

  • 'error updating dossier amount' when errors are found in entering the payment value

  • 'error updating dossier configuration' when errors are found in the modification of the case configuration

Below is an example where the service identifier was not sent :

<?xml version="1.0" encoding="UTF-8"?>
<envelope>
    <header>
    <actor>test</actor>
        <user>test</user>
        <password>test</password>
        <version>1.0.0</version>
        <timestamp>20090501170000</timestamp>
    </header>
    <query type="payment" product="paymentmanager" />
        <payment>
            <status code="KO" />
            <error value="no code found,error updating dossier amount" />
            <service code=" " />
            <payment date="2021-02-11" />
            <amount value="5" />
        </payment>
    </query>
</envelope>