Skip to main content
POST
/
v1
/
finance
/
accounting
/
transactions
/
bulk
Bulk save transactions
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
  }
]
'
{
  "ids": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Use HTTP Basic Authentication. Provide your email as login and PPT token as the password.

Headers

Accept
enum<string>
default:application/json
required
Available options:
application/json

Body

application/json
amount
number
required

The amount of the transaction.

date
string<date>
required

The date of the transaction.

type
string
required

Type of the transaction (e.g., income, outcome, transfer).

accountId
string | null
required

Account ID associated with the transaction.

id
string | null

Unique identifier for the transaction.

incomeDate
string<date> | null

The income date of the transaction, if different.

externalId
string | null

External identifier for the transaction.

description
string

Description of the transaction.

isRecurring
boolean

Indicates if the transaction is recurring.

isPlanned
boolean | null

Indicates if the transaction is planned.

isCoveredByClient
boolean | null

Indicates if the transaction is covered by the client.

isCompleted
boolean | null

Indicates if the transaction is completed.

isDifferentIncomeDate
boolean | null

Indicates if the income date is different from the transaction date.

recurrencePeriod
string | null

Recurrence period (e.g., WEEKLY, MONTHLY).

recurrenceEndDate
string<date> | null

End date for the recurrence.

categoryId
string | null

Category ID associated with the transaction.

counterpartyId
string | null

Counterparty ID associated with the transaction.

commitmentPartId
string | null

Commitment part ID associated with the transaction.

projectId
string | null

Project ID associated with the transaction.

projectCategoryId
string | null

Project category ID associated with the transaction.

isCommitment
boolean | null

Indicates if the transaction is a commitment.

fileId
string | null

File ID associated with the transaction.

file2Id
string | null

Second file ID associated with the transaction.

file3Id
string | null

Third file ID associated with the transaction.

tags
object[]

Tags associated with the transaction.

parts
object[]

Parts of the transaction.

destTransactionId
string | null

Destination transaction ID for transfers.

destAccountId
string | null

Destination account ID for transfers.

destAmount
number | null

Destination amount for transfers.

Response

200 - application/json

Transactions saved successfully

ids
string[]