List of Payments

Endpoints v1

https://aktiva.meritaktiva.fi/api/v1/getpayments

Endpoints v2

https://aktiva.meritaktiva.fi/api/v2/getpayments

Query Payload

{ 
  PeriodStart: "YYYYMMdd" , 
  PeriodEnd: " YYYYMMdd" 
}
FieldTypeComment
PeriodStartDateIn format yyyymmdd
PeriodEndDateIn format yyyymmdd . Period length max 3 months!
UnPaidBooltrue/false

Successful result v1

FieldTypeComment
PIHId Guid
BankName String
CounterPartType Int 2 – customer, 3- vendor
CounterPartName String
CurrencyCode String
CurrencyRate Decimal
DocumentDate Date
DocumentNo String
Direction Int 1- transactions with customers, 2- with vendors,
3- other income, 4- other expenses
Amount Decimal

Successful result v2

FieldTypeComment
PIHId Guid
BankName String
CounterPartType Int 2 – customer, 3- vendor
CounterPartName String
CurrencyCode String
CurrencyRate Decimal
DocumentDate Date
DocumentNo String
Direction Int 1- transactions with customers, 2- with vendors,
3- other income, 4- other expenses
Amount Decimal
PaymAPIDetailsPaymAPIDetails object

PaymAPIDetails Object

FieldTypeComment
PaymIdGuid
DocNoStringDocument (Invoice, Offer,Order) No
DocAmountDecimal
PaidAmountDecimalAmount payd by payment
CurrencyCodeString
CurrencyRateDecimalDocument currency rate