Metadata-Version: 2.4
Name: rulestamp-en16931-einvoice-lint
Version: 1.0.7
Summary: Checks an invoice payload or field mapping against EN 16931 and the national CIUS of the country it detects — 29 rules, in your editor. (bundled Node.js runtime)
Author-email: Rulestamp <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/tools/en16931-einvoice-lint?ref=pypi
Project-URL: Documentation, https://getreadystack.com/tools/en16931-einvoice-lint?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: en16931,e-invoicing,xrechnung,factur-x,peppol,ksef,fatturapa,vat
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: nodejs-wheel-binaries>=20
Dynamic: license-file

# EN 16931 e-Invoice Lint

> Runs the same checker as our npm package on a Node.js runtime that pip installs for you (`nodejs-wheel-binaries`) - no system Node.js needed. Your files are checked locally.

![EN 16931 e-Invoice Lint — finds the line](https://getreadystack.com/img/promo/en16931-einvoice-lint_demo.gif)

Checks an invoice payload or field mapping against EN 16931 and the national CIUS of the country it detects — 29 rules, in your editor.

## Install

```
en16931-einvoice-lint file
```

Node 18+. The same 29 rules as the VS Code extension, from a terminal or CI.

## Free

- Check the invoice payload or field mapping open in your editor against all 29 rules, with every finding and every fix shown
- `--rules` lists every rule

## With a licence ($29 once)

- Sweep every invoice mapping in the workspace in one pass and write a dated report file you keep, commit and hand to an auditor

```
en16931-einvoice-lint --dir ./templates --report html --out report.html
```

A German tax adviser's time fee is fixed by StBVV § 13 at EUR 30-70 per half hour (EUR 60-140 an hour); one review of one invoice mapping costs more than this licence.

## Use from an AI agent (MCP)

Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:

```json
{ "mcpServers": { "en16931-einvoice-lint": { "command": "en16931-einvoice-lint", "args": ["--mcp"] } } }
```

Tools: `check_text` and `check_file` (free) · `check_dir` (licence). The agent gets every finding with the line number.

## Use in CI

```yaml
- name: EN 16931 e-Invoice Lint
  run: pip install rulestamp-en16931-einvoice-lint && en16931-einvoice-lint --dir . --ci
```


The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set `READYSTACK_LICENSE=<key>` or run `--license <key>` once.

[Get a licence](https://getreadystack.com/api/buy/cl/polar_cl_KQWFnU1FA20UW0fJUPyv4JcDLH8BLJkK3rf722j26cC)


<!-- en16931 einvoice lint -->


## Install (PyPI)

```
pip install rulestamp-en16931-einvoice-lint
en16931-einvoice-lint --help
```
