OutstandingDebtorItems(sessionID, administrationID, includeBankTransactions, sortOrder)

Returns all outstanding debtor items within an administration, either with or without outstanding bank transactions that are recorded on debtors.


Parameters


sessionID

Returns a session ID that is obtained from the Authenticate(accessKey) method. 


administrationID

The identifier of the administration. For a description where you can find the administrationID see article Administration ID.


includeBankTransactions

Boolean that determines whether or not the bank transactions are retrieved.


sortOrder

An enumeration for sorting.


Response XML scheme


<xs:element name="OutstandingDebtorItems">

        <xs:complexType>

                <xs:sequence>

                        <xs:element name="Item" maxOccurs="unbounded">

                                <xs:complexType>

                                        <xs:sequence>

                                                <xs:element name="Date" type="xs:date" />

                                                <xs:element name="Description" type="xs:string" />

                                                <xs:element name="Contact" type="xs:string" />

                                                <xs:element name="OpenAmount" type="xs:decimal" />

                                                <xs:element name="OriginalAmount" type="xs:decimal" />

                                                <xs:element name="Type" type="xs:string">

                                                        <xs:complexType>

                                                                <xs:attribute name="ID" type="xs:string"/>

                                                        </xs:complexType>

                                                </xs:element>
                                                <xs:element name="Reference" type="xs:string" />

                                                <xs:element name="DueDate" type="xs:date" />

                                                <xs:element name="ContactCode" type="xs:string" />

                                                <xs:element name="CoCNumber" type="xs:string" />

                                                <xs:element name="VATNumber" type="xs:string" />

                                                <xs:element name="AddressLine_1" type="xs:string" />

                                                <xs:element name="AddressLine_2" type="xs:string" />

                                                <xs:element name="Postcode" type="xs:string" />

                                                <xs:element name="City" type="xs:string" />

                                                <xs:element name="MailAddressLine_1" type="xs:string" />

                                                <xs:element name="MailAddressLine_2" type="xs:string" />

                                                <xs:element name="MailPostcode" type="xs:string" />

                                                <xs:element name="MailCity" type="xs:string" />

                                                <xs:element name="Country" type="xs:string" />

                                                <xs:element name="ContactID" type="xs:string" />

                                        </xs:sequence>

                                        <xs:attribute name="ID" type="xs:string" />

                                </xs:complexType>

                        </xs:element>

                </xs:sequence>

        </xs:complexType>
</xs:element>