HMRC Fraud Prevention Header Lint for Making Tax Digital (VAT and Income Tax)
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.
Finds the Gov-Client and Gov-Vendor header mistakes HMRC rejects, in your editor, offline, before you send the request.
Install
hmrc-fraud-prevention-header-lint file
Node 18+. The same 34 rules as the VS Code extension, from a terminal or CI.
Free
- Check the file you have open, or just the lines you select, against all 34 HMRC fraud prevention header rules, offline, and get the exact spelling HMRC accepts for every problem found.
--ruleslists every rule
With a licence ($29 once)
- Scans every file in the workspace, exports a CSV, JSON or HTML report, prints machine-readable output so CI can fail the build, and auto-corrects the header names that have exactly one correct spelling.
hmrc-fraud-prevention-header-lint --dir ./templates --report html --out report.html
HMRC charges a 200 pound penalty once a filer crosses the points threshold for late MTD quarterly updates, and HMRC's own header validator only grades a live request you have already sent.
Use from an AI agent (MCP)
Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:
{ "mcpServers": { "hmrc-fraud-prevention-header-lint": { "command": "hmrc-fraud-prevention-header-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
- name: HMRC Fraud Prevention Header Lint for Making Tax Digital (VAT and Income Tax)
run: pip install rulestamp-hmrc-fraud-prevention-header-lint && hmrc-fraud-prevention-header-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.
Install (PyPI)
pip install rulestamp-hmrc-fraud-prevention-header-lint
hmrc-fraud-prevention-header-lint --help
Metadata
Release files for rulestamp-hmrc-fraud-prevention-header-lint 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rulestamp_hmrc_fraud_prevention_header_lint-0.1.6.tar.gz | 15.0 kB | Without provenance | Details for rulestamp_hmrc_fraud_prevention_header_lint-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rulestamp_hmrc_fraud_prevention_header_lint-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for rulestamp_hmrc_fraud_prevention_header_lint-0.1.6-py3-none-any.whl |
Total release size: 31.8 kB
Release files / rulestamp_hmrc_fraud_prevention_header_lint-0.1.6.tar.gz
| Download URL | rulestamp_hmrc_fraud_prevention_header_lint-0.1.6.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3549c333f026c9b23e284bda539d21508d9b66e8f9211efe3efdcb5601f688d
|
|
BLAKE2b-256 checksum How to use checksums |
2064120ed1eb3cecff1d36daac9d5f70a370b70a494872023ab28f289b6584fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / rulestamp_hmrc_fraud_prevention_header_lint-0.1.6-py3-none-any.whl
| Download URL | rulestamp_hmrc_fraud_prevention_header_lint-0.1.6-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71929a3078208775167ee849e6877279a29f8bcab920bf569360b4fac5a63da6
|
|
BLAKE2b-256 checksum How to use checksums |
56b93f2813755c4f504236b8b928be72cfc1e10596b7aabd565c3b8f5c016ecc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for rulestamp-hmrc-fraud-prevention-header-lint 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.