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

# journal-entry/edit

`POST /journal-entry/edit`

## Request

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

This endpoint allows you to edit journal entry that was previously saved 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
  - `JournalEntryID` integer, required: Searches for a journal entry transaction with the specified journal entry ID. If the journal entry ID is not found in our system, an error will be thrown.
  - `Currency` string: 3 character currency code for the currency to mark the currency that was used for the journal entry. If specified, the specified journal entry will be updated with the new value.
  - `CreditAmount` string: The credit amount for the journal entry. Only one of the CreditAmount or DebitAmount can be non-zero.
  - `DebitAmount` string: The debit amount for the journal entry. Only one of the CreditAmount or DebitAmount can be non-zero.
  - `TransactionDate` string, date: The transaction date for the journal entry. Should be specified in YYYY-MM-DD format. If specified, the specified journal entry will be updated with the new value.
  - `FullName` string: Full name of the indivdual or business for whom the journal entry is being created. If specified, the specified journal entry will be updated with the new value.
  - `Status` string: The transaction status for the journal entry. If specified, the specified journal entry will be updated with the new value.
  - `Notes` string: An optional note to associate with the journal entry transaction. If specified, the specified journal entry will be updated with the new value.
  - `ClientReferenceNumber` string: An optional reference number to associate with the journal entry transaction. If specified, the specified journal entry will be updated with the new value.
  - `ClientAccountID` string, int32: The Client Account ID that the journal entry belongs to. If specified, the specified journal entry will be updated with the new value.

## 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 edited.

---

[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)
