Endpoints
Estonia: https://aktiva.merit.ee/api/v1/getinvoices
Poland: https://program.360ksiegowosc.pl/api/v1/getinvoices
For multiple dimensions:
Estonia: https://aktiva.merit.ee/api/v2/getinvoices
Poland: https://program.360ksiegowosc.pl/api/v2/getinvoices
By Invoicenumber or Customer
Estonia: https://aktiva.merit.ee/api/v2/getinvoices2
Poland: https://program.360ksiegopwosc.pl/api/v2/getinvoices2
Query payload v1
The bare minimum when querying the list of invoices.
{
Periodstart: YYYYmmdd,
PeriodEnd: YYYYmmdd,
UnPaid: true
}
| Field | Type | Comment |
|---|---|---|
| PeriodStart | Date | In format yyyymmdd |
| PeriodEnd | Date | In format yyyymmdd . Period length max 3 months! |
| UnPaid | Bool | |
| DateType | Int |
Query payload v2
| Field | Type | Comment |
|---|---|---|
| PeriodStart | Date | |
| PeriodEnd | Date | |
| UnPaid | Bool | |
| BankId | Guid | |
| DateType | Int | 0-Documentdate, 1- Changeddate |
Query payload getinvoices2
| Field | Type | Comment |
|---|---|---|
| InvNo | Str | |
| CustName | Str | |
| CustId | Quid |
Successful result v2
| Field | Type | Comment |
|---|---|---|
| SIHId | Guid | |
| DepartmentCode | Str 20 | |
| DepartmentName | Str 64 | |
| Dimension1Code | Str 20 | |
| Dimension2Code | Str 20 | |
| Dimension3Code | Str 20 | |
| Dimension4Code | Str 20 | |
| Dimension5Code | Str 20 | |
| Dimension6Code | Str 20 | |
| Dimension7Code | Str 20 | |
| AccountingDoc | Int | |
| BatchInfo | Str 20 | |
| InvoiceNo | Str 35 | |
| DocumentDate | Date | |
| TransactionDate | Date | |
| CustomerId | Guid | |
| CustomerName | Str 150 | |
| CustomerRegNo | Str 30 | |
| HComment | Str | |
| FComment | Str | |
| DueDate | Date | |
| CurrencyCode | Str 4 | |
| CurrencyRate | Dec 18.7 | |
| TaxAmount | Dec 18.2 | |
| RoundingAmount | Dec 18.2 | |
| TotalAmount | Dec 18.2 | |
| ProfitAmount | Dec 18.2 | |
| TotalSum | Dec 18.2 | |
| UserName | Str 64 | |
| ReferenceNo | Str 36 | |
| PriceInclVat | Bool | true/false |
| VatRegNo | Str 30 | |
| PaidAmount | Dec 18.2 | |
| EInvSent | Bool | true/false |
| EInvSentDate | Date | |
| EmailSent | Date | |
| Paid | Bool | true/false |
| ChangedDate | Date | |
| EInvOperator | Int | 0 = none, 1 = Omniva/Finbite, 3 = Merit, 4 = Apix, 5 = Telema |
| OfferId | Guid | |
| OfferDocType | Str | |
| OfferNo | Str 35 | |
| FileExists | Bool | true/false |
| PerSHId | Guid | |
| ContractNo | Str 35 | |
| Contact | Str 50 | |
| PerSHNo | Str 35 | |
| KsefNumber | Str36 | Ksef invoice number Poland only |
Successful result getinvoices2
| Field | Type | Comment |
|---|---|---|
| SIHId | Guid | |
| DepartmentCode | Str | |
| DepartmentName | Str | |
| Dimension1Code | Str | |
| Dimension2Code | Str | |
| Dimension3Code | Str | |
| Dimension4Code | Str | |
| Dimension5Code | Str | |
| Dimension6Code | Str | |
| Dimension7Code | Str | |
| AccountingDoc | AccDoc | |
| BatchInfo | Str | |
| InvoiceNo | Str | |
| DocumentDate | Date | |
| TransactionDate | Date | |
| CustomerName | Str | |
| CustomerRegNo | Str | |
| CustomerId | Guid | |
| HComment | Str | |
| FComment | Str | |
| DueDate | Date | |
| CurrencyCode | Str | |
| CurrencyRate | Dec | |
| TaxAmount | Dec | |
| RoundingAmount | Dec | |
| TotalAmount | Dec | |
| ProfitAmount | Dec | |
| TotalSum | Dec | |
| UserName | Str | |
| ReferenceNo | Str | |
| PriceInclVat | Bool | |
| VatRegNo | Str | |
| PaidAmount | Dec | |
| EInvSent | Bool | |
| EmailSent | Date | |
| Paid | Bool | |
| ChangedDate | Date |

