---
title: "Creates a Journal entry"
method: POST
path: "/api/2026-10-01/resources/finance/journal_entries"
tags: ["Finance > JournalEntry"]
---

# Creates a Journal entry

`POST /api/2026-10-01/resources/finance/journal_entries`

## Request

- Base URL: `https://api.factorialhr.com`
- URL: `https://api.factorialhr.com/api/2026-10-01/resources/finance/journal_entries`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://id.factorialhr.com/oauth/authorize`
    - Token URL: `https://id.factorialhr.com/api/oauth/token` scopes: `finance`
  - API key in header `x-api-key`

Creates a Journal entry

## Request body

- object
  - `external_id` string: External identifier for the journal entry
  - `legal_entity_id` string, required: The associated Legal Entity ID
  - `type` 'bank' | 'bill' | 'invoice' | 'credit_note' | 'merged_ledger_account' | 'reconciliation' | 'tax' | 'receipt' | 'payroll_result' | 'external': Journal entry type (e.g. bank, invoice, tax)
  - `lines` object[], required: Array of journal lines for this entry, example: [{"account_id": 9876, "debit_amount_cents": 0, "credit_amount_cents": 100, "external_id": "LINE-001"}, {"account_id": 9876, "debit_amount_cents": 100, "credit_amount_cents": 0, "external_id": "LINE-002"}]
    - `debit_amount_cents` integer, required: The debit amount in cents
    - `credit_amount_cents` integer, required: The credit amount in cents
    - `external_id` string: External identifier for the journal line
    - `account_id` string, required: ID of the associated account
  - `reference_date` string, required: Date of the associate source
  - `description` string: Description of the journal entry
  - `status` 'published' | 'reversed': Status of the journal entry (reversed, published, etc.)

## Response `201`

CREATED

- FinanceJournalEntry
  - `id` string, required: Journal entry ID
  - `number` integer, required: Incremental number assigned to the journal entry
  - `published_at` string, required: Timestamp when the journal entry was published.
  - `type` 'bank' | 'bill' | 'invoice' | 'credit_note' | 'merged_ledger_account' | 'reconciliation' | 'tax' | 'receipt' | 'payroll_result' | 'external', required: Journal entry type (e.g. bank, invoice, tax)
  - `source_id` string: Source id related with this journal entry
  - `source_type` 'bank_transaction' | 'invoice' | 'reconciliation' | 'finance_reconciliation' | 'account' | 'expense' | 'payroll_result' | 'journal_entry': Source type related with this journal entry
  - `reference_date` string, required: Date of the associate source
  - `description` string: Description of the journal entry
  - `legal_entity_id` string, required: The associated Legal Entity ID
  - `external_id` string: External identifier for the journal entry
  - `status` 'published' | 'reversed', required: The status of the journal entry (draft, published, etc.)
  - `updated_at` string, required: Timestamp when the journal entry was last updated.

## Changes

- **2026-11-03** `83ac9aa1de50`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factorialhr/apis/factorial-api/changes/api/2026-10-01/resources/finance/journal_entries/post.md)

---

[API](https://skmtc.dev/factorialhr/apis/factorial-api.md) - [All operations](https://skmtc.dev/factorialhr/apis/factorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factorialhr/apis/factorial-api/revisions/83ac9aa1de50?raw)
