Update documentation of Spanish account
This commit is contained in:
@@ -20,6 +20,7 @@ Version 6.6.0 - 2022-10-31
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
Version 6.4.0 - 2022-05-02
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Remove 61 tax code no more used in AEAT303
|
||||
* Include 120, 122, 123 and 124 new keys in model 303 format
|
||||
@@ -27,14 +28,17 @@ Version 6.4.0 - 2022-05-02
|
||||
* Remove support for Python 3.6
|
||||
|
||||
Version 6.2.0 - 2021-11-01
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add Intra-community VAT for each tax spanish VAT rate
|
||||
|
||||
Version 6.0.0 - 2021-05-03
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add VAT book report
|
||||
|
||||
Version 5.8.0 - 2020-11-02
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Report credit note on modification tax codes
|
||||
* Remove support for Python 3.5
|
||||
@@ -43,6 +47,7 @@ Version 5.8.0 - 2020-11-02
|
||||
* Add purchase service tax group
|
||||
|
||||
Version 5.6.0 - 2020-05-04
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add sale service tax group
|
||||
* Use date filter in Spanish EC Operation list
|
||||
@@ -51,24 +56,29 @@ Version 5.6.0 - 2020-05-04
|
||||
* Exclude taxes from other reports on Spanish VAT List
|
||||
|
||||
Version 5.4.0 - 2019-11-04
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Include Income Statement as part of Balance Sheet
|
||||
|
||||
Version 5.2.0 - 2019-05-06
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Add Spanish VAT list and EC Operation List
|
||||
* Add amount to compensate from previous periods in 303 report
|
||||
* Update model 303 to new format
|
||||
|
||||
Version 5.0.0 - 2018-10-01
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Allow to export tax reports as file
|
||||
* Remove support for Python 2.7
|
||||
|
||||
Version 4.8.0 - 2018-05-21
|
||||
--------------------------
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
* Remove unnecesary account and account types
|
||||
* Simplify tax and tax code definition
|
||||
|
||||
Version 4.6.0 - 2017-10-30
|
||||
--------------------------
|
||||
* Initial release
|
||||
|
||||
@@ -0,0 +1,115 @@
|
||||
******
|
||||
Design
|
||||
******
|
||||
|
||||
The *Spanish Account Module* introduces the following concepts:
|
||||
|
||||
.. _wizard-account.reporting.aeat:
|
||||
|
||||
AEAT
|
||||
====
|
||||
|
||||
The *AEAT* wizard can generate the following AEAT files:
|
||||
|
||||
* `Model 111`_
|
||||
* `Model 115`_
|
||||
* `Model 303`_
|
||||
|
||||
.. seealso::
|
||||
|
||||
The AEAT wizard can be run by opening the main menu item:
|
||||
|
||||
|Financial --> Reporting --> Print AEAT|__
|
||||
|
||||
.. |Financial --> Reporting --> Print AEAT| replace:: :menuselection:`Financial --> Reporting --> Print AEAT`
|
||||
__ https://demo.tryton.org/wizard/account.reporting.aeat
|
||||
|
||||
.. _model-account.reporting.vat_list_es:
|
||||
|
||||
Spanish VAT List
|
||||
================
|
||||
|
||||
The *Spanish VAT List* provides the :abbr:`VAT (Value Added Tax)` amount
|
||||
invoiced for a given year.
|
||||
|
||||
.. seealso::
|
||||
|
||||
The Spanish VAT List can be found by opening the main menu item:
|
||||
|
||||
|Financial --> Reporting --> Spanish VAT List|__
|
||||
|
||||
.. |Financial --> Reporting --> Spanish VAT List| replace:: :menuselection:`Financial --> Reporting --> Spanish VAT List`
|
||||
__ https://demo.tryton.org/model/account.reporting.vat_list_es;context_model=account.reporting.vat_list_es.context
|
||||
|
||||
Reports
|
||||
-------
|
||||
|
||||
.. _report-account.reporting.aeat347:
|
||||
|
||||
AEAT Model 347
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
The *AEAT Model 347* report generates the `Model 347`_ text file.
|
||||
|
||||
.. _model-account.reporting.es_ec_operation_list:
|
||||
|
||||
EC Operation List
|
||||
=================
|
||||
|
||||
The *EC Operation List* provides the details of purchases to other :abbr:`VAT
|
||||
(Value Added Tax)` registered companies in other :abbr:`EU (European Union)`
|
||||
countries.
|
||||
|
||||
.. seealso::
|
||||
|
||||
The EC Operation List can be found by opening the main menu item:
|
||||
|
||||
|Financial --> Reporting --> EC Operation List|__
|
||||
|
||||
.. |Financial --> Reporting --> EC Operation List| replace:: :menuselection:`Financial --> Reporting --> EC Operation List`
|
||||
__ https://demo.tryton.org/model/account.reporting.es_ec_operation_list;context_model=account.reporting.es_ec_operation_list.context
|
||||
|
||||
Reports
|
||||
-------
|
||||
|
||||
.. _report-account.reporting.aeat349:
|
||||
|
||||
AEAT Model 349
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
The *AEAT Model 349* report generates the `Model 349`_ text file.
|
||||
|
||||
.. _model-account.reporting.vat_book_es:
|
||||
|
||||
Spanish VAT Book
|
||||
================
|
||||
|
||||
The *Spanish VAT Book* computes the records to generate the `register book of
|
||||
issued or received invoices and capital goods
|
||||
<https://sede.agenciatributaria.gob.es/Sede/en_gb/iva/libros-registro.html>`_.
|
||||
|
||||
.. seealso::
|
||||
|
||||
The Spanish VAT Book can be found by opening the main menu item:
|
||||
|
||||
|Financial --> Reporting --> Spanish VAT Book|__
|
||||
|
||||
.. |Financial --> Reporting --> Spanish VAT Book| replace:: :menuselection:`Financial --> Reporting --> Spanish VAT Book`
|
||||
__ https://demo.tryton.org/model/account.reporting.vat_book_es;context_model=account.reporting.vat_book_es.context
|
||||
|
||||
Reports
|
||||
-------
|
||||
|
||||
.. _report-account.reporting.aeat.vat_book:
|
||||
|
||||
VAT Book
|
||||
^^^^^^^^
|
||||
|
||||
The *VAT Book* report generate a :abbr:`CSV (Comma-separated Values)` file from
|
||||
the *VAT Book* entries.
|
||||
|
||||
.. _Model 111: https://sede.agenciatributaria.gob.es/Sede/en_gb/procedimientoini/GH01.shtml
|
||||
.. _Model 115: https://sede.agenciatributaria.gob.es/Sede/en_gb/procedimientoini/GH02.shtml
|
||||
.. _Model 303: https://sede.agenciatributaria.gob.es/Sede/en_gb/procedimientoini/G414.shtml
|
||||
.. _Model 347: https://sede.agenciatributaria.gob.es/Sede/en_gb/procedimientoini/GI27.shtml
|
||||
.. _Model 349: https://sede.agenciatributaria.gob.es/Sede/en_gb/procedimientoini/GI28.shtml
|
||||
@@ -1,28 +1,17 @@
|
||||
######################
|
||||
Spanish Account Module
|
||||
######################
|
||||
|
||||
The Spanish account module defines the following charts of account:
|
||||
The *Account Spanish Module* defines charts of accounts and reports for Spain.
|
||||
This includes the following `charts of accounts
|
||||
<https://www.boe.es/boe/dias/2007/11/20/pdfs/C00001-00152.pdf>`_:
|
||||
|
||||
* Plan General Contable Español 2008
|
||||
* Plan Contable para PYMES 2008
|
||||
|
||||
The chart was published as `REAL DECRETO 1514/2007
|
||||
<https://www.boe.es/boe/dias/2007/11/20/pdfs/C00001-00152.pdf>`_ on 20th November
|
||||
2007.
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
A wizard allows to generate the following AEAT files:
|
||||
|
||||
* Modelo 111
|
||||
* Modelo 115
|
||||
* Modelo 303
|
||||
|
||||
The module generates the chart of accounts for the normal and pyme charts.
|
||||
The XML files for each variant are generated from the same original XML file
|
||||
thanks to the create_variant.xsl XSLT script. The script will produce on the
|
||||
standard output the desired XML file. The XSLT script can be launched with the
|
||||
following commands::
|
||||
|
||||
xsltproc --stringparam chart <chart> create_chart.xsl account.xml
|
||||
xsltproc --stringparam chart <chart> create_chart.xsl tax.xml
|
||||
|
||||
where ``chart`` is ``normal`` or ``pyme``.
|
||||
design
|
||||
reference
|
||||
releases
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
*********************
|
||||
Development Reference
|
||||
*********************
|
||||
|
||||
The *Spanish Account Module* includes the ``normal`` and ``pyme`` charts of
|
||||
accounts.
|
||||
The :abbr:`XML (eXtensible Markup Language)` files that contain the localised
|
||||
charts of account are all generated from the same source XML file.
|
||||
The :file:`create_chart.xsl` :abbr:`XSLT (XML Stylesheet Language Transform)`
|
||||
file defines how the source XML file is transformed into each chart of
|
||||
accounts.
|
||||
|
||||
To output a ``<type>`` (either ``normal`` or ``pyme``) of chart of accounts run:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
xsltproc --stringparam chart <type> create_chart.xsl account.xml
|
||||
xsltproc --stringparam chart <type> create_chart.xsl tax.xml
|
||||
@@ -0,0 +1,7 @@
|
||||
.. _releases-index:
|
||||
|
||||
=============
|
||||
Release notes
|
||||
=============
|
||||
|
||||
.. include:: ../CHANGELOG
|
||||
@@ -11,9 +11,12 @@ from setuptools import find_packages, setup
|
||||
|
||||
|
||||
def read(fname):
|
||||
return io.open(
|
||||
content = io.open(
|
||||
os.path.join(os.path.dirname(__file__), fname),
|
||||
'r', encoding='utf-8').read()
|
||||
content = re.sub(
|
||||
r'(?m)^\.\. toctree::\r?\n((^$|^\s.*$)\r?\n)*', '', content)
|
||||
return content
|
||||
|
||||
|
||||
def get_require_version(name):
|
||||
@@ -65,7 +68,8 @@ setup(name=name,
|
||||
download_url=download_url,
|
||||
project_urls={
|
||||
"Bug Tracker": 'https://bugs.tryton.org/',
|
||||
"Documentation": 'https://docs.tryton.org/',
|
||||
"Documentation": (
|
||||
'https://docs.tryton.org/latest/modules-account-es/'),
|
||||
"Forum": 'https://www.tryton.org/forum',
|
||||
"Source Code": 'https://code.tryton.org/tryton',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user