cURL
curl --request PUT \
--url https://api.maesn.dev/accounting/journalEntries/{journalEntryId} \
--header 'Content-Type: multipart/form-data' \
--header 'X-ACCOUNT-KEY: <x-account-key>' \
--header 'X-API-KEY: <x-api-key>' \
--form files=@example-file \
--form filesPos=123 \
--form 'journal_entry={
"accountId": "d1bfd23-517d-4ec6-b7d4-56f86c7cf246",
"accountingPeriodId": "2021-06",
"accountingReason": "COMMERCIAL",
"currency": "EUR",
"description": "Hotel for dreamforce",
"documentId": "b5e624e5-fb9e-4836-a443-87a3820f5b48",
"exchangeRate": "1,2045",
"isProvisional": "false",
"isReversal": false,
"journalLineItems": [
{
"id": "123f57fd-13ae-47a6-8a2a-000e6ddc60d9",
"accountCode": "4034",
"accountId": "94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9",
"accountNumber": "1200",
"currency": "EUR",
"customerId": "782d89b56-13ae-47a6-8a2a-45e6ddc50d9",
"debitCreditIndicator": "DEBIT",
"description": "Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021",
"dimensions": [
{
"id": "efa82f42-fd85-11e1-a21f-0800200c9a33",
"categoryName": "CostCenter",
"code": "KD1",
"name": "Material/Waren"
}
],
"documentId": "b5e624e5-fb9e-4836-a443-87a3820f5b48",
"documentNumber": "123456789",
"exchangeRate": 1,
"supplierId": "998933b56-13ae-47a6-8a32a-45e6ddc50d9",
"taxRate": {
"id": "1895b05b-38a6-4a6a-9653-166389894350",
"code": "03",
"name": "Tax19",
"taxRatePercentage": "19"
},
"thirdPartyCode": "112233",
"totalGrossAmount": 1190,
"totalNetAmount": 1000,
"totalTaxAmount": 190
}
],
"journalCode": "60",
"journalType": "FIN",
"number ": "21900030",
"recordType": "STANDARD",
"transactionDate": "2021-01-01T00:00:00Z",
"version": "AAAAACnY3os1"
}'import requests
url = "https://api.maesn.dev/accounting/journalEntries/{journalEntryId}"
files = { "files": ("example-file", open("example-file", "rb")) }
payload = {
"filesPos": "123",
"journal_entry": "{
\"accountId\": \"d1bfd23-517d-4ec6-b7d4-56f86c7cf246\",
\"accountingPeriodId\": \"2021-06\",
\"accountingReason\": \"COMMERCIAL\",
\"currency\": \"EUR\",
\"description\": \"Hotel for dreamforce\",
\"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",
\"exchangeRate\": \"1,2045\",
\"isProvisional\": \"false\",
\"isReversal\": false,
\"journalLineItems\": [
{
\"id\": \"123f57fd-13ae-47a6-8a2a-000e6ddc60d9\",
\"accountCode\": \"4034\",
\"accountId\": \"94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9\",
\"accountNumber\": \"1200\",
\"currency\": \"EUR\",
\"customerId\": \"782d89b56-13ae-47a6-8a2a-45e6ddc50d9\",
\"debitCreditIndicator\": \"DEBIT\",
\"description\": \"Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021\",
\"dimensions\": [
{
\"id\": \"efa82f42-fd85-11e1-a21f-0800200c9a33\",
\"categoryName\": \"CostCenter\",
\"code\": \"KD1\",
\"name\": \"Material/Waren\"
}
],
\"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",
\"documentNumber\": \"123456789\",
\"exchangeRate\": 1,
\"supplierId\": \"998933b56-13ae-47a6-8a32a-45e6ddc50d9\",
\"taxRate\": {
\"id\": \"1895b05b-38a6-4a6a-9653-166389894350\",
\"code\": \"03\",
\"name\": \"Tax19\",
\"taxRatePercentage\": \"19\"
},
\"thirdPartyCode\": \"112233\",
\"totalGrossAmount\": 1190,
\"totalNetAmount\": 1000,
\"totalTaxAmount\": 190
}
],
\"journalCode\": \"60\",
\"journalType\": \"FIN\",
\"number \": \"21900030\",
\"recordType\": \"STANDARD\",
\"transactionDate\": \"2021-01-01T00:00:00Z\",
\"version\": \"AAAAACnY3os1\"
}"
}
headers = {
"X-API-KEY": "<x-api-key>",
"X-ACCOUNT-KEY": "<x-account-key>"
}
response = requests.put(url, data=payload, files=files, headers=headers)
print(response.text)const form = new FormData();
form.append('files', '<string>');
form.append('filesPos', '123');
form.append('journal_entry', '{
"accountId": "d1bfd23-517d-4ec6-b7d4-56f86c7cf246",
"accountingPeriodId": "2021-06",
"accountingReason": "COMMERCIAL",
"currency": "EUR",
"description": "Hotel for dreamforce",
"documentId": "b5e624e5-fb9e-4836-a443-87a3820f5b48",
"exchangeRate": "1,2045",
"isProvisional": "false",
"isReversal": false,
"journalLineItems": [
{
"id": "123f57fd-13ae-47a6-8a2a-000e6ddc60d9",
"accountCode": "4034",
"accountId": "94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9",
"accountNumber": "1200",
"currency": "EUR",
"customerId": "782d89b56-13ae-47a6-8a2a-45e6ddc50d9",
"debitCreditIndicator": "DEBIT",
"description": "Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021",
"dimensions": [
{
"id": "efa82f42-fd85-11e1-a21f-0800200c9a33",
"categoryName": "CostCenter",
"code": "KD1",
"name": "Material/Waren"
}
],
"documentId": "b5e624e5-fb9e-4836-a443-87a3820f5b48",
"documentNumber": "123456789",
"exchangeRate": 1,
"supplierId": "998933b56-13ae-47a6-8a32a-45e6ddc50d9",
"taxRate": {
"id": "1895b05b-38a6-4a6a-9653-166389894350",
"code": "03",
"name": "Tax19",
"taxRatePercentage": "19"
},
"thirdPartyCode": "112233",
"totalGrossAmount": 1190,
"totalNetAmount": 1000,
"totalTaxAmount": 190
}
],
"journalCode": "60",
"journalType": "FIN",
"number ": "21900030",
"recordType": "STANDARD",
"transactionDate": "2021-01-01T00:00:00Z",
"version": "AAAAACnY3os1"
}');
const options = {
method: 'PUT',
headers: {'X-API-KEY': '<x-api-key>', 'X-ACCOUNT-KEY': '<x-account-key>'}
};
options.body = form;
fetch('https://api.maesn.dev/accounting/journalEntries/{journalEntryId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.maesn.dev/accounting/journalEntries/{journalEntryId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"files\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"filesPos\"\r\n\r\n123\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"journal_entry\"\r\n\r\n{\r\n \"accountId\": \"d1bfd23-517d-4ec6-b7d4-56f86c7cf246\",\r\n \"accountingPeriodId\": \"2021-06\",\r\n \"accountingReason\": \"COMMERCIAL\",\r\n \"currency\": \"EUR\",\r\n \"description\": \"Hotel for dreamforce\",\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"exchangeRate\": \"1,2045\",\r\n \"isProvisional\": \"false\",\r\n \"isReversal\": false,\r\n \"journalLineItems\": [\r\n {\r\n \"id\": \"123f57fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountCode\": \"4034\",\r\n \"accountId\": \"94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountNumber\": \"1200\",\r\n \"currency\": \"EUR\",\r\n \"customerId\": \"782d89b56-13ae-47a6-8a2a-45e6ddc50d9\",\r\n \"debitCreditIndicator\": \"DEBIT\",\r\n \"description\": \"Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021\",\r\n \"dimensions\": [\r\n {\r\n \"id\": \"efa82f42-fd85-11e1-a21f-0800200c9a33\",\r\n \"categoryName\": \"CostCenter\",\r\n \"code\": \"KD1\",\r\n \"name\": \"Material/Waren\"\r\n }\r\n ],\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"documentNumber\": \"123456789\",\r\n \"exchangeRate\": 1,\r\n \"supplierId\": \"998933b56-13ae-47a6-8a32a-45e6ddc50d9\",\r\n \"taxRate\": {\r\n \"id\": \"1895b05b-38a6-4a6a-9653-166389894350\",\r\n \"code\": \"03\",\r\n \"name\": \"Tax19\",\r\n \"taxRatePercentage\": \"19\"\r\n },\r\n \"thirdPartyCode\": \"112233\",\r\n \"totalGrossAmount\": 1190,\r\n \"totalNetAmount\": 1000,\r\n \"totalTaxAmount\": 190\r\n }\r\n ],\r\n \"journalCode\": \"60\",\r\n \"journalType\": \"FIN\",\r\n \"number \": \"21900030\",\r\n \"recordType\": \"STANDARD\",\r\n \"transactionDate\": \"2021-01-01T00:00:00Z\",\r\n \"version\": \"AAAAACnY3os1\"\r\n}\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Content-Type: multipart/form-data",
"X-ACCOUNT-KEY: <x-account-key>",
"X-API-KEY: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.maesn.dev/accounting/journalEntries/{journalEntryId}"
payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"files\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"filesPos\"\r\n\r\n123\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"journal_entry\"\r\n\r\n{\r\n \"accountId\": \"d1bfd23-517d-4ec6-b7d4-56f86c7cf246\",\r\n \"accountingPeriodId\": \"2021-06\",\r\n \"accountingReason\": \"COMMERCIAL\",\r\n \"currency\": \"EUR\",\r\n \"description\": \"Hotel for dreamforce\",\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"exchangeRate\": \"1,2045\",\r\n \"isProvisional\": \"false\",\r\n \"isReversal\": false,\r\n \"journalLineItems\": [\r\n {\r\n \"id\": \"123f57fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountCode\": \"4034\",\r\n \"accountId\": \"94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountNumber\": \"1200\",\r\n \"currency\": \"EUR\",\r\n \"customerId\": \"782d89b56-13ae-47a6-8a2a-45e6ddc50d9\",\r\n \"debitCreditIndicator\": \"DEBIT\",\r\n \"description\": \"Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021\",\r\n \"dimensions\": [\r\n {\r\n \"id\": \"efa82f42-fd85-11e1-a21f-0800200c9a33\",\r\n \"categoryName\": \"CostCenter\",\r\n \"code\": \"KD1\",\r\n \"name\": \"Material/Waren\"\r\n }\r\n ],\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"documentNumber\": \"123456789\",\r\n \"exchangeRate\": 1,\r\n \"supplierId\": \"998933b56-13ae-47a6-8a32a-45e6ddc50d9\",\r\n \"taxRate\": {\r\n \"id\": \"1895b05b-38a6-4a6a-9653-166389894350\",\r\n \"code\": \"03\",\r\n \"name\": \"Tax19\",\r\n \"taxRatePercentage\": \"19\"\r\n },\r\n \"thirdPartyCode\": \"112233\",\r\n \"totalGrossAmount\": 1190,\r\n \"totalNetAmount\": 1000,\r\n \"totalTaxAmount\": 190\r\n }\r\n ],\r\n \"journalCode\": \"60\",\r\n \"journalType\": \"FIN\",\r\n \"number \": \"21900030\",\r\n \"recordType\": \"STANDARD\",\r\n \"transactionDate\": \"2021-01-01T00:00:00Z\",\r\n \"version\": \"AAAAACnY3os1\"\r\n}\r\n-----011000010111000001101001--")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("X-API-KEY", "<x-api-key>")
req.Header.Add("X-ACCOUNT-KEY", "<x-account-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.maesn.dev/accounting/journalEntries/{journalEntryId}")
.header("X-API-KEY", "<x-api-key>")
.header("X-ACCOUNT-KEY", "<x-account-key>")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"files\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"filesPos\"\r\n\r\n123\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"journal_entry\"\r\n\r\n{\r\n \"accountId\": \"d1bfd23-517d-4ec6-b7d4-56f86c7cf246\",\r\n \"accountingPeriodId\": \"2021-06\",\r\n \"accountingReason\": \"COMMERCIAL\",\r\n \"currency\": \"EUR\",\r\n \"description\": \"Hotel for dreamforce\",\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"exchangeRate\": \"1,2045\",\r\n \"isProvisional\": \"false\",\r\n \"isReversal\": false,\r\n \"journalLineItems\": [\r\n {\r\n \"id\": \"123f57fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountCode\": \"4034\",\r\n \"accountId\": \"94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountNumber\": \"1200\",\r\n \"currency\": \"EUR\",\r\n \"customerId\": \"782d89b56-13ae-47a6-8a2a-45e6ddc50d9\",\r\n \"debitCreditIndicator\": \"DEBIT\",\r\n \"description\": \"Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021\",\r\n \"dimensions\": [\r\n {\r\n \"id\": \"efa82f42-fd85-11e1-a21f-0800200c9a33\",\r\n \"categoryName\": \"CostCenter\",\r\n \"code\": \"KD1\",\r\n \"name\": \"Material/Waren\"\r\n }\r\n ],\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"documentNumber\": \"123456789\",\r\n \"exchangeRate\": 1,\r\n \"supplierId\": \"998933b56-13ae-47a6-8a32a-45e6ddc50d9\",\r\n \"taxRate\": {\r\n \"id\": \"1895b05b-38a6-4a6a-9653-166389894350\",\r\n \"code\": \"03\",\r\n \"name\": \"Tax19\",\r\n \"taxRatePercentage\": \"19\"\r\n },\r\n \"thirdPartyCode\": \"112233\",\r\n \"totalGrossAmount\": 1190,\r\n \"totalNetAmount\": 1000,\r\n \"totalTaxAmount\": 190\r\n }\r\n ],\r\n \"journalCode\": \"60\",\r\n \"journalType\": \"FIN\",\r\n \"number \": \"21900030\",\r\n \"recordType\": \"STANDARD\",\r\n \"transactionDate\": \"2021-01-01T00:00:00Z\",\r\n \"version\": \"AAAAACnY3os1\"\r\n}\r\n-----011000010111000001101001--")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.maesn.dev/accounting/journalEntries/{journalEntryId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["X-API-KEY"] = '<x-api-key>'
request["X-ACCOUNT-KEY"] = '<x-account-key>'
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"files\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"filesPos\"\r\n\r\n123\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"journal_entry\"\r\n\r\n{\r\n \"accountId\": \"d1bfd23-517d-4ec6-b7d4-56f86c7cf246\",\r\n \"accountingPeriodId\": \"2021-06\",\r\n \"accountingReason\": \"COMMERCIAL\",\r\n \"currency\": \"EUR\",\r\n \"description\": \"Hotel for dreamforce\",\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"exchangeRate\": \"1,2045\",\r\n \"isProvisional\": \"false\",\r\n \"isReversal\": false,\r\n \"journalLineItems\": [\r\n {\r\n \"id\": \"123f57fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountCode\": \"4034\",\r\n \"accountId\": \"94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountNumber\": \"1200\",\r\n \"currency\": \"EUR\",\r\n \"customerId\": \"782d89b56-13ae-47a6-8a2a-45e6ddc50d9\",\r\n \"debitCreditIndicator\": \"DEBIT\",\r\n \"description\": \"Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021\",\r\n \"dimensions\": [\r\n {\r\n \"id\": \"efa82f42-fd85-11e1-a21f-0800200c9a33\",\r\n \"categoryName\": \"CostCenter\",\r\n \"code\": \"KD1\",\r\n \"name\": \"Material/Waren\"\r\n }\r\n ],\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"documentNumber\": \"123456789\",\r\n \"exchangeRate\": 1,\r\n \"supplierId\": \"998933b56-13ae-47a6-8a32a-45e6ddc50d9\",\r\n \"taxRate\": {\r\n \"id\": \"1895b05b-38a6-4a6a-9653-166389894350\",\r\n \"code\": \"03\",\r\n \"name\": \"Tax19\",\r\n \"taxRatePercentage\": \"19\"\r\n },\r\n \"thirdPartyCode\": \"112233\",\r\n \"totalGrossAmount\": 1190,\r\n \"totalNetAmount\": 1000,\r\n \"totalTaxAmount\": 190\r\n }\r\n ],\r\n \"journalCode\": \"60\",\r\n \"journalType\": \"FIN\",\r\n \"number \": \"21900030\",\r\n \"recordType\": \"STANDARD\",\r\n \"transactionDate\": \"2021-01-01T00:00:00Z\",\r\n \"version\": \"AAAAACnY3os1\"\r\n}\r\n-----011000010111000001101001--"
response = http.request(request)
puts response.read_body{
"meta": {
"warnings": [
"Field not used by target system"
],
"pagination": {
"total": 125,
"perPage": 50,
"currentPage": 1,
"totalPages": 3
}
},
"data": [
{
"id": "8df2df10-0fae-40ad-9d22-f25e5ab0ba23",
"accountId": "94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9",
"accountingPeriodId": "2021-06",
"accountingReason": "COMMERCIAL",
"createdDate": "2021-01-01T00:00:00Z",
"currency": "EUR",
"description": "Hotel for dreamforce",
"documentId": "b5e624e5-fb9e-4836-a443-87a3820f5b48",
"files": [
"file1.pdf"
],
"exchangeRate": "1,2045",
"isProvisional": "false",
"isReversal": false,
"journalLineItems": [
{
"id": "123f57fd-13ae-47a6-8a2a-000e6ddc60d9",
"accountCode": "4034",
"accountId": "da33b47c-98ca-4410-9c59-5db485ecaeb0",
"accountNumber": 8200,
"createdDate ": "2021-01-01T00:00:00Z",
"currency": "EUR",
"customerId": "782d89b56-13ae-47a6-8a2a-45e6ddc50d9",
"debitCreditIndicator": "DEBIT",
"description": "Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021",
"dimensions": [
{
"id": "efa82f42-fd85-11e1-a21f-0800200c9a33",
"categoryName": "CostCenter",
"code": "KD1",
"name": "Material/Waren"
}
],
"documentId": "b5e624e5-fb9e-4836-a443-87a3820f5b48",
"documentNumber": "123456789",
"exchangeRate": 1,
"supplierId": "998933b56-13ae-47a6-8a32a-45e6ddc50d9",
"taxRate": {
"id": "1895b05b-38a6-4a6a-9653-166389894350",
"code": "03",
"name": "Tax19",
"taxRatePercentage": "19"
},
"thirdPartyCode": "112233",
"totalGrossAmount": 1190,
"totalNetAmount": 1000,
"totalTaxAmount": 190,
"updatedDate": "2021-01-01T00:00:00Z"
}
],
"journalCode": "60",
"journalType": "FIN",
"number ": "21900030",
"recordType": "STANDARD",
"transactionDate": "2021-01-01T00:00:00Z",
"updatedDate": "2021-01-01T00:00:00Z",
"version": "AAAAACnY3os1"
}
]
}Journal Entries
Update journal entry
PUT
/
accounting
/
journalEntries
/
{journalEntryId}
cURL
curl --request PUT \
--url https://api.maesn.dev/accounting/journalEntries/{journalEntryId} \
--header 'Content-Type: multipart/form-data' \
--header 'X-ACCOUNT-KEY: <x-account-key>' \
--header 'X-API-KEY: <x-api-key>' \
--form files=@example-file \
--form filesPos=123 \
--form 'journal_entry={
"accountId": "d1bfd23-517d-4ec6-b7d4-56f86c7cf246",
"accountingPeriodId": "2021-06",
"accountingReason": "COMMERCIAL",
"currency": "EUR",
"description": "Hotel for dreamforce",
"documentId": "b5e624e5-fb9e-4836-a443-87a3820f5b48",
"exchangeRate": "1,2045",
"isProvisional": "false",
"isReversal": false,
"journalLineItems": [
{
"id": "123f57fd-13ae-47a6-8a2a-000e6ddc60d9",
"accountCode": "4034",
"accountId": "94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9",
"accountNumber": "1200",
"currency": "EUR",
"customerId": "782d89b56-13ae-47a6-8a2a-45e6ddc50d9",
"debitCreditIndicator": "DEBIT",
"description": "Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021",
"dimensions": [
{
"id": "efa82f42-fd85-11e1-a21f-0800200c9a33",
"categoryName": "CostCenter",
"code": "KD1",
"name": "Material/Waren"
}
],
"documentId": "b5e624e5-fb9e-4836-a443-87a3820f5b48",
"documentNumber": "123456789",
"exchangeRate": 1,
"supplierId": "998933b56-13ae-47a6-8a32a-45e6ddc50d9",
"taxRate": {
"id": "1895b05b-38a6-4a6a-9653-166389894350",
"code": "03",
"name": "Tax19",
"taxRatePercentage": "19"
},
"thirdPartyCode": "112233",
"totalGrossAmount": 1190,
"totalNetAmount": 1000,
"totalTaxAmount": 190
}
],
"journalCode": "60",
"journalType": "FIN",
"number ": "21900030",
"recordType": "STANDARD",
"transactionDate": "2021-01-01T00:00:00Z",
"version": "AAAAACnY3os1"
}'import requests
url = "https://api.maesn.dev/accounting/journalEntries/{journalEntryId}"
files = { "files": ("example-file", open("example-file", "rb")) }
payload = {
"filesPos": "123",
"journal_entry": "{
\"accountId\": \"d1bfd23-517d-4ec6-b7d4-56f86c7cf246\",
\"accountingPeriodId\": \"2021-06\",
\"accountingReason\": \"COMMERCIAL\",
\"currency\": \"EUR\",
\"description\": \"Hotel for dreamforce\",
\"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",
\"exchangeRate\": \"1,2045\",
\"isProvisional\": \"false\",
\"isReversal\": false,
\"journalLineItems\": [
{
\"id\": \"123f57fd-13ae-47a6-8a2a-000e6ddc60d9\",
\"accountCode\": \"4034\",
\"accountId\": \"94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9\",
\"accountNumber\": \"1200\",
\"currency\": \"EUR\",
\"customerId\": \"782d89b56-13ae-47a6-8a2a-45e6ddc50d9\",
\"debitCreditIndicator\": \"DEBIT\",
\"description\": \"Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021\",
\"dimensions\": [
{
\"id\": \"efa82f42-fd85-11e1-a21f-0800200c9a33\",
\"categoryName\": \"CostCenter\",
\"code\": \"KD1\",
\"name\": \"Material/Waren\"
}
],
\"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",
\"documentNumber\": \"123456789\",
\"exchangeRate\": 1,
\"supplierId\": \"998933b56-13ae-47a6-8a32a-45e6ddc50d9\",
\"taxRate\": {
\"id\": \"1895b05b-38a6-4a6a-9653-166389894350\",
\"code\": \"03\",
\"name\": \"Tax19\",
\"taxRatePercentage\": \"19\"
},
\"thirdPartyCode\": \"112233\",
\"totalGrossAmount\": 1190,
\"totalNetAmount\": 1000,
\"totalTaxAmount\": 190
}
],
\"journalCode\": \"60\",
\"journalType\": \"FIN\",
\"number \": \"21900030\",
\"recordType\": \"STANDARD\",
\"transactionDate\": \"2021-01-01T00:00:00Z\",
\"version\": \"AAAAACnY3os1\"
}"
}
headers = {
"X-API-KEY": "<x-api-key>",
"X-ACCOUNT-KEY": "<x-account-key>"
}
response = requests.put(url, data=payload, files=files, headers=headers)
print(response.text)const form = new FormData();
form.append('files', '<string>');
form.append('filesPos', '123');
form.append('journal_entry', '{
"accountId": "d1bfd23-517d-4ec6-b7d4-56f86c7cf246",
"accountingPeriodId": "2021-06",
"accountingReason": "COMMERCIAL",
"currency": "EUR",
"description": "Hotel for dreamforce",
"documentId": "b5e624e5-fb9e-4836-a443-87a3820f5b48",
"exchangeRate": "1,2045",
"isProvisional": "false",
"isReversal": false,
"journalLineItems": [
{
"id": "123f57fd-13ae-47a6-8a2a-000e6ddc60d9",
"accountCode": "4034",
"accountId": "94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9",
"accountNumber": "1200",
"currency": "EUR",
"customerId": "782d89b56-13ae-47a6-8a2a-45e6ddc50d9",
"debitCreditIndicator": "DEBIT",
"description": "Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021",
"dimensions": [
{
"id": "efa82f42-fd85-11e1-a21f-0800200c9a33",
"categoryName": "CostCenter",
"code": "KD1",
"name": "Material/Waren"
}
],
"documentId": "b5e624e5-fb9e-4836-a443-87a3820f5b48",
"documentNumber": "123456789",
"exchangeRate": 1,
"supplierId": "998933b56-13ae-47a6-8a32a-45e6ddc50d9",
"taxRate": {
"id": "1895b05b-38a6-4a6a-9653-166389894350",
"code": "03",
"name": "Tax19",
"taxRatePercentage": "19"
},
"thirdPartyCode": "112233",
"totalGrossAmount": 1190,
"totalNetAmount": 1000,
"totalTaxAmount": 190
}
],
"journalCode": "60",
"journalType": "FIN",
"number ": "21900030",
"recordType": "STANDARD",
"transactionDate": "2021-01-01T00:00:00Z",
"version": "AAAAACnY3os1"
}');
const options = {
method: 'PUT',
headers: {'X-API-KEY': '<x-api-key>', 'X-ACCOUNT-KEY': '<x-account-key>'}
};
options.body = form;
fetch('https://api.maesn.dev/accounting/journalEntries/{journalEntryId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.maesn.dev/accounting/journalEntries/{journalEntryId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"files\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"filesPos\"\r\n\r\n123\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"journal_entry\"\r\n\r\n{\r\n \"accountId\": \"d1bfd23-517d-4ec6-b7d4-56f86c7cf246\",\r\n \"accountingPeriodId\": \"2021-06\",\r\n \"accountingReason\": \"COMMERCIAL\",\r\n \"currency\": \"EUR\",\r\n \"description\": \"Hotel for dreamforce\",\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"exchangeRate\": \"1,2045\",\r\n \"isProvisional\": \"false\",\r\n \"isReversal\": false,\r\n \"journalLineItems\": [\r\n {\r\n \"id\": \"123f57fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountCode\": \"4034\",\r\n \"accountId\": \"94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountNumber\": \"1200\",\r\n \"currency\": \"EUR\",\r\n \"customerId\": \"782d89b56-13ae-47a6-8a2a-45e6ddc50d9\",\r\n \"debitCreditIndicator\": \"DEBIT\",\r\n \"description\": \"Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021\",\r\n \"dimensions\": [\r\n {\r\n \"id\": \"efa82f42-fd85-11e1-a21f-0800200c9a33\",\r\n \"categoryName\": \"CostCenter\",\r\n \"code\": \"KD1\",\r\n \"name\": \"Material/Waren\"\r\n }\r\n ],\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"documentNumber\": \"123456789\",\r\n \"exchangeRate\": 1,\r\n \"supplierId\": \"998933b56-13ae-47a6-8a32a-45e6ddc50d9\",\r\n \"taxRate\": {\r\n \"id\": \"1895b05b-38a6-4a6a-9653-166389894350\",\r\n \"code\": \"03\",\r\n \"name\": \"Tax19\",\r\n \"taxRatePercentage\": \"19\"\r\n },\r\n \"thirdPartyCode\": \"112233\",\r\n \"totalGrossAmount\": 1190,\r\n \"totalNetAmount\": 1000,\r\n \"totalTaxAmount\": 190\r\n }\r\n ],\r\n \"journalCode\": \"60\",\r\n \"journalType\": \"FIN\",\r\n \"number \": \"21900030\",\r\n \"recordType\": \"STANDARD\",\r\n \"transactionDate\": \"2021-01-01T00:00:00Z\",\r\n \"version\": \"AAAAACnY3os1\"\r\n}\r\n-----011000010111000001101001--",
CURLOPT_HTTPHEADER => [
"Content-Type: multipart/form-data",
"X-ACCOUNT-KEY: <x-account-key>",
"X-API-KEY: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.maesn.dev/accounting/journalEntries/{journalEntryId}"
payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"files\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"filesPos\"\r\n\r\n123\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"journal_entry\"\r\n\r\n{\r\n \"accountId\": \"d1bfd23-517d-4ec6-b7d4-56f86c7cf246\",\r\n \"accountingPeriodId\": \"2021-06\",\r\n \"accountingReason\": \"COMMERCIAL\",\r\n \"currency\": \"EUR\",\r\n \"description\": \"Hotel for dreamforce\",\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"exchangeRate\": \"1,2045\",\r\n \"isProvisional\": \"false\",\r\n \"isReversal\": false,\r\n \"journalLineItems\": [\r\n {\r\n \"id\": \"123f57fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountCode\": \"4034\",\r\n \"accountId\": \"94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountNumber\": \"1200\",\r\n \"currency\": \"EUR\",\r\n \"customerId\": \"782d89b56-13ae-47a6-8a2a-45e6ddc50d9\",\r\n \"debitCreditIndicator\": \"DEBIT\",\r\n \"description\": \"Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021\",\r\n \"dimensions\": [\r\n {\r\n \"id\": \"efa82f42-fd85-11e1-a21f-0800200c9a33\",\r\n \"categoryName\": \"CostCenter\",\r\n \"code\": \"KD1\",\r\n \"name\": \"Material/Waren\"\r\n }\r\n ],\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"documentNumber\": \"123456789\",\r\n \"exchangeRate\": 1,\r\n \"supplierId\": \"998933b56-13ae-47a6-8a32a-45e6ddc50d9\",\r\n \"taxRate\": {\r\n \"id\": \"1895b05b-38a6-4a6a-9653-166389894350\",\r\n \"code\": \"03\",\r\n \"name\": \"Tax19\",\r\n \"taxRatePercentage\": \"19\"\r\n },\r\n \"thirdPartyCode\": \"112233\",\r\n \"totalGrossAmount\": 1190,\r\n \"totalNetAmount\": 1000,\r\n \"totalTaxAmount\": 190\r\n }\r\n ],\r\n \"journalCode\": \"60\",\r\n \"journalType\": \"FIN\",\r\n \"number \": \"21900030\",\r\n \"recordType\": \"STANDARD\",\r\n \"transactionDate\": \"2021-01-01T00:00:00Z\",\r\n \"version\": \"AAAAACnY3os1\"\r\n}\r\n-----011000010111000001101001--")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("X-API-KEY", "<x-api-key>")
req.Header.Add("X-ACCOUNT-KEY", "<x-account-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.maesn.dev/accounting/journalEntries/{journalEntryId}")
.header("X-API-KEY", "<x-api-key>")
.header("X-ACCOUNT-KEY", "<x-account-key>")
.body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"files\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"filesPos\"\r\n\r\n123\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"journal_entry\"\r\n\r\n{\r\n \"accountId\": \"d1bfd23-517d-4ec6-b7d4-56f86c7cf246\",\r\n \"accountingPeriodId\": \"2021-06\",\r\n \"accountingReason\": \"COMMERCIAL\",\r\n \"currency\": \"EUR\",\r\n \"description\": \"Hotel for dreamforce\",\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"exchangeRate\": \"1,2045\",\r\n \"isProvisional\": \"false\",\r\n \"isReversal\": false,\r\n \"journalLineItems\": [\r\n {\r\n \"id\": \"123f57fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountCode\": \"4034\",\r\n \"accountId\": \"94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountNumber\": \"1200\",\r\n \"currency\": \"EUR\",\r\n \"customerId\": \"782d89b56-13ae-47a6-8a2a-45e6ddc50d9\",\r\n \"debitCreditIndicator\": \"DEBIT\",\r\n \"description\": \"Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021\",\r\n \"dimensions\": [\r\n {\r\n \"id\": \"efa82f42-fd85-11e1-a21f-0800200c9a33\",\r\n \"categoryName\": \"CostCenter\",\r\n \"code\": \"KD1\",\r\n \"name\": \"Material/Waren\"\r\n }\r\n ],\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"documentNumber\": \"123456789\",\r\n \"exchangeRate\": 1,\r\n \"supplierId\": \"998933b56-13ae-47a6-8a32a-45e6ddc50d9\",\r\n \"taxRate\": {\r\n \"id\": \"1895b05b-38a6-4a6a-9653-166389894350\",\r\n \"code\": \"03\",\r\n \"name\": \"Tax19\",\r\n \"taxRatePercentage\": \"19\"\r\n },\r\n \"thirdPartyCode\": \"112233\",\r\n \"totalGrossAmount\": 1190,\r\n \"totalNetAmount\": 1000,\r\n \"totalTaxAmount\": 190\r\n }\r\n ],\r\n \"journalCode\": \"60\",\r\n \"journalType\": \"FIN\",\r\n \"number \": \"21900030\",\r\n \"recordType\": \"STANDARD\",\r\n \"transactionDate\": \"2021-01-01T00:00:00Z\",\r\n \"version\": \"AAAAACnY3os1\"\r\n}\r\n-----011000010111000001101001--")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.maesn.dev/accounting/journalEntries/{journalEntryId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["X-API-KEY"] = '<x-api-key>'
request["X-ACCOUNT-KEY"] = '<x-account-key>'
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"files\"; filename=\"example-file\"\r\nContent-Type: application/octet-stream\r\n\r\n<string>\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"filesPos\"\r\n\r\n123\r\n-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"journal_entry\"\r\n\r\n{\r\n \"accountId\": \"d1bfd23-517d-4ec6-b7d4-56f86c7cf246\",\r\n \"accountingPeriodId\": \"2021-06\",\r\n \"accountingReason\": \"COMMERCIAL\",\r\n \"currency\": \"EUR\",\r\n \"description\": \"Hotel for dreamforce\",\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"exchangeRate\": \"1,2045\",\r\n \"isProvisional\": \"false\",\r\n \"isReversal\": false,\r\n \"journalLineItems\": [\r\n {\r\n \"id\": \"123f57fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountCode\": \"4034\",\r\n \"accountId\": \"94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9\",\r\n \"accountNumber\": \"1200\",\r\n \"currency\": \"EUR\",\r\n \"customerId\": \"782d89b56-13ae-47a6-8a2a-45e6ddc50d9\",\r\n \"debitCreditIndicator\": \"DEBIT\",\r\n \"description\": \"Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021\",\r\n \"dimensions\": [\r\n {\r\n \"id\": \"efa82f42-fd85-11e1-a21f-0800200c9a33\",\r\n \"categoryName\": \"CostCenter\",\r\n \"code\": \"KD1\",\r\n \"name\": \"Material/Waren\"\r\n }\r\n ],\r\n \"documentId\": \"b5e624e5-fb9e-4836-a443-87a3820f5b48\",\r\n \"documentNumber\": \"123456789\",\r\n \"exchangeRate\": 1,\r\n \"supplierId\": \"998933b56-13ae-47a6-8a32a-45e6ddc50d9\",\r\n \"taxRate\": {\r\n \"id\": \"1895b05b-38a6-4a6a-9653-166389894350\",\r\n \"code\": \"03\",\r\n \"name\": \"Tax19\",\r\n \"taxRatePercentage\": \"19\"\r\n },\r\n \"thirdPartyCode\": \"112233\",\r\n \"totalGrossAmount\": 1190,\r\n \"totalNetAmount\": 1000,\r\n \"totalTaxAmount\": 190\r\n }\r\n ],\r\n \"journalCode\": \"60\",\r\n \"journalType\": \"FIN\",\r\n \"number \": \"21900030\",\r\n \"recordType\": \"STANDARD\",\r\n \"transactionDate\": \"2021-01-01T00:00:00Z\",\r\n \"version\": \"AAAAACnY3os1\"\r\n}\r\n-----011000010111000001101001--"
response = http.request(request)
puts response.read_body{
"meta": {
"warnings": [
"Field not used by target system"
],
"pagination": {
"total": 125,
"perPage": 50,
"currentPage": 1,
"totalPages": 3
}
},
"data": [
{
"id": "8df2df10-0fae-40ad-9d22-f25e5ab0ba23",
"accountId": "94fdb7fd-13ae-47a6-8a2a-000e6ddc60d9",
"accountingPeriodId": "2021-06",
"accountingReason": "COMMERCIAL",
"createdDate": "2021-01-01T00:00:00Z",
"currency": "EUR",
"description": "Hotel for dreamforce",
"documentId": "b5e624e5-fb9e-4836-a443-87a3820f5b48",
"files": [
"file1.pdf"
],
"exchangeRate": "1,2045",
"isProvisional": "false",
"isReversal": false,
"journalLineItems": [
{
"id": "123f57fd-13ae-47a6-8a2a-000e6ddc60d9",
"accountCode": "4034",
"accountId": "da33b47c-98ca-4410-9c59-5db485ecaeb0",
"accountNumber": 8200,
"createdDate ": "2021-01-01T00:00:00Z",
"currency": "EUR",
"customerId": "782d89b56-13ae-47a6-8a2a-45e6ddc50d9",
"debitCreditIndicator": "DEBIT",
"description": "Uitgesteld 21600001 Kantoor 01-01-2021-31-12-2021",
"dimensions": [
{
"id": "efa82f42-fd85-11e1-a21f-0800200c9a33",
"categoryName": "CostCenter",
"code": "KD1",
"name": "Material/Waren"
}
],
"documentId": "b5e624e5-fb9e-4836-a443-87a3820f5b48",
"documentNumber": "123456789",
"exchangeRate": 1,
"supplierId": "998933b56-13ae-47a6-8a32a-45e6ddc50d9",
"taxRate": {
"id": "1895b05b-38a6-4a6a-9653-166389894350",
"code": "03",
"name": "Tax19",
"taxRatePercentage": "19"
},
"thirdPartyCode": "112233",
"totalGrossAmount": 1190,
"totalNetAmount": 1000,
"totalTaxAmount": 190,
"updatedDate": "2021-01-01T00:00:00Z"
}
],
"journalCode": "60",
"journalType": "FIN",
"number ": "21900030",
"recordType": "STANDARD",
"transactionDate": "2021-01-01T00:00:00Z",
"updatedDate": "2021-01-01T00:00:00Z",
"version": "AAAAACnY3os1"
}
]
}Field support per integration

Dinero
Dinero
If you’re not using the Interactive Authentication Flow, make sure the query parameter
companyId is correctly populated.Only provisional journal entries (unbooked) can be updated.
string
required
Show properties
Show properties
boolean
Indicates whether the journal entry will be set as provisional (draft) or booked (finalized).If set to
true, the journal entry remains provisional ; if set to false, the journal entry is booked.Defaults to
true if not provided.JournalLineItem[]
If the journal line items are not provided, the existing line items associated with the journal entry will remain unchanged and will not be updated.
Show properties
Show properties
string
required
Id for the journal line.
string
required
The account number. Must be numeric.When
documentId is present, the accountNumber should be a bank accountstring
required
enum
required
Available options:
DEBIT, CREDITstring
Reference to an invoice/bill ID for payment lines. When provided, the line becomes a payment that settles the referenced document.
number
required
The net amount for the line item. Must be a positive amount.
string
Journal entry number. Must be numeric.
string
required
For date format details visits the
Standardized Data section.It is the date the accounting entry is booked into the records.string
required
file[]

fortnox
fortnox

Visma e-conomic
Visma e-conomic
Supported request fields:
string
required
Show properties
Show properties
string
required
string
string
boolean
Indicates whether the journal entry will be set as provisional (draft) or booked (finalized).If set to
true, the journal entry remains provisional ; if set to false, the journal entry is booked.Defaults to
true if not provided.string
required
Must be a valid integer.
JournalLineItem[]
required
Maximum 2 line items are allowed per journal entry. When 2 line items are provided, one must be DEBIT and one must be CREDIT with the same amount.
string
required
The voucher number.You can obtain the value by using the
GET Journal entry by IDstring
required
For date format details visit the
Standardized Data section.string
required
The object version for optimistic concurrency control.You can obtain the value by using the
GET Journal entry by IDfile[]
Allowed file types: PDF, JPG, PNG. Maximum file size: 9MB.
If a file is already attached to the updated journal entry, the new file and the existing file will be merged.
Headers
API key
Example:
"example value"
Account key
Example:
"example value"
Path Parameters
Body
multipart/form-data
Last modified on September 4, 2026
Was this page helpful?