Skip to content

Customer Debts Report

Endpoints

https://app.passelimerit.fi/api/v1/getcustdebtrep

Query Payload

json
{ 
  "CustName": "FirstCustomer Inc",
  "CustId": "7da4cd44-9b49-4a35-8d1b-f339a68e7058",
  "OverDueDays": 5,
  "DebtDate":"YYYYmmDD" 
}
Click to see the query parameters
FieldTypeCommentRequired
CustNameStr 150Required if CustId not used.

If the CustName "" then all customers are selected.
Required?
CustIdGuid
OverDueDaysInt 3more exceeded days
DebtDateDateDate in the format YYYYmmDD, if not used then it defaults to the current date.

Successful Result

json
[
  {
    "PartnerId": "7da4cd44-9b49-4a35-8d1b-f339a68e7058",
    "PartnerName": "FirstCustomer Inc",
    "DocType": "MA",
    "DocDate": "2017-01-13T00:00:00",
    "DocNo": "123",
    "DocId": "ec87ddbf-3b7c-4c35-b40d-3b9b0a60e853",
    "RefNo": "1232",
    "DueDate": "2017-01-25T00:00:00",
    "TotalAmount": 2000.00,
    "PaidAmount": 0.0,
    "UnPaidAmount": 2000.00,
    "CurrencyCode": "EUR",
    "CurrencyRate": 1.0000000
  },
  // ...
]
Click to see the result parameters
FieldComment
PartnerId
PartnerName
DocTypeSO offer, MA invoice, SBx() initial balance, PR and BA from program.
DocDate
DocNo
RefNo
DueDate
TotalAmount
PaidAmount
UnPaidAmount
CurrencyCode
CurrencyRate