Purchase Report

Endpoints

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

Query payload

FieldTypeComment
StartDateDate
EndDateDate
ReportType Int1-By Invoices, 2-By Vendors, 3-By-Articles, 4-By Fixed assets
VendChoice Int1-Vendor and Reporting entry, 2-Vendor, 3-Reporting entry
VendGrpFilter Str
VendFilter Str
ItemGrFilter Str
ItemFilter StrArray of items
DepartFilterStrArray of departments
FixAssetFilter StrArray of Fixed assets
ByEntryNo Booltrue/false

Successful Result Report type 1

FieldTypeComment
DocId Guid
InvoiceNo Str
CurrencyCode Str
CurrencyRate Decimal
VendorId Guid
VendorName 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
VendorName 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