-
-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by etobella
- Loading branch information
Showing
70 changed files
with
34,292 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
==================== | ||
Creación de Facturae | ||
==================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--spain-lightgray.png?logo=github | ||
:target: https://github.com/OCA/l10n-spain/tree/15.0/l10n_es_facturae | ||
:alt: OCA/l10n-spain | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/l10n-spain-15-0/l10n-spain-15-0-l10n_es_facturae | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/189/15.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
En virtud de la Ley 25/2013, de 27 de diciembre, de impulso de la factura | ||
electrónica y creación del registro contable de facturas en el Sector Público, | ||
desde el día 15 de enero de 2015 todas las facturas remitidas a las | ||
administraciones públicas tienen que ser electrónicas. | ||
Téngase en cuenta, no obstante, que muchas Administraciones Públicas, | ||
y entre ellas la Administración General del Estado, han hecho uso de la | ||
potestad de exonerar de esta obligación a las facturas de hasta 5.000 euros. | ||
Estas facturas electrónicas se enviarán a través de los puntos generales de | ||
entrada de facturas electrónicas de la administración correspondiente. | ||
Estos puntos generales le permitirán consultar electrónicamente el estado de | ||
tramitación de su factura, una vez remitida. El de la Administración General | ||
del Estado se denomina FACe (www.face.gob.es). | ||
En estas facturas electrónicas habrá que indicar la oficina contable, | ||
el órgano gestor y la unidad tramitadora, para que llegue correctamente | ||
a su destino. La administración le proporcionará estos datos. | ||
|
||
Informacion sobre el formato: | ||
|
||
* https://www.facturae.gob.es/formato/Versiones/Esquema_castellano_v3_2_x_06_06_2017_unificado.pdf | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Installation | ||
============ | ||
|
||
Este módulo depende del módulo *account_payment_partner* y sus | ||
dependencias, que se encuentran en https://github.com/OCA/bank-payment. | ||
|
||
Para generar el archivo XML, hace falta el módulo *report_xml* que se encuentra | ||
en https://github.com/OCA/reporting-engine. | ||
|
||
En el caso de querer firmar el formato Facturae desde Odoo, debe instalarse la | ||
última versión de xmlsig mediante el comando ´pip install xmlsig´. La versión | ||
mínima de la misma debe ser 0.1.2. | ||
|
||
Si se instalan los módulos *account_banking_mandate* o *partner_firstname*, se | ||
utilizará para el XML generado la cuenta bancaria de los mandatos o los | ||
apellidos respectivamente. | ||
|
||
Configuration | ||
============= | ||
|
||
* Es necesario ir a los modos de pago e indicar su correspondencia con los | ||
códigos de Facturae. | ||
* La dirección a la que se remite la factura de venta que queremos exportar | ||
debe estar marcada como facturae y debe tener cubiertos los datos de | ||
Oficina contable, Órgano gestor y Unidad tramitadora. | ||
* Si se desea firmar el xml generado desde Odoo, tenemos que irnos al | ||
formulario de las compañías y subir el certificado en formato .pfx y | ||
escribir la contraseña de acceso al certificado. | ||
* Actualizar los impuestos usando su clave Facturae | ||
|
||
Usage | ||
===== | ||
|
||
Desde el botón "Más" del formulario de factura, ejecutamos el asistente | ||
denominado "Crear fichero Facturae" | ||
Podremos visualizar automáticamente campos extra de facturación electrónica si | ||
el cliente es de facturación electrónica. Estos campos se podrán editar a nivel | ||
de factura o de línea. En el caso de línea, aparecera un botón con un pop-up | ||
con todo el detalle que podemos editar. | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
* No está soportada la exportación de facturas rectificativas. | ||
Fallan las series. | ||
* El certificado y la contraseña de acceso al certificado no se guardan | ||
cifrados en la base de datos. | ||
* Ver la posibilidad de exportar varias facturas juntas. | ||
* Las facturas con recargo de equivalencia no generan un formato correcto. | ||
* Debido a un cambio de certificados, mal hechos desde Camerfirma, se ha eliminado | ||
el cálculo automático del hash del método de firma. | ||
|
||
Changelog | ||
========= | ||
|
||
13.0.2.0.0 | ||
~~~~~~~~~~ | ||
|
||
A la hora de integrar con los diferentes sistemas, se utilizará la configuración | ||
definida en `edi`. Es decir, se gestionará con `edi.document` y componentes. | ||
|
||
Será potestad de los módulos que utilizen el antiguo `account.invoice.integration` | ||
migrarlo a su configuración respectiva. En la migración no se eliminaran las tablas | ||
antiguas para permitir la migración necesaria. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-spain/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/l10n-spain/issues/new?body=module:%20l10n_es_facturae%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* ASR-OSS | ||
* FactorLibre | ||
* Tecon | ||
* Comunitea | ||
* Tecnativa | ||
* Creu Blanca | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* ASR-OSS (http://www.asr-oss.com) | ||
* FactorLibre (http://www.factorlibre.com) | ||
* Tecon (http://www.tecon.es) | ||
* Pexego (http://www.pexego.es) | ||
* Malagatic (http://www.malagatic.es) | ||
* Comunitea (http://www.comunitea.com) | ||
* Pedro M. Baeza (http://www.tecnativa.com) | ||
* Javi Melendez <[email protected]> | ||
* Enric Tobella <[email protected]> | ||
* Adrián Gómez <[email protected]> | ||
* Eduardo de Miguel ([email protected]) | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
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. | ||
|
||
.. |maintainer-etobella| image:: https://github.com/etobella.png?size=40px | ||
:target: https://github.com/etobella | ||
:alt: etobella | ||
|
||
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: | ||
|
||
|maintainer-etobella| | ||
|
||
This module is part of the `OCA/l10n-spain <https://github.com/OCA/l10n-spain/tree/15.0/l10n_es_facturae>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
|
||
from . import reports | ||
from . import models | ||
from . import wizard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Copyright 2009 Alejandro Sanchez <[email protected]> | ||
# Copyright 2015 Ismael Calvo <[email protected]> | ||
# Copyright 2015 Tecon | ||
# Copyright 2015 Omar Castiñeira (Comunitea) | ||
# Copyright 2016-2020 Tecnativa - Pedro M. Baeza | ||
# Copyright 2022 Moduon - Eduardo de Miguel | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
"name": "Creación de Facturae", | ||
"version": "16.0.1.0.0", | ||
"author": "ASR-OSS, " | ||
"FactorLibre, " | ||
"Tecon, " | ||
"Comunitea, " | ||
"Tecnativa, " | ||
"Creu Blanca, " | ||
"Odoo Community Association (OCA)", | ||
"category": "Accounting & Finance", | ||
"website": "https://github.com/OCA/l10n-spain", | ||
"license": "AGPL-3", | ||
"depends": [ | ||
"account_payment_partner", | ||
"l10n_es_partner", | ||
"l10n_es", | ||
"base_iso3166", | ||
"base_vat", | ||
"report_xml", | ||
"report_qweb_parameter", | ||
"l10n_es_aeat", | ||
], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"data/account_tax_template.xml", | ||
"views/res_partner_view.xml", | ||
"views/res_company.xml", | ||
"views/payment_mode_view.xml", | ||
"views/account_tax_view.xml", | ||
"views/report_facturae.xml", | ||
"wizard/create_facturae_view.xml", | ||
"wizard/account_move_reversal_view.xml", | ||
"views/account_move_view.xml", | ||
"views/account_journal_view.xml", | ||
], | ||
"external_dependencies": {"python": ["pycountry", "xmlsig", "cryptography"]}, | ||
"installable": True, | ||
"maintainers": ["etobella"], | ||
} |
Oops, something went wrong.