Get list of sales invoces

Endpoints

https://aktiva.meritaktiva.fi/api/v1/getinvoices

For multiple dimensions:

https://aktiva.meritaktiva.fi/api/v2/getinvoices

Query payload

Bare minimum when quering the list of invoices.

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

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

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