# Batch posting journal per document

The module adds an action to the **Sales Journal** that posts the batch lines **one document at a time**. Each document (lines sharing the same **Document No.**) is posted separately only if it is balanced; unbalanced documents stay in the journal without preventing the other documents from being posted.


1. Open the **Sales Journal** page.
2. Select the batch to post.
3. In the posting actions, next to **Post**, choose **Post batch per document**.


1. Choose **Post batch per document**.
2. Confirm the question **Post batch per document?**.
3. The system goes through all lines of the batch, grouped by **Document No.**, and posts each balanced document.
4. When finished, only the lines of documents that could not be posted remain in the journal.


- Only lines with an **Account No.** filled in are considered.
- A document is considered balanced when the sum of the amounts of its lines without a **Bal. Account No.** is zero. Lines with a balancing account are balanced on their own and do not affect the check.
- Unbalanced documents are skipped without error messages and remain in the batch so they can be corrected.
- Each document is posted and saved independently: a problem on a later document does not undo those already posted.