> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/xoroerp-1/accounting/journal-entry/what-is-a-journal-entry.md).

# What is a Journal Entry?

A Journal Entry is a fundamental concept in accounting and is created based on a double-entry bookkeeping system. In the double-entry system, every financial transaction affects at least two accounts, and the **total debits must always equal total credits.** This ensures accuracy and accountability in financial record-keeping.&#x20;

Journal entry is used to record all the financial transactions of a business. You can post an entry to your G/L using the Journal Entry module.

Each journal entry consists of the following elements:

* **Date of Transaction**: The date on which the transaction occurred.
* **Accounts**: The accounts that are affected by the transaction, with at least one account being debited and another credited.
* **Debit and Credit Amounts**: For each account listed, there will be corresponding debit and credit amounts that must be equal to each other to balance the books.
* **Description**: A brief explanation of the transaction for reference.

The process ensures that the accounting equation (Assets = Liabilities + Equity) is always balanced after each transaction is recorded.&#x20;

{% hint style="info" %}
*It is recommended to record all transactions promptly to maintain accurate and up-to-date financial records.*
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xorosoft.com/xoroerp-1/accounting/journal-entry/what-is-a-journal-entry.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
