frequently asked questions

All your questions in one place.

AddressPaymentsCalendar

This method returns the detail of all open documents for a given address for due date that is comprised in a given range of days.

BODY - RAW

{

"Method": "AddressPaymentsCalendar",

"Parameters": [

<nAddressId>,
<nFirstDueRange>,
[<nSecondDueRange>

]

}

PARAMETERS

ParametersDescription
nAddressIdId of the address.
nFirstDueRangeFirst limit to set up the due date range. The method returns all open documents with due date up to today + nFirstDueRange.
nSecondDueRange(Optional) Second limit to set up the due date range. The method returns all open documents with a due date greater than today + nSecondDueRange.

EXAMPLE

*/ Return all the payments due up to 30 days

{

"Method": "AddressPaymentsCalendar",
"Parameters": [

1234,
30

]

}

*/ Return all the payments due in more than 30 days

{

"Method": "AddressPaymentsCalendar",
"Parameters": [

1234,
0,
30

]

}

*/ Return all pending payments due in between 30 and 60 days

{

"Method": "AddressPaymentsCalendar",
"Parameters": [

1234,
60,
30

]

}

CLASS RETURNED

PropertyDescription
DocumentTypeType 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
DueDateDueDate
TermDays up to the due date
DocumentCategoryId of the document category

Did you find this article useful?

0 out of 0 found this helpful