Skip to content

List of Payments

Endpoints v1

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

Endpoints v2

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

Query Payload

json
{ 
  "PeriodStart": "YYYYmmDD",
  "PeriodEnd": "YYYYmmDD" 
}
Click to see the query parameters
FieldTypeCommentRequired
PeriodStartDateIn format YYYYmmDDRequired
PeriodEndDateIn format YYYYmmDD. Period length max 3 months!Required
UnPaidBooltrue/false

Successful Result v1

json
[
  {
    "PHId": "350999b0-7015-44e3-82c4-cd64b7357950",
    "BankName": "testaus",
    "CounterPartType": 2,
    "CounterPartName": "Mari Maasikas",
    "CurrencyCode": "EUR",
    "CurrencyRate": 1.0000000,
    "DocumentDate": "2019-04-13T00:00:00",
    "DocumentNo": "9",
    "Direction": 1,
    "Amount": 100.00
  },
  // ...
]
Click to see the v1 result parameters
FieldTypeComment
PIHIdGuid
BankNameStr
CounterPartTypeInt2 – customer,
3 - vendor
CounterPartNameStr
CurrencyCodeStr
CurrencyRateDecimal
DocumentDateDate
DocumentNoStr
DirectionInt1 - transactions with customers,
2 - with vendors,
3 - other income,
4 - other expenses
AmountDecimal

Successful Result v2

json
[
  {
    "PHId": "350999b0-7015-44e3-82c4-cd64b7357950",
    "BankName": "testaus",
    "CounterPartType": 2,
    "CounterPartName": "Mari Maasikas",
    "CurrencyCode": "EUR",
    "CurrencyRate": 1.0000000,
    "DocumentDate": "2019-04-13T00:00:00",
    "DocumentNo": "9",
    "Direction": 1,
    "Amount": 100.00,
    "Details": [
      {
        "PaymId": "350999b0-7015-44e3-82c4-cd64b7357950",
        "DocNo": "BL942019-PGG",
        "DocAmount": 100.00,
        "PaidAmount": 100.00,
        "CurrencyCode": "EUR",
        "CurrencyRate": 1.0000000
      }
    ]
  },
  // ...
]
Click to see the v2 result parameters
FieldTypeComment
PIHIdGuid
BankNameStr
CounterPartTypeInt2 – customer,
3- vendor
CounterPartNameStr
CurrencyCodeStr
CurrencyRateDecimal
DocumentDateDate
DocumentNoStr
DirectionInt1 - transactions with customers,
2 - with vendors,
3 - other income,
4 - other expenses
AmountDecimal
PaymAPIDetailsPaymAPIDetails object

PaymAPIDetails Object

FieldTypeComment
PaymIdGuid
DocNoStrDocument (Invoice, Offer,Order) No
DocAmountDecimal
PaidAmountDecimalAmount paid by payment
CurrencyCodeStr
CurrencyRateDecimalDocument currency rate