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

[16.0][MIG] l10n_de_tax_statement_zm #146

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
308c447
module with german vat tax declaration report
tv-openbig Feb 25, 2019
5e163db
removal of unnecessary lines
tv-openbig Feb 27, 2019
e8ddf65
removal of unnecessary lines
tv-openbig Feb 27, 2019
0c607cf
mainly fixes to correct pylint and flake errors
tv-openbig Feb 27, 2019
6cd0717
further pylint flake fixes
tv-openbig Feb 27, 2019
9ed56ce
fix of a missing state, removal of unnecessary test files, fix in con…
tv-openbig Mar 1, 2019
a6917f3
Fix of a missing dependency, flake8, testing cases fix
tv-openbig Mar 8, 2019
c97795d
fix of indention issue
tv-openbig Mar 8, 2019
0ece4d2
further fixes and readme documents
tv-openbig Mar 13, 2019
24b4bae
some changes in tests
tv-openbig Mar 13, 2019
c92b9fd
change of python formula
tv-openbig Mar 13, 2019
71973ca
View past invoices moves when country is not Germany
astirpe Mar 14, 2019
da44bbd
Sort past invoices by date
astirpe Mar 14, 2019
ff090e8
[UPD] README.rst
OCA-git-bot Mar 22, 2019
19e7c03
[UPD] Update l10n_de_tax_statement.pot
oca-travis Mar 22, 2019
7955168
[12.0][MIG] l10n_de_tax_statement
astirpe Mar 25, 2019
0e374cc
Add version
astirpe Aug 13, 2019
4bed023
Fix
astirpe Aug 13, 2019
50b1618
adoption to UStVA Report 2019
tv-openbig Aug 13, 2019
46781bf
Configuration of tags
astirpe Aug 13, 2019
b6a4eb7
Fix tests
astirpe Aug 13, 2019
082e3e5
changes of tax mappings to tags for the year 2019
tv-openbig Aug 13, 2019
7cd8527
tags mapping is still required
tv-openbig Aug 13, 2019
08d4c14
Code review
astirpe Aug 14, 2019
7ce7572
Fix total + coverage
astirpe Aug 14, 2019
c41837c
[UPD] README.rst
OCA-git-bot Aug 17, 2019
4b9ab70
[UPD] Update l10n_de_tax_statement.pot
oca-travis Aug 17, 2019
4a9fa64
[FIX] l10n_de_tax_statement: format of tax lines
astirpe Aug 20, 2019
2a28d4a
tiny modification of display formats
tv-openbig Aug 21, 2019
38b53c3
[UPD] Update l10n_de_tax_statement.pot
oca-travis Aug 21, 2019
ead3ffb
[FIX] singleton
astirpe Sep 13, 2019
3561a1d
Pre-commit
astirpe Apr 17, 2020
91d68d0
[13.0][MIG] l10n_de_tax_statement
astirpe Apr 17, 2020
f880696
Remove obsolete filter
astirpe Jan 25, 2021
6f3841b
Fix cache miss error
astirpe Feb 1, 2021
f9cc6fc
[IMP] l10n_de_tax_statement: Isort, black, prettier.
dsolanki-initos Apr 12, 2021
854b051
[MIG] l10n_de_tax_statement: Migration to 14.0
dsolanki-initos Nov 19, 2021
50510c5
[MIG] l10n_de_tax_statement: Migration to 14.0
dsolanki-initos Nov 19, 2021
77780dd
[MIG] l10n_de_tax_statement: Migration to 14.0
ortlam Jan 14, 2022
6eb7c3e
[MIG] l10n_de_tax_statement: Migration to 14.0
ortlam Jan 19, 2022
0e0f47e
[MIG] l10n_de_tax_statement: Migration to 14.0
ortlam Jan 20, 2022
69c7b3b
Add 2021/2022 tax format
tv-openbig Jan 21, 2022
a54400e
[IMP] l10n_de_tax_statement : add chatter in form view
chandni300 Oct 19, 2021
0cc56eb
Re-add removed check for open tax statements
ortlam Jan 28, 2022
9893fe1
Fix permission problem with view base/tax line buttons
ortlam Feb 3, 2022
e8feda9
Fix black
ortlam Feb 3, 2022
72631aa
Fix tax statement line 40 mapping to tax codes 46 and 47
ortlam Feb 10, 2022
bcfff06
Fix tax statement line 57
ortlam Feb 10, 2022
e93d2b6
Add workarounds for tax tags 84 and 85 missing suffix
ortlam Feb 18, 2022
732b5e4
Fix bug in unit test
ortlam Mar 18, 2022
43b5d9f
Add basic unit test for 2021 template
ortlam Mar 23, 2022
93e4682
Relying on the related fields make it hard to optimize the query with…
fkantelberg May 4, 2022
aef7a14
Add further unit tests to increase coverage
ortlam Dec 14, 2022
9115df6
Remove tax tag in test case to improve coverage
ortlam Dec 15, 2022
fc0ab25
Add further tax tags to unit tests
ortlam Dec 19, 2022
49d45eb
Improve unit tests to include refund values
ortlam Dec 19, 2022
af7dbd0
[MIG] 15.0 l10m_de_tax_statement: Migration to 15.0
MrGigSolutions Jan 18, 2024
12bb3d2
[IMP] l10n_de_tax_statement Pre-commit stuff
MrGigSolutions Jan 19, 2024
0192b7c
[MIG] 16.0 l10n_de_tax_statement - Migration to 16.0
MrGigSolutions Jan 19, 2024
80c6a27
[MIG] 16.0 l10n_de_tax_statement - Translation updates for 16.0
MrGigSolutions Jan 22, 2024
8348dca
[MIG] 16.0 l10n_de_tax_statement - Migration to 16.0
MrGigSolutions Jan 19, 2024
7c67be1
module german intra-community transactions declaration (Zusammenfasse…
tv-openbig Feb 27, 2019
0d95f35
further pylint flake fixes
tv-openbig Feb 27, 2019
8976565
fix of pylint and travis errors
tv-openbig Feb 27, 2019
62a90a8
some changes in tests
tv-openbig Mar 13, 2019
4c8e752
[FIX] corrects translation in module l10n_de_tax_statement_zm
yweng8111 Oct 18, 2019
1e4704b
[IMP] show partner details on zm-line validation
Guenzn May 11, 2020
d9814a8
[IMP] l10n_de_tax_statement_zm: black, isort, prettier
hkapatel-initos Aug 9, 2021
9bc58fa
[MIG] l10n_de_tax_statement_zm: Migration to 14.0
dsolanki-initos Nov 22, 2021
3a6e3a8
[MIG] l10n_de_tax_statement_zm: Migration to 14.0
ortlam Jan 20, 2022
176dda6
Regenerate translation files
ortlam Jan 21, 2022
fd01f7f
Use shipping address for ZM
ortlam Nov 10, 2022
7ffa9e9
Fix black
ortlam Dec 20, 2022
ddce489
Replace wrong unit test file with migrated original
ortlam Jan 3, 2023
b7cfc58
Fix bug in error when downloading zm lines
ortlam Jan 3, 2023
4e3074f
Add further unit test to increase coverage
ortlam Jan 3, 2023
5707251
[MIG] 15.0 l10n_de_tax_statement_zm - Migration to 15.0
MrGigSolutions Jan 23, 2024
9b6bba2
[MIG] 16.0 l10n_de_tax_statement_zm - Migration to 16.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
128 changes: 128 additions & 0 deletions l10n_de_tax_statement/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
====================
German VAT Statement
====================

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

.. |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/16.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-16-0/l10n-germany-16-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=16.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:%2016.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]>
* Mark Schuit <[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/16.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": "16.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