Endpoints
Estonia: https://aktiva.merit.ee/api/v2/sendsettlement
Poland: https://program/360ksiegowosc.pl/api/v2/sendsettlement
Query Payload
Field | Type | Comment |
---|
DocDate | DateTime | |
CurrencyCode | String | If empty, then local currency |
CustLines | Array of Lines | |
VendLines | Array of Lines | |
Lines
Field | Type | Comment |
---|
CustVendName | String | |
CustVendId | Guid | |
CustVendRegNo | String | |
DocNo | String | |
Amount | Decimal | SalesInvoice, PurchaseInvoice +, CreditInvoice, Prepayment – |
The total amount of the lines must equal zero
Successful Result
Field | Type | Comment |
---|
DocumentId | Quid | |
DocumentNo | Srting | |
Example Payload
{
“DocDate”:”20240201″,
“CurrencyCode”:”EUR”,
“CustLines”:[
{“CustVendName”:”Asutus OÜ”,
“CustVendRegNo”:”12342234″,
“DocNo”:”1106″,
“Amount”:6.00
}
],
“VendLines”:[
{“CustVendName”:”Asutus OÜ”,
“CustVendRegNo”:”12342234″,
“DocNo”:”345″,
“Amount”:6.00
}
]
}