API - Unpaid Debtor Invoices (Openstaande Debiteuren)


Resource:
/acumulus/stable/reports/report_unpaid_debtors.php
Since API:
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>
    ...
    <due></due>
</myxml>

due
Option to indicate which set of due/overdue invoices to include in the list.

Option
Description
0
Do not include overdue invoices
1
Include due and overdue invoices (DEFAULT)
2
Only include overdue invoices

Response

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <unpaiddebtorinvoices>
        <entry>
            <entryid></entryid>
            <invoicenote></invoicenote>
            <token></token>
            <number></number>
            <issuedate></issuedate>
            <expirationdate></expirationdate>
            <daysdue></daysdue>
            <invoicedaylimit></invoicedaylimit>
            <contactid></contactid>
            <contactname></contactname>
            <contactemail></contactemail>
            <accountid></accountid>
            <accountnumber></accountnumber>
            <amount></amount>
        </entry>
        <entry>
            ...
        </entry>
        <numberunpaiddebtors></numberunpaiddebtors>
        <amountunpaiddebtors></amountunpaiddebtors>
        <numberoverduedebtors></numberoverduedebtors>
        <amountoverduedebtors></amountoverduedebtors>
    </unpaiddebtorinvoices>
</response>

entryid
Integer.

invoicenote
Note with invoice. Usually a short description of the invoice. Not to be confused with entrynote.
token
Token for PDF-invoices.
number
Invoice number.
issuedate
Date in YYYY-MM-DD.
expirationdate
Date in YYYY-MM-DD.
daysdue
Number of days.
invoicedaylimit
Payment term in days.
contactid
Integer.
contactname
Name for contact.
contactemail
Email contact.
accountid
ID for account.
accountnumber
Number for account.
amount
Float. 2 Decimals.

numberunpaiddebtors
Number as in occurences.
amountunpaiddebtors
Amount as in value.
numberoverduedebtors
Number as in occurences.
amountoverduedebtors
Amount as in value.