frequently asked questions

All your questions in one place.

AddressPendingPayments

This method returns the detail of all open documents for a given address for a specific delay interval.

BODY - RAW

{

"Method": "AddressPendingPayments",

"Parameters": [

<nAddressId>,
<nFirstIntervalLimit>,
[<nSecondIntervalLimit>

]

}

PARAMETERS

ParametersDescription
nAddressIDId of the address.
nFirstIntervalLimitFirst limit to set up the delay interval. The method returns all open documents with a delay up to this interval limit.
nSecondIntervalLimit(Optional) Second limit to set up the delay interval. The method returns all open documents with a delay greater than this interval limit. If nFirstIntervalLimit is set, the delay interval will be all open documents between the second and the first limit.

EXAMPLE

*/ Return all pending payments for the interval [0-30 days]

{

"Method": "AddressPendingPayments",
"Parameters": [

1234,
30

]

}

*/ Return all pending payments for the intervals > 30 days

{

"Method": "AddressPendingPayments",
"Parameters": [

1234,
0,
30

]

}

*/ Return all pending payments for the intervals [30-60 days]

{

"Method": "AddressPendingPayments",
"Parameters": [

1234,
60,
30

]

}

CLASS RETURNED

PropertyDescription
DocumentType

Type of the document.

The type can be :
- 17 : Debtor starting balance
- 20 : Debtor invoice
- 22 : Credit note
- 43 : Creditor starting balance
- 44 : Creditor invoice
- 47 : Creditor credit note

DocumentIdId of the document
DocumentNumberNumber of the document.
DocumentDateDate of the document
AddressIdId of the address
AddressCompany name, last name, first name, zip code and city of the address
LocalOpenAmountOpen amount in local currency
LocalPaidAmountPaid amount in local currency
LocalTotalAmountTotal amount in local currency
ForeignOpenAmountOpen amount in foreign currency
ForeignPaidAmountPaid amount in foreign currency
ForeignTotalAmountTotal amount in foreign currency
DueDateDue date
DelayInterval of the delay
DocumentCategoryId of the document category

 

Did you find this article useful?

0 out of 0 found this helpful