API - Payment - Set status

Set the payment status for an invoice / betaalstatus aanpassen


Resource:
/acumulus/stable/invoices/invoice_paymentstatus_set.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>
    ...
    <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>
        <entryid></entryidn>
        <paymentstatus></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