Get list of sales invoces

Endpoints

Estonia:    https://aktiva.merit.ee/api/v1/getinvoices
Poland:     https://program.360ksiegowosc.pl/api/v1/getinvoices

For multiple dimensions:

Estonia:    https://aktiva.merit.ee/api/v2/getinvoices
Poland:     https://program.360ksiegowosc.pl/api/v2/getinvoices

By Invoicenumber or Customer

Estonia: https://aktiva.merit.ee/api/v2/getinvoices2
Poland: https://program.360ksiegopwosc.pl/api/v2/getinvoices2

Query payload v1

The bare minimum when querying the list of invoices.

{ 
  Periodstart: YYYYmmdd, 
  PeriodEnd: YYYYmmdd,
  UnPaid: true 
}
FieldTypeComment
PeriodStartDateIn format yyyymmdd
PeriodEndDateIn format yyyymmdd . Period length max 3 months!
BankIdGuid

Query payload v2

FieldTypeComment
PeriodStartDate
PeriodEndDate
UnPaidBool
BankIdGuid
DateTypeInt0-Documentdate, 1- Changeddate

Query payload getinvoices2

FieldTypeComment
InvNoStr
CustNameStr
CustIdQuid

Successful result v1

SIHId
DepartmentCode
DepartmentName
ProjectCode
ProjectName
BatchInfo
InvoiceNo
DocumentDate
TransactionDate
CustomerId
CustomerName
CustomerRegNo
HComment
FComment
DueDate
CurrencyCode
CurrencyRate
TaxAmount
RoundingAmount
TotalAmount
ProfitAmount
TotalSum
UserName
ReferenceNo
PriceInclVat
VatRegNo
PaidAmount
EInvSent
EmailSent
Paid

Successful result v2 and getinvoices2

FieldTypeComment
SIHIdGuid
DepartmentCodeStr
DepartmentNameStr
Dimension1CodeStr
Dimension2CodeStr
Dimension3CodeStr
Dimension4CodeStr
Dimension5CodeStr
Dimension6CodeStr
Dimension7CodeStr
AccountingDocAccDoc
BatchInfoStr
InvoiceNoStr
DocumentDateDate
TransactionDateDate
CustomerNameStr
CustomerRegNoStr
CustomerIdGuid
HCommentStr
FCommentStr
DueDateDate
CurrencyCodeStr
CurrencyRateDec
TaxAmountDec
RoundingAmountDec
TotalAmountDec
ProfitAmountDec
TotalSumDec
UserNameStr
ReferenceNoStr
PriceInclVatBool
VatRegNoStr
PaidAmountDec
EInvSentBool
EmailSentDate
PaidBool
ChangedDateDate