Accounting - CheckOutstandingItem(sessionID, Reference)

Returns the outstanding invoice amount of the invoice or invoices with a specific invoice number.


Parameters


sessionID

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


Reference

The reference number of the invoice or invoices.


Response XML scheme


<xs:element name="OutstandingItems">

        <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:sequence>

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

                                </xs:complexType>

                        </xs:element>

                </xs:sequence>

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