Skip to content

Customer Payment Report

Endpoints

https://app.passelimerit.fi/api/v2/getcustpaymrep

Query Payload

json
{
  "CustName": "",
  "CustId": "",
  "PeriodStart": "YYYYmmDD",
  "PeriodEnd": "YYYYmmDD",
  "CurrncyCode": "EUR"
}
Click to see the query parameters
FieldTypeCommentRequired
CustNameStr 150
CustIdQuid
PeriodStartDateRequired
PeriodEndDateRequired
CurrncyCodeStr 4

Successful Result

json
{
  "Data": "[{\"CustId\":\"7da4cd44-9b49-4a35-8d1b-f339a68e7058\",\"CustName\":\"FirstCustomer Inc\",\"DocDate\":\"\/Date(1484265600000)\/\",\"DocNo\":\"123\",\"DocId\":\"ec87ddbf-3b7c-4c35-b40d-3b9b0a60e853\",\"TotalAmount\":2000.00,\"DueDate\":\"\/Date(1485302400000)\/\",\"UnPaidAmount\":2000.00,\"OverDue\":2680},}]",
  "HasMore": false,
  "Id4More": "00000000-0000-0000-0000-000000000000"
}
Click to see the result parameters
FieldComment
DataData Object
HasMoretrue/false
Id4More

DataObject

FieldComment
CustName
CustId
DocDate
DocNo
DocId
TotalAmount
DueDate
UnPaidAmount
OverDue

If HasMore is true, send a new request to the v2/getmoredata endpoint using the GUID from Id4More.

Endpoints

https://app.passelimerit.fi/api/v2/getmoredata

Query Payload

json
{
  "Id4More": "00000000-0000-0000-0000-000000000000"
}

The request must be repeated until HasMore is false