Endpoints v1
Estonia: https://aktiva.merit.ee/api/v1/getpayments
Poland: https://program.360ksiegowosc.pl/api/v1/getpayments
Endpoints v2
Estonia: https://aktiva.merit.ee/api/v2/getpayments
Poland: https://program.360ksiegowosc.pl/api/v2/getpayments
Query Payload
{
"PeriodStart": "YYYYMMdd",
"PeriodEnd": "YYYYMMdd",
"PaymentType":n,
"BankId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"DateType":0
}
| Field | Type | Comment |
|---|---|---|
| PeriodStart | Date | In the format yyyymmmdd |
| PeriodEnd | Date | Period length max 3 months! |
| PaymentType | Int | |
| BankId | Guid | |
| DateType | Int | 0- Documentdate, 1- Changeddate |
Successful result v1
| Field | Type | Comment |
|---|---|---|
| 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 | |
| CounterPartId | Guid | |
| EInvSentDate | Date |
Successful result v2
| Field | Type | Comment |
|---|---|---|
| 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 | |
| CounterPartId | Guid | |
| DocId | Guid | |
| EInvSentDate | Date | |
| PaymAPIDetails | PaymAPIDetails object | |
| ChangedDate | Date |
PaymAPIDetails Object
| Field | Type | Comment |
|---|---|---|
| PaymId | Guid | |
| DocNo | String | Document (Invoice, Offer,Order) No |
| DocAmount | Decimal | |
| PaidAmount | Decimal | Amount payd by payment |
| CurrencyCode | String | |
| CurrencyRate | Decimal | Document currency rate |
| DocId | Guid |

