Skip to content

Commit

Permalink
[UDP] l10n_fr_account_vat_return: millesime 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-via committed Feb 14, 2025
1 parent 02eee22 commit 432bda8
Show file tree
Hide file tree
Showing 7 changed files with 200 additions and 178 deletions.
4 changes: 3 additions & 1 deletion l10n_fr_account_vat_return/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ It can also be used for the smaller companies which have a yearly CA12 VAT decla
This module also supports:

* declaration 3519 for the reimbursement of VAT credit,
* declaration 3310-A (CA3 Appendix) for the additional taxes.
* declaration 3310-A (CA3 Appendix) for the additional taxes

For the CA3 Appendix, the taxes that target few large companies such as taxe sur les sociétés d'autoroute, taxe sur les éoliennes en mer, taxe sur le débarquement de passagers en Corse, taxe sur les services numériques i.e. taxe GAFA,... are not maintained any more because it is a waste of time. If you need one of them, you can create the related boxes manually in the configuration menu.

**Table of contents**

Expand Down
349 changes: 187 additions & 162 deletions l10n_fr_account_vat_return/data/l10n.fr.account.vat.box.csv

Large diffs are not rendered by default.

13 changes: 2 additions & 11 deletions l10n_fr_account_vat_return/models/l10n_fr_account_vat_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@ def _check_box(self): # noqa: C901
% box.display_name
)
else:
if not box.edi_code:
if box.active and not box.edi_code:
raise ValidationError(
_("The box '%s' must have an EDI code.") % box.display_name
)
if not box.edi_type:
if box.active and not box.edi_type:
raise ValidationError(
_("The box '%s' must have an EDI type.") % box.display_name
)
Expand All @@ -196,15 +196,6 @@ def _check_box(self): # noqa: C901
)
% box.display_name
)
if (
not box.code
and box.form_code == "3310CA3"
and box.edi_type == "MOA"
):
# on 3310-A, total boxes don't have a code
raise ValidationError(
_("The box '%s' must have a code.") % box.display_name
)
print_data = [box.print_page, box.print_x, box.print_y]
if (
box.form_code == "3310CA3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -779,8 +779,8 @@ def _generate_autoliq_lines(self, speedy):

def _generate_ca3_bottom_totals(self, speedy):
# Process the END of CA3 by hand
# Delete no_push_total and end_total lines
# it corresponds to the 4 sum boxes at the bottom block of CA3
# Delete no_push_total_*, vat_total_debit and end_total_* lines
# it corresponds to the 5 sum boxes at the bottom block of CA3
lines_to_del = speedy["line_obj"].search(
[
("parent_id", "=", self.id),
Expand All @@ -790,6 +790,7 @@ def _generate_ca3_bottom_totals(self, speedy):
(
"no_push_total_debit",
"no_push_total_credit",
"vat_total_debit",
"end_total_debit",
"end_total_credit",
),
Expand Down
4 changes: 3 additions & 1 deletion l10n_fr_account_vat_return/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ It can also be used for the smaller companies which have a yearly CA12 VAT decla
This module also supports:

* declaration 3519 for the reimbursement of VAT credit,
* declaration 3310-A (CA3 Appendix) for the additional taxes.
* declaration 3310-A (CA3 Appendix) for the additional taxes

For the CA3 Appendix, the taxes that target few large companies such as taxe sur les sociétés d'autoroute, taxe sur les éoliennes en mer, taxe sur le débarquement de passagers en Corse, taxe sur les services numériques i.e. taxe GAFA,... are not maintained any more because it is a waste of time. If you need one of them, you can create the related boxes manually in the configuration menu.
Binary file modified l10n_fr_account_vat_return/report/CA3_cerfa.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion l10n_fr_account_vat_return/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,9 @@ <h1 class="title">France VAT Return</h1>
<p>This module also supports:</p>
<ul class="simple">
<li>declaration 3519 for the reimbursement of VAT credit,</li>
<li>declaration 3310-A (CA3 Appendix) for the additional taxes.</li>
<li>declaration 3310-A (CA3 Appendix) for the additional taxes</li>
</ul>
<p>For the CA3 Appendix, the taxes that target few large companies such as taxe sur les sociétés d’autoroute, taxe sur les éoliennes en mer, taxe sur le débarquement de passagers en Corse, taxe sur les services numériques i.e. taxe GAFA,… are not maintained any more because it is a waste of time. If you need one of them, you can create the related boxes manually in the configuration menu.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand Down

0 comments on commit 432bda8

Please sign in to comment.