Endpoints v1
Estonia: https://aktiva.merit.ee/api/v1/getpurchorders
Poland: https://program.360ksiegowosc.pl/api/v1/getpurchorders
Endpoints v2
Estonia: https://aktiva.merit.ee/api/v2/getpurchorders
Poland: https://program.360ksiegowosc.pl/api/v2/getpurchorders
Query payload v1
{
Periodstart: YYYYmmdd,
PeriodEnd: YYYYmmdd
}
| Field | Type | Comment |
| PeriodStart | Date | In format yyyymmdd |
| PeriodEnd | Date | In format yyyymmdd . Period length max 3 months! |
Query payload v2
| Field | Type | Comment |
|---|
| PeriodStart | Date | |
| PeriodEnd | Date | |
| DateType | Int | 0-DocumentDate, 1-Changeddate |
Successful result v2
Successful result v1
| PIHId |
| DepartmentCode |
| DepartmentName |
|
ProjectCode
|
| CostCenterCode |
| BatchInfo |
|
BillNo
|
|
DocumentDate
|
|
TransactionDate
|
|
VendorName
|
| VendorId |
| VendorRegNo |
|
DueDate
|
|
Fine
|
|
CurrencyCode
|
|
CurrencyRate
|
|
TaxAmount
|
|
RoundingAmount
|
|
TotalAmount
|
|
ProfitAmount
|
|
TotalSum
|
|
ReferenceNo
|
|
PriceInclVat
|
|
VatRegNo
|
|
PaidAmount
|
Successful result v2
| Field | Type | Comment |
|---|
| PIHId | Guid | |
| DepartmentCode | String | |
| DepartmentName | String | |
| Dimension1Code | String | |
| Dimension2Code | String | |
| Dimension3Code | String | |
| Dimension4Code | String | |
| Dimension5Code | String | |
| Dimension6Code | String | |
| Dimension7Code | String | |
| BatchInfo | String | |
| BillNo | String | |
| DocumentDate | Date | |
| TransactionDate | Date | |
| VendorId | Guid | |
| VendorName | String | |
| VendorRegNo | String | |
| DueDate | Date | |
| Fine | Decimal | |
| CurrencyCode | String | |
| CurrencyRate | Decimal | |
| TaxAmount | Decimal | |
| RoundingAmount | Decimal | |
| TotalAmount | Decimal | |
| ProfitAmount | Decimal | |
| TotalSum | Decimal | |
| ReferenceNo | String | |
| PriceInclVat | Decimal | |
| VatRegNo | String | |
| PaidAmount | Decimal | |
| FileExists | Bool | true/false |
| InboundTime | Date | |
| Operator | String | |
| Paid | Bool | true/false |
| ChangedDate | Date | |