Metadata-Version: 2.4
Name: nexterp-declarations
Version: 0.1.9
Summary: Romanian ANAF declarations: Pydantic schemas + Cython-compiled XML generators (proprietary)
Author-email: NextERP Romania <contact@nexterp.ro>
License: Proprietary
Project-URL: Homepage, https://www.nexterp.ro
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Office/Business :: Financial :: Accounting
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: pydantic>=2.5
Requires-Dist: lxml>=5.0
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: ruff; extra == "dev"

# nexterp-declarations

Proprietary library that generates **Romanian ANAF declaration XML** from
structured input. It ships [Pydantic v2](https://docs.pydantic.dev) schemas
as the public contract and **Cython-compiled** generators that turn those
inputs into ANAF-ready XML.

Used by the NextERP Romanian localization for Odoo, but usable from any
Python application via the per-declaration `generate(...)` entry points.

> ⚠️ **A separate license is required to generate declarations.** Installing
> this package does **not** grant the right to produce ANAF declarations. A
> declaration-generation license must be obtained from **NextERP Romania**
> (<https://www.nexterp.ro>) and is validated at runtime; without a valid,
> active license the generators will not produce output.

## Supported declarations

D100, D101, D120, D300, D390, D394, D406, and Intrastat — each versioned to
match the ANAF schema revisions.

## Install

```bash
pip install nexterp-declarations
```

Only `manylinux` wheels for CPython 3.10 / 3.11 / 3.12 (x86-64) are
published — no source distribution. Installs out of the box on any
compatible Linux Python environment.

## License

Proprietary — © NextERP Romania. Generating declarations requires a
**separate declaration-generation license obtained from NextERP Romania**,
validated at runtime. Installing the package alone does not grant the right
to generate declarations or to use it in production. See
<https://www.nexterp.ro>.
