Journal Entry Preparation
If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.
Important: This command assists with journal entry workflows but does not provide financial advice. All entries should be reviewed by qualified financial professionals before posting.
Prepare journal entries with proper debits, credits, supporting detail, and review documentation.
Usage
/je <type> <period>
Arguments
type — The journal entry type. One of:
ap-accrual — Accounts payable accruals for goods/services received but not yet invoiced
fixed-assets — Depreciation and amortization entries for fixed assets and intangibles
prepaid — Amortization of prepaid expenses (insurance, software, rent, etc.)
payroll — Payroll accruals including salaries, benefits, taxes, and bonus accruals
revenue — Revenue recognition entries including deferred revenue adjustments
period — The accounting period (e.g., 2024-12, 2024-Q4, 2024)
Workflow
1. Gather Source Data
If ~~erp or ~~data warehouse is connected:
- Pull the trial balance for the specified period
- Pull subledger detail for the relevant accounts
- Pull prior period entries of the same type for reference
- Identify the current GL balances for affected accounts
If no data source is connected:
Connect ~~erp or ~~data warehouse to pull GL data automatically. You can also paste trial balance data or upload a spreadsheet.
Prompt the user to provide:
- Trial balance or GL balances for affected accounts
- Subledger detail or supporting schedules
- Prior period entries for reference (optional)
2. Calculate the Entry
Based on the JE type:
AP Accrual:
- Identify goods/services received but not invoiced by period end
- Calculate accrual amounts from PO receipts, contracts, or estimates
- Debit: Expense accounts (or asset accounts for capitalizable items)
- Credit: Accrued liabilities
Fixed Assets:
- Pull the fixed asset register or depreciation schedule
- Calculate period depreciation by asset class and method (straight-line, declining balance, units of production)
- Debit: Depreciation expense (by department/cost center)
- Credit: Accumulated depreciation
Prepaid:
- Pull the prepaid amortization schedule
- Calculate the period amortization for each prepaid item
- Debit: Expense accounts (by type — insurance, software, rent, etc.)
- Credit: Prepaid expense accounts
Payroll:
- Calculate accrued salaries for days worked but not yet paid
- Calculate accrued benefits (health, retirement contributions, PTO)
- Calculate employer payroll tax accruals
- Calculate bonus accruals (if applicable, based on plan terms)
- Debit: Salary expense, benefits expense, payroll tax expense
- Credit: Accrued payroll, accrued benefits, accrued payroll taxes
Revenue:
- Review contracts and performance obligations
- Calculate revenue to recognize based on delivery/performance
- Adjust deferred revenue balances
- Debit: Deferred revenue (or accounts receivable)
- Credit: Revenue accounts (by stream/category)
3. Generate the Journal Entry
Present the entry in standard format:
Journal Entry: [Type] — [Period]
Prepared by: [User]
Date: [Period end date]
| Line | Account Code | Account Name | Debit | Credit | Department | Memo |
|------|-------------|--------------|-------|--------|------------|------|
| 1 | XXXX | [Name] | X,XXX | | [Dept] | [Detail] |
| 2 | XXXX | [Name] | | X,XXX | [Dept] | [Detail] |
| | | **Total** | X,XXX | X,XXX | | |
Supporting Detail:
- [Calculation basis and assumptions]
- [Reference to supporting schedule or documentation]
Reversal: [Yes/No — if yes, specify reversal date]
4. Review Checklist
Before finalizing, verify:
5. Output
Provide:
- The formatted journal entry
- Supporting calculations
- Comparison to prior period entry of the same type (if available)
- Any items flagged for review or follow-up
- Instructions for posting (manual entry or upload format for the user's ERP)
1---2name: journal-entry3description: Prepare journal entries with proper debits, credits, and supporting detail. Use when booking month-end accruals (AP, payroll, prepaid), recording depreciation or amortization, posting revenue recognition or deferred revenue adjustments, or documenting an entry for audit review.4---5
6# Journal Entry Preparation
7
8> If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../../CONNECTORS.md).
9
10**Important**: This command assists with journal entry workflows but does not provide financial advice. All entries should be reviewed by qualified financial professionals before posting.
11
12Prepare journal entries with proper debits, credits, supporting detail, and review documentation.
13
14## Usage
15
16```
17/je <type> <period>
18```
19
20### Arguments
21
22- `type` — The journal entry type. One of:
23 - `ap-accrual` — Accounts payable accruals for goods/services received but not yet invoiced
24 - `fixed-assets` — Depreciation and amortization entries for fixed assets and intangibles
25 - `prepaid` — Amortization of prepaid expenses (insurance, software, rent, etc.)
26 - `payroll` — Payroll accruals including salaries, benefits, taxes, and bonus accruals
27 - `revenue` — Revenue recognition entries including deferred revenue adjustments
28- `period` — The accounting period (e.g., `2024-12`, `2024-Q4`, `2024`)
29
30## Workflow
31
32### 1. Gather Source Data
33
34If ~~erp or ~~data warehouse is connected:
35- Pull the trial balance for the specified period
36- Pull subledger detail for the relevant accounts
37- Pull prior period entries of the same type for reference
38- Identify the current GL balances for affected accounts
39
40If no data source is connected:
41> Connect ~~erp or ~~data warehouse to pull GL data automatically. You can also paste trial balance data or upload a spreadsheet.
42
43Prompt the user to provide:
44- Trial balance or GL balances for affected accounts
45- Subledger detail or supporting schedules
46- Prior period entries for reference (optional)
47
48### 2. Calculate the Entry
49
50Based on the JE type:
51
52**AP Accrual:**
53- Identify goods/services received but not invoiced by period end
54- Calculate accrual amounts from PO receipts, contracts, or estimates
55- Debit: Expense accounts (or asset accounts for capitalizable items)
56- Credit: Accrued liabilities
57
58**Fixed Assets:**
59- Pull the fixed asset register or depreciation schedule
60- Calculate period depreciation by asset class and method (straight-line, declining balance, units of production)
61- Debit: Depreciation expense (by department/cost center)
62- Credit: Accumulated depreciation
63
64**Prepaid:**
65- Pull the prepaid amortization schedule
66- Calculate the period amortization for each prepaid item
67- Debit: Expense accounts (by type — insurance, software, rent, etc.)
68- Credit: Prepaid expense accounts
69
70**Payroll:**
71- Calculate accrued salaries for days worked but not yet paid
72- Calculate accrued benefits (health, retirement contributions, PTO)
73- Calculate employer payroll tax accruals
74- Calculate bonus accruals (if applicable, based on plan terms)
75- Debit: Salary expense, benefits expense, payroll tax expense
76- Credit: Accrued payroll, accrued benefits, accrued payroll taxes
77
78**Revenue:**
79- Review contracts and performance obligations
80- Calculate revenue to recognize based on delivery/performance
81- Adjust deferred revenue balances
82- Debit: Deferred revenue (or accounts receivable)
83- Credit: Revenue accounts (by stream/category)
84
85### 3. Generate the Journal Entry
86
87Present the entry in standard format:
88
89```
90Journal Entry: [Type] — [Period]
91Prepared by: [User]
92Date: [Period end date]
93
94| Line | Account Code | Account Name | Debit | Credit | Department | Memo |
95|------|-------------|--------------|-------|--------|------------|------|
96| 1 | XXXX | [Name] | X,XXX | | [Dept] | [Detail] |
97| 2 | XXXX | [Name] | | X,XXX | [Dept] | [Detail] |
98| | | **Total** | X,XXX | X,XXX | | |
99
100Supporting Detail:
101- [Calculation basis and assumptions]
102- [Reference to supporting schedule or documentation]
103
104Reversal: [Yes/No — if yes, specify reversal date]
105```
106
107### 4. Review Checklist
108
109Before finalizing, verify:
110
111- [ ] Debits equal credits
112- [ ] Correct accounting period
113- [ ] Account codes are valid and map to the right GL accounts
114- [ ] Amounts are calculated correctly with supporting detail
115- [ ] Memo/description is clear and specific enough for audit
116- [ ] Department/cost center coding is correct
117- [ ] Entry is consistent with prior period treatment
118- [ ] Reversal flag is set appropriately (accruals should auto-reverse)
119- [ ] Supporting documentation is referenced or attached
120- [ ] Entry is within the user's approval authority
121- [ ] No unusual or out-of-pattern amounts that need investigation
122
123### 5. Output
124
125Provide:
1261. The formatted journal entry
1272. Supporting calculations
1283. Comparison to prior period entry of the same type (if available)
1294. Any items flagged for review or follow-up
1305. Instructions for posting (manual entry or upload format for the user's ERP)