Wasi Mahin All projects
Live dailyBC Journal Entry Bot · Python · Built Apr–May 2026

Journal entries in Business Central, automated

The BC Journal Entry Bot reads DocuSign journal-entry PDFs and CashNet Excel files, turns them into debit and credit lines, checks that they balance, and enters them into Microsoft Dynamics 365 Business Central without an API. I built it and maintain it in daily use at the Business Office of Associated Students, Inc., CSULB.

Up to 95%less journal-entry time
~5 sfor a simple 2-line entry, down from ~2 minutes
30–60 sfor a multi-line entry, down from 10–15 minutes
~3keystrokes per entry, down from 100–300+

The problem

A multi-line journal entry meant moving through Business Central field by field for every line: account, department, description, debit, credit, comment and object code. A long one took 10–15 minutes and 100–300+ keystrokes.

How it works

01

Read. It parses page 1 of the DocuSign PDF with pdfplumber and PyMuPDF: simple 2-line transfers, multi-line entries, the posting month and the JE number, and object codes such as A5106-0, G70-8423-0 and 6440-7103-G60-5484-0.

02

Fill the gaps. When page 1 isn't enough, it attaches the CashNet detail file (openpyxl): a positive amount is a debit, a negative or bracketed one a credit.

03

Review. An editable table lets you fix, add, delete or swap lines, with a live BALANCED or Δ indicator and debit and credit totals.

04

Post. Alt+F8 types every line into Business Central, with a configurable tab offset to match the screen layout.

Controls

  • A live balance check shows whether debits equal credits before anything posts.
  • Object codes are normalized on load (-00 becomes -0), so one code never appears in two forms.
  • Every parsed entry exports to CSV for audit or review, and parse or entry errors go to a log.

Stack

Python · customtkinter · pdfplumber · PyMuPDF · pypdf · openpyxl · pyautogui · keyboard · pyperclip · Pillow. Target system: Microsoft Dynamics 365 Business Central.

More work