Sales Report

Endpoints

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

Query payload

FieldTypeComment
StartDateDate
EndDateDate
ReportTypeInt1-By Invoices, 2-By Customers, 3-By Articles, 4-By Countries, 5-By Countries, general
UserFilterStr
CustGrpFilter Str
CustFilter Str
ItemGrFilterStrArray of itrm groups
ItemFilter StrArray of items
DepartFilterStrArray of departments
FixAssetFilter Str

Successful Result Report types 1, 5,6

FieldTypeComment
DocId Guid
InvoiceNo Str
CurrencyCode Str
CurrencyRate Decimal
CustomerId Guid
CustomerName Str
RegNo Str
VatRegNo Str
InvoiceDate Date
Amount Decimal
VatAmount Decimal
RoundingAmount Decimal
TotalAmount Decimal
ExpenseClaim Bool
BatchId Guid
BatchCode Str
BatchNo Int
Ctry Str

Successful Result Report type 2

FiledTypeComment
CustomerId Guid
CurrencyCode Str
CustomerName Str
RegNo Str
VatRegNo Str
Amount Decimal
CAmount Decimal
VatAmount Decimal
RoundingAmount Decimal
TotalAmount Decimal
CVatAmount Decimal
CRoundingAmount Decimal
CTotalAmount Decimal
LnCnt Decimal
DiscAmt Decimal
CDiscAmt Decimal

Successful Result Report type 3

FieldTypeComment
ItemId Guid
ItemCode Str
ItemName Str
ItemGrId Guid
ItemGrName Str
CurrencyCode Str
Unit Str
Quantity Decimal
Price Decimal
Amount Decimal
UOMId1 Guid
UOMId2 Guid

Successful Result Report type 4

FieldTypeComment
DocId Guid
FaId Guid
InventaryNo Str
Name Str
CurrencyCode Str
Quantity Decimal
Price Decimal
Amount Decimal
RemAmount Decimal
DocNo Str
DocDate Date