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

@lohnica/n8n-nodes-lohnica

v0.1.2

Published

n8n node for the Lohnica German payroll API: gross-to-net, net-to-gross and cost-to-net calculations plus health insurance lookup

Readme

n8n-nodes-lohnica

This is an n8n community node. It lets you run German payroll calculations with the Lohnica API in your n8n workflows.

Lohnica is a German payroll platform. This node exposes its public gross-to-net, net-to-gross and cost-to-net calculations, plus a lookup of statutory health insurance funds, using current tax tables and social security contribution rates.

n8n is a fair-code licensed workflow automation platform.

Installation Operations Credentials Compatibility Usage Resources

Installation

Follow the installation guide in the n8n community nodes documentation.

Operations

Calculation

  • Gross to Net – calculate net salary and deductions from a gross salary.
  • Net to Gross – find the gross salary that yields a desired net salary.
  • Cost to Net – derive net and gross salary from a target total employer cost.

All three take the payroll month plus the employee's tax and social security parameters (tax class, federal state, health insurance type, pension insurance, church tax, age, child allowances). Less common inputs (mini-job, midi-job, short-term employment, private health insurance amounts, tax factor, allowances) are available under Additional Fields.

Health Insurance

  • List – list statutory health insurance funds valid on a given date, including company numbers (Betriebsnummer) and supplementary contribution rates. Use the optional name filter to narrow the result. The company number returned here is the value you pass as Health Insurance Company Number in a calculation.

The Month and Date fields default to the current month / today when left empty.

Credentials

You need a Lohnica API key.

  1. Create an account and an API key at api-portal.lohnica.de. New accounts include free trial credits.
  2. In n8n, create new Lohnica API credentials and paste the key.

The key is sent as the X-API-Key header. The credential test uses a credit-free verification endpoint, so testing the connection does not consume any credits.

Compatibility

Requires n8n 1.0 or later. The node is declarative and has no runtime dependencies.

Usage

The node is also available as an AI agent tool (usableAsTool), so an agent can be asked for a payroll calculation directly.

Each calculation returns one item with the full result (net pay, employer cost, individual tax and social security contributions). The health insurance list returns one item per fund.

Errors from the API are surfaced with their original message. If your balance is depleted, the node reports that you need to top up at api-portal.lohnica.de.

Resources