> For the complete documentation index, see [llms.txt](https://docs.elven.com/v3/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.elven.com/v3/bookkeeping/accounting-with-business-data/automated-bookkeeping-of-business-data.md).

# Automated bookkeeping of business data

{% hint style="info" %}
This page illustrates how to set up and manage automated bookkeeping rules in the Business Data Automation module, including adding, executing, editing and deleting rules.
{% endhint %}

## 1. Accessing Business Data Automation module

1. On the project homepage, navigate to the **Transaction** page.
2. In the **Transaction** page, select the **Automation** tab on the upper side of the page.
3. Select the **"Business Data -> Journals"** sub-tab.

<figure><img src="/files/6cSfndF6kOUI271bhJ3e" alt=""><figcaption></figcaption></figure>

## 2. Adding an Automated Bookkeeping rule

1. Click the **"+ Add Rule"** button on the upper right corner of the page.

<figure><img src="/files/d4Ip8tv4EyKifN0k5RBm" alt="" width="563"><figcaption></figcaption></figure>

2. Enter a name for the rule.
3. Select the integration type for the business data.
4. Configure the conditions for which the business data will be filtered and processed based on.
5. Select the type of journal entries to create for business data that meets the configured conditions.
6. Input the value computations for the required journal entries; for currency, auxiliary accounting fields, etc. You can select specific columns from the business data. For numerical values, you can either select a column or input a formula.

<figure><img src="/files/dK3NHnwcYPqF6y3kFO1c" alt=""><figcaption></figcaption></figure>

7. Save the automated bookkeeping rule.

## &#x20;3. Executing the Automated bookkeeping rules

1. Click the **"Manually execute all rules"** at the upper right corner of page to execute all rules.
2. You can also click the **"play" icon** beside each rule to execute that individual rule.

<figure><img src="/files/fMtkN1XQUBadNZxzAI9N" alt=""><figcaption></figcaption></figure>

3. Once the journals have been verified and confirmed on the Ledger page, click on the **Post to Ledger** button on the upper right corner of the page.

<figure><img src="/files/CJ8lKWcvsahFiBzs4XE8" alt=""><figcaption></figcaption></figure>

## 4. Updating Automated Bookkeeping rules

1. Click on the **"pencil" icon** next to the rule to open the Edit Rule window.
2. After updating the rule, re-run it to generate new journal entries replacing the original existing journal entries.

## 5. Deleting Automated Bookkeeping rules

1. Click on the **"thrashcan" icon** next to the rule to trigger deletion
2. Deleting the rule will not delete the journal entries that were generated based on this rule.&#x20;


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.elven.com/v3/bookkeeping/accounting-with-business-data/automated-bookkeeping-of-business-data.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
