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",
"AddAttachment": true/false
}
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)
|
|
|
Field
Name
|
Comment
|
|
SIHId
|
|
| DepartmentCode | |
|
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
|
|
| OfferId | |
| OfferDocType | |
| OfferNo | |
| FileName | Str |
| FileContent | File in base64 |
| PerSHId | |
| ContractNo | |
InvoiceRowObject
Field
Name
|
Comment
|
ArticleCode
|
|
LocationCode
|
|
Quantity
|
|
Price
|
|
TaxName
|
|
TaxPct
|
|
AmountExclVat
|
|
AmountInclVat
|
|
VatAmount
|
|
AccountCode
|
|
DepartmentCode | |
DepartmentName
|
|
ItemCostAmount
|
|
ProfitAmount
|
|
DiscountPct
|
|
DicountAmount
|
|
Description
|
|
UOMName
|
|
FixAsset
|
|
ProjectAllocation
|
Array(CostAllocation)
|
CostCenterAllocation
|
Array(CostAllocation)
|
PaymentObject
Field
Name
|
Comment
|
PaymDate
|
|
Amount |
|
PaymentMethod | |
PaymentId | |
CostAllocationObject
Field
Name
|
Comment
|
Code
|
Code of project / cost center
|
AllocPct
|
Allocation percentage
|
AllocAmount
|
Allocation amount
|