Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][MIG] l10n_de_tax_statement_zm #145

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
d9a59cc
module with german vat tax declaration report
tv-openbig Feb 25, 2019
1c1e3b6
removal of unnecessary lines
tv-openbig Feb 27, 2019
703ae36
removal of unnecessary lines
tv-openbig Feb 27, 2019
eb577ba
mainly fixes to correct pylint and flake errors
tv-openbig Feb 27, 2019
ed2d0d3
further pylint flake fixes
tv-openbig Feb 27, 2019
0242b8d
fix of a missing state, removal of unnecessary test files, fix in con…
tv-openbig Mar 1, 2019
b260730
Fix of a missing dependency, flake8, testing cases fix
tv-openbig Mar 8, 2019
2659e10
fix of indention issue
tv-openbig Mar 8, 2019
426fbd5
further fixes and readme documents
tv-openbig Mar 13, 2019
3198353
some changes in tests
tv-openbig Mar 13, 2019
8cf7360
change of python formula
tv-openbig Mar 13, 2019
8cf39cf
View past invoices moves when country is not Germany
astirpe Mar 14, 2019
bf87d0d
Sort past invoices by date
astirpe Mar 14, 2019
3fa0ec9
[UPD] README.rst
OCA-git-bot Mar 22, 2019
544da62
[UPD] Update l10n_de_tax_statement.pot
oca-travis Mar 22, 2019
9e3f80d
[12.0][MIG] l10n_de_tax_statement
astirpe Mar 25, 2019
42eaf6e
Add version
astirpe Aug 13, 2019
e8a994a
Fix
astirpe Aug 13, 2019
6bdc0ec
adoption to UStVA Report 2019
tv-openbig Aug 13, 2019
bd8fc5f
Configuration of tags
astirpe Aug 13, 2019
e8243a5
Fix tests
astirpe Aug 13, 2019
a3be83d
changes of tax mappings to tags for the year 2019
tv-openbig Aug 13, 2019
686de05
tags mapping is still required
tv-openbig Aug 13, 2019
27e1ebb
Code review
astirpe Aug 14, 2019
7020a00
Fix total + coverage
astirpe Aug 14, 2019
1c769d4
[UPD] README.rst
OCA-git-bot Aug 17, 2019
18a9a3c
[UPD] Update l10n_de_tax_statement.pot
oca-travis Aug 17, 2019
887c76e
[FIX] l10n_de_tax_statement: format of tax lines
astirpe Aug 20, 2019
2288a61
tiny modification of display formats
tv-openbig Aug 21, 2019
8cdca79
[UPD] Update l10n_de_tax_statement.pot
oca-travis Aug 21, 2019
93fe953
[FIX] singleton
astirpe Sep 13, 2019
5c59f96
Pre-commit
astirpe Apr 17, 2020
2938c43
[13.0][MIG] l10n_de_tax_statement
astirpe Apr 17, 2020
add1b84
Remove obsolete filter
astirpe Jan 25, 2021
66a67d9
Fix cache miss error
astirpe Feb 1, 2021
aab59af
[IMP] l10n_de_tax_statement: Isort, black, prettier.
dsolanki-initos Apr 12, 2021
3edfd7b
[MIG] l10n_de_tax_statement: Migration to 14.0
dsolanki-initos Nov 19, 2021
9673e9f
[MIG] l10n_de_tax_statement: Migration to 14.0
dsolanki-initos Nov 19, 2021
54f2bd0
[MIG] l10n_de_tax_statement: Migration to 14.0
ortlam Jan 14, 2022
43091d0
[MIG] l10n_de_tax_statement: Migration to 14.0
ortlam Jan 19, 2022
3b748d9
[MIG] l10n_de_tax_statement: Migration to 14.0
ortlam Jan 20, 2022
18c631c
Add 2021/2022 tax format
tv-openbig Jan 21, 2022
aa7cad7
[IMP] l10n_de_tax_statement : add chatter in form view
chandni300 Oct 19, 2021
0c0a787
Re-add removed check for open tax statements
ortlam Jan 28, 2022
4e3a849
Fix permission problem with view base/tax line buttons
ortlam Feb 3, 2022
13dbfff
Fix black
ortlam Feb 3, 2022
b654961
Fix tax statement line 40 mapping to tax codes 46 and 47
ortlam Feb 10, 2022
e47072a
Fix tax statement line 57
ortlam Feb 10, 2022
e4f9f23
Add workarounds for tax tags 84 and 85 missing suffix
ortlam Feb 18, 2022
8028dbe
Fix bug in unit test
ortlam Mar 18, 2022
c8cfdf6
Add basic unit test for 2021 template
ortlam Mar 23, 2022
a0cf505
Relying on the related fields make it hard to optimize the query with…
fkantelberg May 4, 2022
1d2837c
Add further unit tests to increase coverage
ortlam Dec 14, 2022
cc4d2e9
Remove tax tag in test case to improve coverage
ortlam Dec 15, 2022
5a01364
Add further tax tags to unit tests
ortlam Dec 19, 2022
c519dc9
Improve unit tests to include refund values
ortlam Dec 19, 2022
def42e7
[IMP] l10n_de_tax_statement: black, isort, prettier
MrGigSolutions Jan 18, 2024
5634c62
[MIG] 15.0 l10m_de_tax_statement: Migration to 15.0
MrGigSolutions Jan 18, 2024
ff42f93
module german intra-community transactions declaration (Zusammenfasse…
tv-openbig Feb 27, 2019
933fdb6
further pylint flake fixes
tv-openbig Feb 27, 2019
ce01ca7
fix of pylint and travis errors
tv-openbig Feb 27, 2019
1313bd2
some changes in tests
tv-openbig Mar 13, 2019
79746ae
[FIX] corrects translation in module l10n_de_tax_statement_zm
yweng8111 Oct 18, 2019
4899891
[IMP] show partner details on zm-line validation
Guenzn May 11, 2020
9ab2820
[IMP] l10n_de_tax_statement_zm: black, isort, prettier
hkapatel-initos Aug 9, 2021
dd679a1
[MIG] l10n_de_tax_statement_zm: Migration to 14.0
dsolanki-initos Nov 22, 2021
a0aea30
[MIG] l10n_de_tax_statement_zm: Migration to 14.0
ortlam Jan 20, 2022
9118a83
Regenerate translation files
ortlam Jan 21, 2022
09b7690
Use shipping address for ZM
ortlam Nov 10, 2022
9e85841
Fix black
ortlam Dec 20, 2022
0df3e32
Replace wrong unit test file with migrated original
ortlam Jan 3, 2023
98fe673
Fix bug in error when downloading zm lines
ortlam Jan 3, 2023
ccfe0e6
Add further unit test to increase coverage
ortlam Jan 3, 2023
780652f
[MIG] 15.0 l10n_de_tax_statement_zm - Migration to 15.0
MrGigSolutions Jan 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 127 additions & 0 deletions l10n_de_tax_statement/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
====================
German VAT Statement
====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:2f353b04f362e238ee5fa2f3924103d44e1d148be81ad0504e8c5a6d52d48720
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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--germany-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-germany/tree/14.0/l10n_de_tax_statement
:alt: OCA/l10n-germany
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-germany-14-0/l10n-germany-14-0-l10n_de_tax_statement
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-germany&target_branch=14.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module provides the *German VAT Statement* (Umsatzsteuervoranmeldung).
You can use the *German VAT Statement* report to declare your taxes on www.elster.de.

**Table of contents**

.. contents::
:local:

Configuration
=============

This module makes use of the tax tags (eg.: 81, 86, 91, 89, 93 ...) as prescribed by the German tax laws and represented by the tax declaration form "Umsatzsteuervoranmeldung".

If the default Odoo German chart of accounts is installed (module l10n_de) you are able to select in the settings if you want to use the skr03 or skr04 chart variant.
By installing and configuring your favored german account chart the tax tags from the module l10n_de are automatically present in the database.

If a non-standard chart of accounts is installed, you have to manually create the tax tags and properly set them into the tax definition. If you create another german account chart (f.e. l10n_de_ikr) you can still depend on l10n_de module in order to benefit from the generic tax tags for germany. If you won't use l10n_de as a base module you have to configure at first your own tax tags. After that, go to go to menu: Invoicing -> Configuration -> Accounting -> German Tax Tags, and manually set the tags in the configuration form; click Apply to confirm (for more information about the installation and configuration of that module, check the README file).
The name of the tags must be formatted this way: "+81 base", "+81 tax", "-81 base", "-81 tax", "+41", "-41", etc...

The user must belong to the *Show Full Accounting Features* group, to be able to access the `Invoicing -> Configuration -> Accounting -> German Tax Tags` menu.

Usage
=====

To create a statement you need to:

#. Verify that you have enough permits. You need to belong to the *Show Full Accounting Features* group.
#. Go to the menu: `Invoicing -> Reporting > German Tax Statement`
#. Create a statement, providing a name and specifying start date and end date
#. Press the Update button to calculate the report: the report lines will be displayed in the tab `Statement`
#. Eventually you have to manually enter the tax base amounts of lines '20', '21', '22', '23', '24','26', '27', '28', '29', '30','32', '33', '34', '35', '36','38', '39', '40', '41', '42','48', '49', '50', '51', '52','64', '65', '67') if you want to change the values from float format to integer (in Edit mode, click on the amount of the line to be able to change the value).
#. Press the Post button to set the status of the statement to Posted; the statements set to this state cannot be modified

To add past undeclared invoices:

#. Open the tab `Past Undeclared Invoices`, available when the statement is in status Draft.
#. Set an initial date (field From Date) from which the past undeclared invoices will be displayed.
#. One by one, add the displayed undeclared invoices, by clicking on the `Add Invoice` button present in each line.
#. Press the Update button in order to recompute the statement lines.

Extra info about the workflow:

#. If you need to recalculate or modify or delete a statement already set to Posted status you need first to set it back to Draft status: press the button Reset to Draft
#. Instead, if you send the statement to the Tax Authority, you may want to avoid that the statement is set back to Draft: to avoid this, press the button Final. If you then confirm, it will be not possible to modify this Statement or reset it back to draft anymore.

Printing a PDF report:

#. If you need to print the report in PDF, open a statement form and click: `Print -> German Tax Statement`

Known issues / Roadmap
======================

* Add checks to avoid errors in the report, e.g. no VAT code, tax-code not matching fiscal position, etc..
* Re-formatting of tax base values from float format to integer. Currently in the official tax forms we need to enter integer format for some of the base tax values (f.e. instead of 250,52 € -> 251 €). The non writable tax calculation is based on the integer format. We propose to do that change manually in the www.elster.de tax declaration forms. It should be easy to adopt.
* Report in .xml format in order to import the vat statement on www.elster.de portal in order to avoid manual transmission of the values.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-germany/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 <https://github.com/OCA/l10n-germany/issues/new?body=module:%20l10n_de_tax_statement%0Aversion:%2014.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
~~~~~~~

* Onestein

Contributors
~~~~~~~~~~~~

* Andrea Stirpe <[email protected]>
* Thorsten Vocks <[email protected]>
* Helly kapatel <[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.

This module is part of the `OCA/l10n-germany <https://github.com/OCA/l10n-germany/tree/14.0/l10n_de_tax_statement>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions l10n_de_tax_statement/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
28 changes: 28 additions & 0 deletions l10n_de_tax_statement/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 2019-2020 Onestein (<https://www.onestein.eu>)
# Copyright 2019 BIG-Consulting GmbH(<http://www.openbig.org>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "German VAT Statement",
"version": "15.0.1.0.0",
"category": "Localization",
"license": "AGPL-3",
"author": "Onestein, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-germany",
"depends": ["account", "date_range", "l10n_de_skr03"],
"data": [
"security/ir.model.access.csv",
"security/tax_statement_security_rule.xml",
"data/paperformat.xml",
"views/l10n_de_tax_statement_view.xml",
"views/report_tax_statement.xml",
"views/res_config_settings.xml",
"report/report_tax_statement.xml",
],
"assets": {
"web.report_assets_common": [
"/l10n_de_tax_statement/static/src/css/report.css",
],
},
"installable": True,
}
21 changes: 21 additions & 0 deletions l10n_de_tax_statement/data/paperformat.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2019 Onestein (<http://www.onestein.eu>)
Copyright 2019 BIG-Consulting GmbH (<http://www.openbig.org>)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<record id="paperformat_de_tax_statement" model="report.paperformat">
<field name="name">German Tax Statement qweb paperformat</field>
<field name="default" eval="True" />
<field name="format">A4</field>
<field name="page_height">0</field>
<field name="page_width">0</field>
<field name="orientation">Portrait</field>
<field name="margin_top">12</field>
<field name="margin_bottom">20</field>
<field name="margin_left">7</field>
<field name="margin_right">7</field>
<field name="header_line" eval="False" />
<field name="header_spacing">10</field>
<field name="dpi">110</field>
</record>
</odoo>
Loading
Loading