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

activepieces-beliq

v0.1.1

Published

beliq connector for Activepieces: generate, validate, parse, and convert EU-compliant e-invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS).

Readme

activepieces-beliq

An Activepieces community piece for beliq, a REST API that generates, validates, parses, and converts EU-compliant e-invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS) against authority-pinned, drift-checked rules.

One piece, four actions:

  • Generate Invoice - build a compliant document (XML or hybrid PDF/A-3) from an EN 16931 invoice object.
  • Validate Invoice - check an XML or PDF invoice against the authority-pinned rules and get a structured verdict.
  • Parse Invoice - extract a structured EN 16931 invoice object from an XML or PDF document.
  • Convert Invoice - convert a document from one EN 16931 format to another.

beliq validates and produces the compliant document. Transmission, archiving, and tax reporting stay with your access point or ERP.

Installation

In Activepieces: Settings -> My Pieces -> Install Piece, then enter the npm package name activepieces-beliq.

For a self-hosted instance you can also upload a built tarball via Platform Admin -> Setup -> Pieces.

Connection

Create a beliq connection with an API key from dashboard.beliq.eu (API Keys). The connection test calls GET /v1/me, a no-quota credential check, so validating the connection never touches your monthly quota. Leave Base URL at the default unless you run a self-hosted or staging deployment.

Document input

Validate, Parse, and Convert read the document from either a pasted Text field (the invoice XML) or a File from a previous step (XML or PDF). The Content Type auto-detects PDF vs XML from the bytes; set it explicitly to override.

Generate and Convert return the produced document as a File you can pass to the next step, alongside metadata (content type, size, and the response details: Schematron version, PDF kind, source/target format, lost elements). Generate also returns the XML text directly when the output is XML.

Anything not in the UI?

Every action has an Advanced (JSON) field that is deep-merged into the request (the body for Generate, the query for Validate / Parse / Convert), so any API option not surfaced as a control is still reachable. The format dropdowns list the formats beliq offers publicly today; see the full request and response schema at docs.beliq.eu.

Example flows

Importable flow templates live in examples/, one per use case. Import them via Flows -> Import Flow:

  • validate-xml-from-webhook.json - validate an XML invoice received on a webhook.
  • generate-xrechnung-scheduled.json - generate an XRechnung document on a schedule.
  • convert-ubl-to-zugferd.json - convert a UBL invoice from a webhook into a ZUGFeRD hybrid PDF.

Development

npm install
npm run build       # tsc -> dist/ + prepare-dist (publishable package layout)
npm run lint        # eslint
npm test            # unit tests (connector mapping, output shaping, error handling)
npm run scrub:check # fail on em-dashes in UI/customer text

The connector is a thin adapter over the published @beliq/sdk: the SDK owns the wire format, and the dropdown value-spaces come straight from its LIVE_* lists, so they stay in sync with what beliq offers publicly. The tests drive a real SDK client with an injected request recorder, so the prop-to-request mapping, response parsing, and output shaping are all covered.

Live smoke test against the real API (needs network access to api.beliq.eu and consumes quota):

BELIQ_API_KEY=... npm run test:integration

License

MIT