npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-lojik-accounting

v0.2.25

Published

Lojik Accounting - An n8n Community Tool for managing accounts, journal entries, and generating financial reports

Readme

Lojik Accounting

An n8n Community Tool for managing accounts, journal entries, and generating financial reports.

Features

  • Account Management: Create, update, delete, and list accounts
  • Journal Entries: Post double-entry journal entries with validation
  • Financial Reporting: Generate trial balance, ledger, balance sheet, and profit & loss reports
  • Period Management: Close accounting periods to prevent modifications

Setup

Installation

npm install n8n-nodes-lojik-accounting

Configuration in n8n

  1. In n8n, go to Settings > Community Nodes
  2. Install the n8n-nodes-lojik-accounting package
  3. Create a new credential of type "Lojik Accounting"
  4. Configure the credential with:
    • databaseFileName: Name of the SQLite database file (e.g., accounting.db)
    • displayDateFormat: Optional Luxon format string (default: yyyy-LL-dd)
    • currencySymbol: Optional currency symbol (default: )
    • timezone: Optional IANA timezone (default: UTC)

Database

The tool uses SQLite3 as its datastore. The database file is stored inside the tool package directory with the name specified in the credentials.

For development/testing, you can override the database file location using the DATABASE_FILE environment variable with an absolute path.

Actions

Account Management

  • createAccount: Add a new account to the chart of accounts
  • updateAccount: Rename or reclassify an account
  • getAccountById: Fetch one account by ID
  • listAccounts: Get all accounts with optional filtering
  • deleteAccount: Delete an account and all its descendants

Journal Entries

  • createJournalEntry: Create a journal entry with its lines
  • deleteJournalEntry: Delete a journal entry and all associated lines
  • getJournalEntryById: Retrieve a single journal entry with its lines
  • searchJournalEntries: Search journal entries by date range, reference, or description

Reporting

  • getTrialBalance: Summarize debits and credits by account
  • getLedger: All transactions for a single account
  • getBalanceSheet: Assets, Liabilities, Equity report
  • getProfitLoss: Income and Expenses report

Utility

  • closePeriod: Lock entries up to a date

Date Handling

All dates are handled using the Luxon library and stored in ISO-8601 format:

  • Journal entry dates: YYYY-MM-DD
  • Timestamps: ISO strings in UTC

Validation

The tool uses Zod for input validation:

  • Account codes must be unique
  • Journal entries must have at least 2 lines
  • Total debits must equal total credits
  • All amounts must be positive numbers

Error Handling

All actions return a consistent response format:

// Success
{
  "success": true,
  "data": { /* result data */ }
}

// Error
{
  "success": false,
  "message": "Error description",
  "details": { /* additional error details */ }
}