OCA / l10n-spain

Odoo Spain Localization
https://www.aeodoo.org/estado-localizacion
GNU Affero General Public License v3.0
274 stars 517 forks source link

¿ Crear un nuevo l10n_es_boe_lookup | l10n_es_borme_lookup ? #3127

Closed rafaelbn closed 5 months ago

rafaelbn commented 1 year ago

¡Hola! ¡Hi!

I would like to create a module like @alexis-via one that take from a database all official data from Spanish companies

https://github.com/OCA/l10n-france/tree/16.0/l10n_fr_siret_lookup

This modules updates partner fields via the SIRENE database https://data.opendatasoft.com/. It uses the dataset economicref-france-sirene-v3 of opendatasoft https://public.opendatasoft.com/explore/dataset/economicref-france-sirene-v3/information/. It computes a theorical VAT number from the SIREN and then checks the validity of the VAT number on VIES (if invalid, the VAT number is discarded).

Actually we are using from @acysos https://github.com/OCA/l10n-spain/tree/16.0/l10n_es_aeat_partner_check but this module only check and take name, VAT.

Any ideas how can we improve this?

Open to hear you! 😄

ping @OCA/local-spain-maintainers

pedrobaeza commented 1 year ago

Esto ya existe: https://github.com/OCA/partner-contact/tree/14.0/partner_data_vies_populator

pedrobaeza commented 1 year ago

Fuera de eso y lo de la AEAT, no existe un registro donde obtener más información.

rafaelbn commented 1 year ago

Mi idea va más por aquí:

Ping @PabloCastellano @JaimeObregon

pedrobaeza commented 1 year ago

Pero librebor.me no es "libre", si no que la API está detrás de un muro de pago. Obviamente se puede hacer, pero una alternativa realmente abierta sería lo indicado.

yajo commented 1 year ago

Me parece que en https://sede.registradores.org/site/mercantil se puede consultar gratuitamente, pero no sé si tienen API.

JaimeObregon commented 1 year ago

¡Hola! Hace un tiempo estuve trabajando en este asunto. Os comparto lo que sé:

Esto es todo lo que deduje investigando en su día este asunto.

rafaelbn commented 1 year ago

¡ Muchas gracias @JaimeObregon !

github-actions[bot] commented 6 months ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.