API - Payment - Set status

Set the payment status for an invoice / betaalstatus aanpassen


Resource:
/acumulus/stable/invoices/invoice_paymentstatus_set.php
Since API:
Authentication:
API user
Communication:
Basic submit, including below structure


Submit

<?xml version="1.0" encoding="UTF-8"?>
<myxml>
    ...
    <token></token>
    <paymentstatus></paymentstatus>
    <paymentdate></paymentdate>
</myxml>

token Mandatory
Unique 32-character identifier(hash) for the invoice.

paymentstatus

Option
Description
1
Due (DEFAULT)
2
Paid

paymentdate mandatory
Date of payment. Format: yyyy-mm-dd.


Response

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <invoice>
        <token>01234567890abcdef01234567890abcd</token>
        <paymentstatus>2</paymentstatus>
    </invoice>
    <errors>
        <count_errors>0</count_errors>
    </errors>
    <warnings>
        <count_warnings>0</count_warnings>
    </warnings>
    <status>0</status>
</response>

token
Unique 32-character identifier(hash).

paymentstatus

Option
Description
1
Due
2
Paid