---
title: "Create a Journal Entry"
method: POST
path: "/v2/accounting/journalEntries"
tags: ["JournalControllerV2", "Journal Entries"]
---

# Create a Journal Entry

`POST /v2/accounting/journalEntries`

## Request

- Base URL: `https://api.railz.ai`
- URL: `https://api.railz.ai/v2/accounting/journalEntries`
- Auth: HTTP bearer

**Supported for:**

`freshbooks` `quickbooks` `xero` `oracleNetsuite` `sageBusinessCloud` `sageIntacct` `dynamicsBusinessCentral` `myob` `zohoBooks`

## Request body

- PushJournalEntriesV2Dto
  - `connectionUuid` string, required: Unique connection identifier.
  - `data` PushJournalEntriesV2, required
    - `currencyRate` number, float
    - `postedDate` string, date
    - `memo` string
    - `currency` string
    - `subsidiaryRefs` SubsidiaryRefDto[]
      - `id` string, required
    - `journalRef` BaseJournalRefDto
      - `id` string, required
    - `createdDate` string, date-time
    - `journalNumber` string
    - `lines` JournalEntryLineItemsV2[], required
      - `description` string
      - `accountRef` AccountRefDto, required
        - `id` string, required
      - `trackingCategoryRefs` BillTrackingCategoryRefDto[]
        - `id` string, required
        - `type` 'class' | 'department' | 'location' | 'unknown'
      - `entityRef` EntityRefDto
        - `type` 'customer' | 'vendor'
        - `id` string, required
      - `taxRateRef` TaxRateRefDto
        - `id` string, required
      - `debit` number, float
      - `credit` number, float
      - `id` string
    - `passThrough` object

## Response `200`

- PushJournalEntriesV2ResponseDto
  - `connectionUuid` string, required
  - `businessName` string, required
  - `serviceName` 'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'myob' | 'zohoBooks' | 'byod', required
  - `pushCommunicationId` string, required
  - `requestedOn` string, date-time, required
  - `status` 'success' | 'failed' | 'pending', required
  - `data` PushJournalEntriesV2, required
    - `currencyRate` number, float
    - `postedDate` string, date
    - `memo` string
    - `currency` string
    - `subsidiaryRefs` SubsidiaryRefDto[]
      - `id` string, required
    - `journalRef` BaseJournalRefDto
      - `id` string, required
    - `createdDate` string, date-time
    - `journalNumber` string
    - `lines` JournalEntryLineItemsV2[], required
      - `description` string
      - `accountRef` AccountRefDto, required
        - `id` string, required
      - `trackingCategoryRefs` BillTrackingCategoryRefDto[]
        - `id` string, required
        - `type` 'class' | 'department' | 'location' | 'unknown'
      - `entityRef` EntityRefDto
        - `type` 'customer' | 'vendor'
        - `id` string, required
      - `taxRateRef` TaxRateRefDto
        - `id` string, required
      - `debit` number, float
      - `credit` number, float
      - `id` string
    - `passThrough` object

## Other responses

- `400`: Bad Request Error - Thrown if fields sent via query does not follow specifications
- `401`: Unauthorized - Not logged in or log in expired
- `403`: Forbidden - Not enough permission
- `500`: Server Error

## Changes

- **2026-09-03** `1383b9a47ac9`: 1 info
  - api tag `JournalControllerV2` added
- **2026-08-10** `5cdfae3fa1fa`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/changes/v2/accounting/journalEntries/post.md)

---

[API](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api.md) - [All operations](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/revisions/1383b9a47ac9?raw)
