Get sales invoice details

Endpoints

Estonia:    https://aktiva.merit.ee/api/v1/getinvoice

Finland:    https://aktiva.meritaktiva.fi/api/v1/getinvoice  

Poland:     https://program.360ksiegowosc.pl/api/v1/getinvoice   

Query Payload

{ 
   "Id":  "xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx" .
}

Successful result

The result, if not empty:

Field Name Type Comment
Header SalesHeader object  
Lines Array of Line objects  
Payments Array of Payment objects  
Allocations Project and Cost Center allocations (if existing)  

SalesHeaderObject

Field Name Comment
SIHId  
DepartmentName  
ProjectCode  
ProjectName  
BatchInfo GL transaction code and #
InvoiceNo  
 DocumentDate  
TransactionDate  
CustomerName  
HComment  
FComment  
DueDate  
CurrencyCode  
CurrencyRate  
TaxAmount VAT amount
RoundingAmount  
TotalAmount Amount wo. VAT
ProfitAmount Margin amount
TotalSum Total amount with taxes and rounding
UserName  
ReferenceNo  
PriceInclVat  
VatRegNo  

InvoiceRowObject

Field Name Comment
ArticleCode  
LocationCode  
Quantity         
Price  
TaxName  
TaxPct        
AmountExclVat  
AmountInclVat  
VatAmount  
AccountCode  
DepartmentName  
ItemCostAmount  
ProfitAmount  
DiscountPct  
DicountAmount  
Description  
UOMName       
FixAsset  
ProjectAllocation Array(CostAllocation)
CostCenterAllocation Array(CostAllocation)

PaymentObject

Field Name Comment
PaymDate  
Amount  

CostAllocationObject

Field Name Comment
Code Code of project / cost center
AllocPct Allocation percentage
AllocAmount Allocation amount