Skip to main content

Romanian ANAF declarations: Pydantic input schemas + thin client for the NextERP generation service (proprietary)

Project description

nexterp-declarations

Proprietary for Romanian ANAF declarations generated by NextERP Romania. It ships Pydantic v2 input schemas + a small HTTP client; the actual XML generation and validation run server-side on the NextERP duk service. The mapping logic is never distributed.

Used by the NextERP Romanian localization modules for Odoo.

⚠️ A valid license is required. Generation is authorised by a signed license token (issued by NextERP Romania, https://www.nexterp.ro, and verified server-side). Installing this package does not grant the right to produce ANAF declarations.

Usage

import nexterp_declarations as nd
from nexterp_declarations.d300 import D300Input, D300Header
from nexterp_declarations.base import CompanyV2, MovesData

nd.configure_license(token, "https://duk.nexterp.ro")   # token from /check_license
inp = D300Input(header=..., company=..., period=..., data=...)
xml = nd.remote_generate("D300", inp)   # POSTs to duk; returns validated XML bytes

Supported: D100/D710, D101, D120, D300, D390, D394, D406, Intrastat — version is selected server-side from the reporting period.

Install

pip install nexterp-declarations

Pure-python wheel (py3-none-any); only dependency is pydantic. Safe to be public — it ships no generation logic, just schemas + the HTTP client (the mapping runs server-side, gated by your license).

License

Proprietary — © NextERP Romania. Generation requires a separate, runtime- verified license. See https://www.nexterp.ro.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nexterp_declarations-0.2.7-py3-none-any.whl (56.4 kB view details)

Uploaded Python 3

File details

Details for the file nexterp_declarations-0.2.7-py3-none-any.whl.

File metadata

File hashes

Hashes for nexterp_declarations-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 108ef2ca9bc14fe266ca301fcbacdfdad1c6bb16f2ac5b66b5a2a52ea545bb74
MD5 92699ee944565cdcf1704e1b55ee4f98
BLAKE2b-256 9837c3918e5c841dae3558716a639f9ce5d1bea2dc31399c8f5c5f69ad7ff4b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page