curl --request POST \
--url https://api.nomi.tools/v1/finance/accounting/transactions/bulk \
--header 'Accept: <accept>' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
[
{
"amount": 123,
"date": "2023-12-25",
"type": "<string>",
"accountId": "<string>",
"id": "<string>",
"incomeDate": "2023-12-25",
"externalId": "<string>",
"description": "<string>",
"isRecurring": true,
"isPlanned": true,
"isCoveredByClient": true,
"isCompleted": true,
"isDifferentIncomeDate": true,
"recurrencePeriod": "<string>",
"recurrenceEndDate": "2023-12-25",
"categoryId": "<string>",
"counterpartyId": "<string>",
"commitmentPartId": "<string>",
"projectId": "<string>",
"projectCategoryId": "<string>",
"isCommitment": true,
"fileId": "<string>",
"file2Id": "<string>",
"file3Id": "<string>",
"tags": [
{
"id": "<string>",
"Id": "<string>"
}
],
"parts": [
{
"id": "<string>",
"amount": 123,
"date": "2023-12-25",
"categoryId": "<string>",
"legalEntityId": "<string>",
"exchangeSourceId": "<string>",
"counterpartyId": "<string>",
"commitmentPartId": "<string>",
"projectId": "<string>",
"isCommitment": true
}
],
"destTransactionId": "<string>",
"destAccountId": "<string>",
"destAmount": 123
}
]
'import requests
url = "https://api.nomi.tools/v1/finance/accounting/transactions/bulk"
payload = [
{
"amount": 123,
"date": "2023-12-25",
"type": "<string>",
"accountId": "<string>",
"id": "<string>",
"incomeDate": "2023-12-25",
"externalId": "<string>",
"description": "<string>",
"isRecurring": True,
"isPlanned": True,
"isCoveredByClient": True,
"isCompleted": True,
"isDifferentIncomeDate": True,
"recurrencePeriod": "<string>",
"recurrenceEndDate": "2023-12-25",
"categoryId": "<string>",
"counterpartyId": "<string>",
"commitmentPartId": "<string>",
"projectId": "<string>",
"projectCategoryId": "<string>",
"isCommitment": True,
"fileId": "<string>",
"file2Id": "<string>",
"file3Id": "<string>",
"tags": [
{
"id": "<string>",
"Id": "<string>"
}
],
"parts": [
{
"id": "<string>",
"amount": 123,
"date": "2023-12-25",
"categoryId": "<string>",
"legalEntityId": "<string>",
"exchangeSourceId": "<string>",
"counterpartyId": "<string>",
"commitmentPartId": "<string>",
"projectId": "<string>",
"isCommitment": True
}
],
"destTransactionId": "<string>",
"destAccountId": "<string>",
"destAmount": 123
}
]
headers = {
"Accept": "<accept>",
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Accept: '<accept>',
Authorization: 'Basic <encoded-value>',
'Content-Type': 'application/json'
},
body: JSON.stringify([
{
amount: 123,
date: '2023-12-25',
type: '<string>',
accountId: '<string>',
id: '<string>',
incomeDate: '2023-12-25',
externalId: '<string>',
description: '<string>',
isRecurring: true,
isPlanned: true,
isCoveredByClient: true,
isCompleted: true,
isDifferentIncomeDate: true,
recurrencePeriod: '<string>',
recurrenceEndDate: '2023-12-25',
categoryId: '<string>',
counterpartyId: '<string>',
commitmentPartId: '<string>',
projectId: '<string>',
projectCategoryId: '<string>',
isCommitment: true,
fileId: '<string>',
file2Id: '<string>',
file3Id: '<string>',
tags: [{id: '<string>', Id: '<string>'}],
parts: [
{
id: '<string>',
amount: 123,
date: '2023-12-25',
categoryId: '<string>',
legalEntityId: '<string>',
exchangeSourceId: '<string>',
counterpartyId: '<string>',
commitmentPartId: '<string>',
projectId: '<string>',
isCommitment: true
}
],
destTransactionId: '<string>',
destAccountId: '<string>',
destAmount: 123
}
])
};
fetch('https://api.nomi.tools/v1/finance/accounting/transactions/bulk', 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.nomi.tools/v1/finance/accounting/transactions/bulk",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
[
'amount' => 123,
'date' => '2023-12-25',
'type' => '<string>',
'accountId' => '<string>',
'id' => '<string>',
'incomeDate' => '2023-12-25',
'externalId' => '<string>',
'description' => '<string>',
'isRecurring' => true,
'isPlanned' => true,
'isCoveredByClient' => true,
'isCompleted' => true,
'isDifferentIncomeDate' => true,
'recurrencePeriod' => '<string>',
'recurrenceEndDate' => '2023-12-25',
'categoryId' => '<string>',
'counterpartyId' => '<string>',
'commitmentPartId' => '<string>',
'projectId' => '<string>',
'projectCategoryId' => '<string>',
'isCommitment' => true,
'fileId' => '<string>',
'file2Id' => '<string>',
'file3Id' => '<string>',
'tags' => [
[
'id' => '<string>',
'Id' => '<string>'
]
],
'parts' => [
[
'id' => '<string>',
'amount' => 123,
'date' => '2023-12-25',
'categoryId' => '<string>',
'legalEntityId' => '<string>',
'exchangeSourceId' => '<string>',
'counterpartyId' => '<string>',
'commitmentPartId' => '<string>',
'projectId' => '<string>',
'isCommitment' => true
]
],
'destTransactionId' => '<string>',
'destAccountId' => '<string>',
'destAmount' => 123
]
]),
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$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.nomi.tools/v1/finance/accounting/transactions/bulk"
payload := strings.NewReader("[\n {\n \"amount\": 123,\n \"date\": \"2023-12-25\",\n \"type\": \"<string>\",\n \"accountId\": \"<string>\",\n \"id\": \"<string>\",\n \"incomeDate\": \"2023-12-25\",\n \"externalId\": \"<string>\",\n \"description\": \"<string>\",\n \"isRecurring\": true,\n \"isPlanned\": true,\n \"isCoveredByClient\": true,\n \"isCompleted\": true,\n \"isDifferentIncomeDate\": true,\n \"recurrencePeriod\": \"<string>\",\n \"recurrenceEndDate\": \"2023-12-25\",\n \"categoryId\": \"<string>\",\n \"counterpartyId\": \"<string>\",\n \"commitmentPartId\": \"<string>\",\n \"projectId\": \"<string>\",\n \"projectCategoryId\": \"<string>\",\n \"isCommitment\": true,\n \"fileId\": \"<string>\",\n \"file2Id\": \"<string>\",\n \"file3Id\": \"<string>\",\n \"tags\": [\n {\n \"id\": \"<string>\",\n \"Id\": \"<string>\"\n }\n ],\n \"parts\": [\n {\n \"id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"2023-12-25\",\n \"categoryId\": \"<string>\",\n \"legalEntityId\": \"<string>\",\n \"exchangeSourceId\": \"<string>\",\n \"counterpartyId\": \"<string>\",\n \"commitmentPartId\": \"<string>\",\n \"projectId\": \"<string>\",\n \"isCommitment\": true\n }\n ],\n \"destTransactionId\": \"<string>\",\n \"destAccountId\": \"<string>\",\n \"destAmount\": 123\n }\n]")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Accept", "<accept>")
req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.nomi.tools/v1/finance/accounting/transactions/bulk")
.header("Accept", "<accept>")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("[\n {\n \"amount\": 123,\n \"date\": \"2023-12-25\",\n \"type\": \"<string>\",\n \"accountId\": \"<string>\",\n \"id\": \"<string>\",\n \"incomeDate\": \"2023-12-25\",\n \"externalId\": \"<string>\",\n \"description\": \"<string>\",\n \"isRecurring\": true,\n \"isPlanned\": true,\n \"isCoveredByClient\": true,\n \"isCompleted\": true,\n \"isDifferentIncomeDate\": true,\n \"recurrencePeriod\": \"<string>\",\n \"recurrenceEndDate\": \"2023-12-25\",\n \"categoryId\": \"<string>\",\n \"counterpartyId\": \"<string>\",\n \"commitmentPartId\": \"<string>\",\n \"projectId\": \"<string>\",\n \"projectCategoryId\": \"<string>\",\n \"isCommitment\": true,\n \"fileId\": \"<string>\",\n \"file2Id\": \"<string>\",\n \"file3Id\": \"<string>\",\n \"tags\": [\n {\n \"id\": \"<string>\",\n \"Id\": \"<string>\"\n }\n ],\n \"parts\": [\n {\n \"id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"2023-12-25\",\n \"categoryId\": \"<string>\",\n \"legalEntityId\": \"<string>\",\n \"exchangeSourceId\": \"<string>\",\n \"counterpartyId\": \"<string>\",\n \"commitmentPartId\": \"<string>\",\n \"projectId\": \"<string>\",\n \"isCommitment\": true\n }\n ],\n \"destTransactionId\": \"<string>\",\n \"destAccountId\": \"<string>\",\n \"destAmount\": 123\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nomi.tools/v1/finance/accounting/transactions/bulk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Accept"] = '<accept>'
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"amount\": 123,\n \"date\": \"2023-12-25\",\n \"type\": \"<string>\",\n \"accountId\": \"<string>\",\n \"id\": \"<string>\",\n \"incomeDate\": \"2023-12-25\",\n \"externalId\": \"<string>\",\n \"description\": \"<string>\",\n \"isRecurring\": true,\n \"isPlanned\": true,\n \"isCoveredByClient\": true,\n \"isCompleted\": true,\n \"isDifferentIncomeDate\": true,\n \"recurrencePeriod\": \"<string>\",\n \"recurrenceEndDate\": \"2023-12-25\",\n \"categoryId\": \"<string>\",\n \"counterpartyId\": \"<string>\",\n \"commitmentPartId\": \"<string>\",\n \"projectId\": \"<string>\",\n \"projectCategoryId\": \"<string>\",\n \"isCommitment\": true,\n \"fileId\": \"<string>\",\n \"file2Id\": \"<string>\",\n \"file3Id\": \"<string>\",\n \"tags\": [\n {\n \"id\": \"<string>\",\n \"Id\": \"<string>\"\n }\n ],\n \"parts\": [\n {\n \"id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"2023-12-25\",\n \"categoryId\": \"<string>\",\n \"legalEntityId\": \"<string>\",\n \"exchangeSourceId\": \"<string>\",\n \"counterpartyId\": \"<string>\",\n \"commitmentPartId\": \"<string>\",\n \"projectId\": \"<string>\",\n \"isCommitment\": true\n }\n ],\n \"destTransactionId\": \"<string>\",\n \"destAccountId\": \"<string>\",\n \"destAmount\": 123\n }\n]"
response = http.request(request)
puts response.read_body{
"ids": [
"<string>"
]
}Bulk save transactions
Save multiple transactions in bulk.
curl --request POST \
--url https://api.nomi.tools/v1/finance/accounting/transactions/bulk \
--header 'Accept: <accept>' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
[
{
"amount": 123,
"date": "2023-12-25",
"type": "<string>",
"accountId": "<string>",
"id": "<string>",
"incomeDate": "2023-12-25",
"externalId": "<string>",
"description": "<string>",
"isRecurring": true,
"isPlanned": true,
"isCoveredByClient": true,
"isCompleted": true,
"isDifferentIncomeDate": true,
"recurrencePeriod": "<string>",
"recurrenceEndDate": "2023-12-25",
"categoryId": "<string>",
"counterpartyId": "<string>",
"commitmentPartId": "<string>",
"projectId": "<string>",
"projectCategoryId": "<string>",
"isCommitment": true,
"fileId": "<string>",
"file2Id": "<string>",
"file3Id": "<string>",
"tags": [
{
"id": "<string>",
"Id": "<string>"
}
],
"parts": [
{
"id": "<string>",
"amount": 123,
"date": "2023-12-25",
"categoryId": "<string>",
"legalEntityId": "<string>",
"exchangeSourceId": "<string>",
"counterpartyId": "<string>",
"commitmentPartId": "<string>",
"projectId": "<string>",
"isCommitment": true
}
],
"destTransactionId": "<string>",
"destAccountId": "<string>",
"destAmount": 123
}
]
'import requests
url = "https://api.nomi.tools/v1/finance/accounting/transactions/bulk"
payload = [
{
"amount": 123,
"date": "2023-12-25",
"type": "<string>",
"accountId": "<string>",
"id": "<string>",
"incomeDate": "2023-12-25",
"externalId": "<string>",
"description": "<string>",
"isRecurring": True,
"isPlanned": True,
"isCoveredByClient": True,
"isCompleted": True,
"isDifferentIncomeDate": True,
"recurrencePeriod": "<string>",
"recurrenceEndDate": "2023-12-25",
"categoryId": "<string>",
"counterpartyId": "<string>",
"commitmentPartId": "<string>",
"projectId": "<string>",
"projectCategoryId": "<string>",
"isCommitment": True,
"fileId": "<string>",
"file2Id": "<string>",
"file3Id": "<string>",
"tags": [
{
"id": "<string>",
"Id": "<string>"
}
],
"parts": [
{
"id": "<string>",
"amount": 123,
"date": "2023-12-25",
"categoryId": "<string>",
"legalEntityId": "<string>",
"exchangeSourceId": "<string>",
"counterpartyId": "<string>",
"commitmentPartId": "<string>",
"projectId": "<string>",
"isCommitment": True
}
],
"destTransactionId": "<string>",
"destAccountId": "<string>",
"destAmount": 123
}
]
headers = {
"Accept": "<accept>",
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Accept: '<accept>',
Authorization: 'Basic <encoded-value>',
'Content-Type': 'application/json'
},
body: JSON.stringify([
{
amount: 123,
date: '2023-12-25',
type: '<string>',
accountId: '<string>',
id: '<string>',
incomeDate: '2023-12-25',
externalId: '<string>',
description: '<string>',
isRecurring: true,
isPlanned: true,
isCoveredByClient: true,
isCompleted: true,
isDifferentIncomeDate: true,
recurrencePeriod: '<string>',
recurrenceEndDate: '2023-12-25',
categoryId: '<string>',
counterpartyId: '<string>',
commitmentPartId: '<string>',
projectId: '<string>',
projectCategoryId: '<string>',
isCommitment: true,
fileId: '<string>',
file2Id: '<string>',
file3Id: '<string>',
tags: [{id: '<string>', Id: '<string>'}],
parts: [
{
id: '<string>',
amount: 123,
date: '2023-12-25',
categoryId: '<string>',
legalEntityId: '<string>',
exchangeSourceId: '<string>',
counterpartyId: '<string>',
commitmentPartId: '<string>',
projectId: '<string>',
isCommitment: true
}
],
destTransactionId: '<string>',
destAccountId: '<string>',
destAmount: 123
}
])
};
fetch('https://api.nomi.tools/v1/finance/accounting/transactions/bulk', 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.nomi.tools/v1/finance/accounting/transactions/bulk",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
[
'amount' => 123,
'date' => '2023-12-25',
'type' => '<string>',
'accountId' => '<string>',
'id' => '<string>',
'incomeDate' => '2023-12-25',
'externalId' => '<string>',
'description' => '<string>',
'isRecurring' => true,
'isPlanned' => true,
'isCoveredByClient' => true,
'isCompleted' => true,
'isDifferentIncomeDate' => true,
'recurrencePeriod' => '<string>',
'recurrenceEndDate' => '2023-12-25',
'categoryId' => '<string>',
'counterpartyId' => '<string>',
'commitmentPartId' => '<string>',
'projectId' => '<string>',
'projectCategoryId' => '<string>',
'isCommitment' => true,
'fileId' => '<string>',
'file2Id' => '<string>',
'file3Id' => '<string>',
'tags' => [
[
'id' => '<string>',
'Id' => '<string>'
]
],
'parts' => [
[
'id' => '<string>',
'amount' => 123,
'date' => '2023-12-25',
'categoryId' => '<string>',
'legalEntityId' => '<string>',
'exchangeSourceId' => '<string>',
'counterpartyId' => '<string>',
'commitmentPartId' => '<string>',
'projectId' => '<string>',
'isCommitment' => true
]
],
'destTransactionId' => '<string>',
'destAccountId' => '<string>',
'destAmount' => 123
]
]),
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$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.nomi.tools/v1/finance/accounting/transactions/bulk"
payload := strings.NewReader("[\n {\n \"amount\": 123,\n \"date\": \"2023-12-25\",\n \"type\": \"<string>\",\n \"accountId\": \"<string>\",\n \"id\": \"<string>\",\n \"incomeDate\": \"2023-12-25\",\n \"externalId\": \"<string>\",\n \"description\": \"<string>\",\n \"isRecurring\": true,\n \"isPlanned\": true,\n \"isCoveredByClient\": true,\n \"isCompleted\": true,\n \"isDifferentIncomeDate\": true,\n \"recurrencePeriod\": \"<string>\",\n \"recurrenceEndDate\": \"2023-12-25\",\n \"categoryId\": \"<string>\",\n \"counterpartyId\": \"<string>\",\n \"commitmentPartId\": \"<string>\",\n \"projectId\": \"<string>\",\n \"projectCategoryId\": \"<string>\",\n \"isCommitment\": true,\n \"fileId\": \"<string>\",\n \"file2Id\": \"<string>\",\n \"file3Id\": \"<string>\",\n \"tags\": [\n {\n \"id\": \"<string>\",\n \"Id\": \"<string>\"\n }\n ],\n \"parts\": [\n {\n \"id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"2023-12-25\",\n \"categoryId\": \"<string>\",\n \"legalEntityId\": \"<string>\",\n \"exchangeSourceId\": \"<string>\",\n \"counterpartyId\": \"<string>\",\n \"commitmentPartId\": \"<string>\",\n \"projectId\": \"<string>\",\n \"isCommitment\": true\n }\n ],\n \"destTransactionId\": \"<string>\",\n \"destAccountId\": \"<string>\",\n \"destAmount\": 123\n }\n]")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Accept", "<accept>")
req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.nomi.tools/v1/finance/accounting/transactions/bulk")
.header("Accept", "<accept>")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("[\n {\n \"amount\": 123,\n \"date\": \"2023-12-25\",\n \"type\": \"<string>\",\n \"accountId\": \"<string>\",\n \"id\": \"<string>\",\n \"incomeDate\": \"2023-12-25\",\n \"externalId\": \"<string>\",\n \"description\": \"<string>\",\n \"isRecurring\": true,\n \"isPlanned\": true,\n \"isCoveredByClient\": true,\n \"isCompleted\": true,\n \"isDifferentIncomeDate\": true,\n \"recurrencePeriod\": \"<string>\",\n \"recurrenceEndDate\": \"2023-12-25\",\n \"categoryId\": \"<string>\",\n \"counterpartyId\": \"<string>\",\n \"commitmentPartId\": \"<string>\",\n \"projectId\": \"<string>\",\n \"projectCategoryId\": \"<string>\",\n \"isCommitment\": true,\n \"fileId\": \"<string>\",\n \"file2Id\": \"<string>\",\n \"file3Id\": \"<string>\",\n \"tags\": [\n {\n \"id\": \"<string>\",\n \"Id\": \"<string>\"\n }\n ],\n \"parts\": [\n {\n \"id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"2023-12-25\",\n \"categoryId\": \"<string>\",\n \"legalEntityId\": \"<string>\",\n \"exchangeSourceId\": \"<string>\",\n \"counterpartyId\": \"<string>\",\n \"commitmentPartId\": \"<string>\",\n \"projectId\": \"<string>\",\n \"isCommitment\": true\n }\n ],\n \"destTransactionId\": \"<string>\",\n \"destAccountId\": \"<string>\",\n \"destAmount\": 123\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nomi.tools/v1/finance/accounting/transactions/bulk")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Accept"] = '<accept>'
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"amount\": 123,\n \"date\": \"2023-12-25\",\n \"type\": \"<string>\",\n \"accountId\": \"<string>\",\n \"id\": \"<string>\",\n \"incomeDate\": \"2023-12-25\",\n \"externalId\": \"<string>\",\n \"description\": \"<string>\",\n \"isRecurring\": true,\n \"isPlanned\": true,\n \"isCoveredByClient\": true,\n \"isCompleted\": true,\n \"isDifferentIncomeDate\": true,\n \"recurrencePeriod\": \"<string>\",\n \"recurrenceEndDate\": \"2023-12-25\",\n \"categoryId\": \"<string>\",\n \"counterpartyId\": \"<string>\",\n \"commitmentPartId\": \"<string>\",\n \"projectId\": \"<string>\",\n \"projectCategoryId\": \"<string>\",\n \"isCommitment\": true,\n \"fileId\": \"<string>\",\n \"file2Id\": \"<string>\",\n \"file3Id\": \"<string>\",\n \"tags\": [\n {\n \"id\": \"<string>\",\n \"Id\": \"<string>\"\n }\n ],\n \"parts\": [\n {\n \"id\": \"<string>\",\n \"amount\": 123,\n \"date\": \"2023-12-25\",\n \"categoryId\": \"<string>\",\n \"legalEntityId\": \"<string>\",\n \"exchangeSourceId\": \"<string>\",\n \"counterpartyId\": \"<string>\",\n \"commitmentPartId\": \"<string>\",\n \"projectId\": \"<string>\",\n \"isCommitment\": true\n }\n ],\n \"destTransactionId\": \"<string>\",\n \"destAccountId\": \"<string>\",\n \"destAmount\": 123\n }\n]"
response = http.request(request)
puts response.read_body{
"ids": [
"<string>"
]
}Authorizations
Use HTTP Basic Authentication. Provide your email as login and PPT token as the password.
Headers
application/json Body
The amount of the transaction.
The date of the transaction.
Type of the transaction (e.g., income, outcome, transfer).
Account ID associated with the transaction.
Unique identifier for the transaction.
The income date of the transaction, if different.
External identifier for the transaction.
Description of the transaction.
Indicates if the transaction is recurring.
Indicates if the transaction is planned.
Indicates if the transaction is covered by the client.
Indicates if the transaction is completed.
Indicates if the income date is different from the transaction date.
Recurrence period (e.g., WEEKLY, MONTHLY).
End date for the recurrence.
Category ID associated with the transaction.
Counterparty ID associated with the transaction.
Commitment part ID associated with the transaction.
Project ID associated with the transaction.
Project category ID associated with the transaction.
Indicates if the transaction is a commitment.
File ID associated with the transaction.
Second file ID associated with the transaction.
Third file ID associated with the transaction.
Tags associated with the transaction.
Show child attributes
Show child attributes
Parts of the transaction.
Show child attributes
Show child attributes
Destination transaction ID for transfers.
Destination account ID for transfers.
Destination amount for transfers.
Response
Transactions saved successfully