---
title: "journal-entry/add"
method: POST
path: "/journal-entry/add"
tags: ["Journal Entry Endpoints"]
---

# journal-entry/add

`POST /journal-entry/add`

## Request

- Base URL: `https://earthnode-dev.vopay.com/api/v2`
- URL: `https://earthnode-dev.vopay.com/api/v2/journal-entry/add`
- Auth: none declared

This endpoint allows you to add journal entry into the VoPay platform. Journals do not represent real funds. They are considered offbook funds, and are designed to represent transactions that have occured outside the VoPay platform.

## Request body `application/x-www-form-urlencoded`

- object
  - `AccountID` string, required: Your account ID
  - `Key` string, required: API key for the account
  - `Signature` string, required: Hashed signature for the request
  - `Currency` string, required: 3 character currency code for the currency to mark the currency that was used for the journal entry.
  - `CreditAmount` string, required: The credit amount for the journal entry. Either one of CreditAmount or DebitAmount must be provided.
  - `DebitAmount` string, required: The debit amount for the journal entry. Either one of CreditAmount or DebitAmount must be provided.
  - `TransactionDate` string, date, required: The transaction date for the journal entry. Must be specified in YYYY-MM-DD format.
  - `FullName` string, required: Full name of the indivdual or business for whom the journal entry is being created.
  - `Status` string, required: The transaction status for the journal entry.
  - `Notes` string: An optional note to associate with the journal entry.
  - `ClientReferenceNumber` string: An optional reference number to associate with the journal entry.
  - `ClientAccountID` string, int32: The Client Account ID that the journal entry belong to.

## Response `200`

- object
  - `Success` boolean, required: True if the request was successful, false if it failed
  - `ErrorMessage` string, required: Contains a description of the error if the request failed
  - `JournalEntryID` integer, required: The unique ID of the journal entry that was just created. This ID should be saved as it is required in order to look up or edit the journal entry.

---

[API](https://skmtc.dev/vopay/apis/payment-rails.md) - [All operations](https://skmtc.dev/vopay/apis/payment-rails/llms.txt) - [OpenAPI document](https://skmtc.dev/vopay/apis/payment-rails/revisions/d6fe8969ddcf?raw)
