Get list of purchase invoices

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  
}
FieldTypeComment
PeriodStartDateIn format yyyymmdd
PeriodEndDateIn format yyyymmdd . Period length max 3 months!
BankIdGuid

Query payload v2

FieldTypeComment
PeriodStartDate
PeriodEndDate
BankIdGuid
DateTypeInt0-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

FieldTypeComment
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 Booltrue/false
InboundTime Date
Operator String
Paid Booltrue/false
ChangedDateDate