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!
UnPaidBool
DateTypeInt

Query payload v2

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

Query payload getinvoices2

FieldTypeComment
InvNoStr
CustNameStr
CustIdQuid

Successful result v2

FieldTypeComment
SIHId Guid
DepartmentCodeStr 20
DepartmentName Str 64
Dimension1CodeStr 20
Dimension2CodeStr 20
Dimension3CodeStr 20
Dimension4CodeStr 20
Dimension5CodeStr 20
Dimension6CodeStr 20
Dimension7CodeStr 20
AccountingDocInt
BatchInfo Str 20
InvoiceNo Str 35
DocumentDate Date
TransactionDate Date
CustomerIdGuid
CustomerName Str 150
CustomerRegNoStr 30
HComment Str
FComment Str
DueDate Date
CurrencyCode Str 4
CurrencyRate Dec 18.7
TaxAmount Dec 18.2
RoundingAmount Dec 18.2
TotalAmount Dec 18.2
ProfitAmount Dec 18.2
TotalSum Dec 18.2
UserName Str 64
ReferenceNo Str 36
PriceInclVat Booltrue/false
VatRegNo Str 30
PaidAmount Dec 18.2
EInvSentBooltrue/false
EInvSentDateDate
EmailSentDate
PaidBooltrue/false
ChangedDateDate
EInvOperatorInt0 = none, 1 = Omniva/Finbite, 3 = Merit, 4 = Apix, 5 = Telema
OfferIdGuid
OfferDocTypeStr
OfferNoStr 35
FileExistsBooltrue/false
PerSHIdGuid
ContractNoStr 35
ContactStr 50
PerSHNoStr 35
KsefNumberStr36Ksef invoice number Poland only

Successful result 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