Skip to main content
Odoo Community Association

Romania - Fiscal Validation

Mature License: AGPL-3 OCA/l10n-romania Translate me on Weblate Try me on Runboat

This module allows you to bulk update partners (companies) datas from ANAF webservice. It updates the name, address, vat subjected…

Table of contents

Installation

To install this module, you need to:

  • clone the branch 17.0 of the repository https://github.com/OCA/l10n-romania

  • add the path to this repository in your configuration (addons-path)

  • update the module list

  • search for “Romania - Fiscal Validation” in your addons

  • install the module

Usage

A cron is set to update partners daily.

Configuration parameters

The bulk ANAF sync (res.partner.update_l10n_ro_vat_subjected) reads the following keys from ir.config_parameter. All keys are optional — sensible defaults are used when they are not set.

Key

Default

Purpose

l10n_ro_fiscal_validation.anaf_bulk_url

https://webservicesp.anaf.ro/AsynchWebService/api/v/ws/tva

Endpoint that receives the asynchronous bulk VAT-status request. Override only if ANAF publishes a new URL or you want to route the call through a proxy.

l10n_ro_fiscal_validation.anaf_corr

https://webservicesp.anaf.ro/AsynchWebService/api/v8/ws/tva?id=%s

Endpoint polled for the result of the bulk request. Must contain a single %s placeholder — the correlationId returned by the bulk call is interpolated into it.

l10n_ro_fiscal_validation.anaf_bulk_number

499

Maximum number of VAT numbers sent per ANAF call. Partners are split into chunks of this size before each request. ANAF currently caps a bulk request at 500 entries, so do not raise this above 499.

l10n_ro_partner_create_by_vat.anaf_api_key

(empty)

API key for ANAF endpoints that require authentication. When empty, the request is sent unauthenticated. The same key is shared with the l10n_ro_partner_create_by_vat module, so set it once and both flows use it.

l10n_ro_partner_create_by_vat.anaf_api_key_header_tag

x-api-key

Name of the HTTP header that carries the API key. Only meaningful when l10n_ro_partner_create_by_vat.anaf_api_key is set; change it if ANAF requires a different header name (e.g. Authorization).

Set these from Settings → Technical → Parameters → System Parameters or via a data file / shell, e.g.:

self.env["ir.config_parameter"].sudo().set_param(
    "l10n_ro_fiscal_validation.anaf_bulk_number", "200",
)

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • NextERP Romania

  • Forest and Biomass Romania

Contributors

Do not contact contributors directly about support or help with technical issues.

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

feketemihai

This module is part of the OCA/l10n-romania project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

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.

File details

Details for the file odoo_addon_l10n_ro_fiscal_validation-19.0.0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_l10n_ro_fiscal_validation-19.0.0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83ede33dc2c97206c65f1ddeb3b57ee44ba867db7cdd19b871146dee09e54d47
MD5 0e922c70ff3215cb9a27171431520bfd
BLAKE2b-256 b371957be709db1daa44887db90fe7b84b1673e9c059598a73ba260b6eb23df0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

19.0.0.5.0 This release

1 file

19.0.0.4.0.1

1 file

19.0.0.4.0

1 file

19.0.0.3.0

1 file

19.0.0.2.0

1 file

19.0.0.1.0

1 file

18.0.1.3.0

1 file

18.0.1.2.0

1 file

18.0.1.1.0.1

1 file

18.0.1.1.0

1 file

17.0.1.3.0

1 file

17.0.1.2.0

1 file

17.0.1.1.0.1

1 file

17.0.1.1.0

1 file

16.0.1.6.0

1 file

16.0.1.5.0

1 file

16.0.1.4.0

1 file

16.0.1.3.0

1 file

16.0.1.2.0.1

1 file

16.0.1.2.0

1 file

16.0.1.1.0

1 file

15.0.3.6.0

1 file

15.0.3.5.0

1 file

15.0.3.4.0.1

1 file

15.0.3.4.0

1 file

15.0.3.3.1

1 file

15.0.3.3.0.1

1 file

15.0.3.3.0

1 file

15.0.3.2.0

1 file

15.0.3.1.0

1 file

15.0.3.0.0

1 file

15.0.2.0.0

1 file

15.0.1.1.0

1 file

15.0.1.0.0.14

1 file

15.0.1.0.0.13

1 file

15.0.1.0.0.2

1 file

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