Skip to main content

JLJ Treasury — Norma 43, SEPA ISO 20022 (pain.001 / pain.008 / camt.053) & Reconciliation SDK + MCP

npm version PyPI version SDK CI License: MIT Zero Dependencies

Official zero-dependency TypeScript/Node, Python 3 SDK, and Model Context Protocol (MCP) server for JLJ Treasury API (operated by JLJ Lab on Cloudflare Workers with zero payload retention):

  • AEB Cuaderno 43 (Norma 43): Full fixed-width parser (11/22/23/24/33/88) with cent-exact mathematical balance & EOF audit.
  • SEPA Direct Debit Creditor Identifier (AT-02): ISO 7064 Mod 97-10 validator & generator (e.g. Spanish ES<check>000<NIF>).
  • SEPA Credit Transfer (pain.001.001.03 / .09 — Cuaderno 34.14): Bank-ready XML batch generator with IBAN Mod-97 checks & SEPA Latin sanitization.
  • SEPA Direct Debit (pain.008.001.02 / .08 — Cuaderno 19.14 CORE & B2B): Direct debit XML generator with mandate metadata & CtrlSum math.
  • ISO 20022 camt.053 Parser (XXE-Hardened): Normalized to the exact same BankMovement schema as Norma 43.
  • Deterministic Bank-to-Invoice Reconciliation: Transparent cent-exact matching by RF reference, invoice ID, IBAN, and NIF.

Quick Install (0 Dependencies)

# Node.js / TypeScript SDK + MCP CLI
npm install jlj-treasury

# Python 3 SDK
pip install jlj-treasury

# Instant 1-command Stdio MCP Server (no clone required)
npx -y jlj-treasury

AI Agent Integration — MCP Server (Cursor · Claude Desktop · Windsurf · Antigravity)

{
  "mcpServers": {
    "jlj-treasury": {
      "url": "https://treasury-api.specgrid-api.workers.dev/mcp",
      "headers": {
        "Authorization": "Bearer JLJ-YOUR-POLAR-KEY"
      }
    }
  }
}

Option B: Local Zero-Dependency Stdio MCP (npx -y jlj-treasury)

{
  "mcpServers": {
    "jlj-treasury": {
      "command": "npx",
      "args": ["-y", "jlj-treasury"],
      "env": {
        "JLJ_TREASURY_API_KEY": "JLJ-YOUR-POLAR-KEY"
      }
    }
  }
}

Quickstart — TypeScript / Node 20+

import { JljTreasuryClient } from 'jlj-treasury';

const client = new JljTreasuryClient({ apiKey: process.env.JLJ_TREASURY_API_KEY });
const cid = await client.generateCreditorId('ES', 'B85905495', '000');
console.log(cid);

Quickstart — Python 3

import os
from jlj_treasury import JljTreasuryClient

client = JljTreasuryClient(api_key=os.environ.get("JLJ_TREASURY_API_KEY"))
print(client.generate_creditor_id("ES", "B85905495", "000"))

Pricing & Instant API Key (Polar.sh MoR)

License

MIT License — Copyright (c) 2026 JLJ Lab.

Metadata

Release files for jlj-treasury 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jlj-treasury 1.0.0
File Size Uploaded Provenance Actions
jlj_treasury-1.0.0.tar.gz 4.6 kB Without provenance Details for jlj_treasury-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jlj-treasury 1.0.0
File Interpreter ABI Platform Actions
jlj_treasury-1.0.0-py3-none-any.whl Python 3 none any Details for jlj_treasury-1.0.0-py3-none-any.whl

Total release size: 9.5 kB

Release files / jlj_treasury-1.0.0.tar.gz

Download URL jlj_treasury-1.0.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
931d168b5d140c499d0750e7524158f86a3cc5ed20b4194cc8d80f046f79b3ea
BLAKE2b-256 checksum
How to use checksums
a94cf20e3bc9e468fd7fa87f48d59528274d9c693a19ab612f03d7e929c2036a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / jlj_treasury-1.0.0-py3-none-any.whl

Download URL jlj_treasury-1.0.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
403304ee0a1f5f3b725fe26151cd45f68bd46e8b2fe118f18b513b7ea5062b83
BLAKE2b-256 checksum
How to use checksums
309316538034fa9704171c95b02a928eefa0303c86e1cf2358fcd621ed145889
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for jlj-treasury 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page