Skip to content

Commit

Permalink
[FIX] l10n_ch: tax report box 200 computation fix
Browse files Browse the repository at this point in the history
With this PR #129717 we fixed
multiple problems of the Swiss tax report but the 200 box is still
not correct.

Fix the computation of the box 200 of the Swiss tax report.
We remove 382 and 383 boxes that are for purchases and shouldn't be
included.
We add box 205 and 289 so that the box 200 somehow represent the "gross"
taxed amount, and 299 is therefore the "net" amount.

200 = 302 to 343 + 205 + 289

opw-3766215

closes #158579

X-original-commit: 7d9051c
Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com>
Signed-off-by: Claire Bretton (clbr) <clbr@odoo.com>
  • Loading branch information
clbr-odoo committed Mar 22, 2024
1 parent 93c4149 commit 8a4c9be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/l10n_ch/data/account_tax_report_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<record id="account_tax_report_line_chtax_200" model="account.report.line">
<field name="name">200 - Total amount of agreed or collected consideration incl. from supplies opted for taxation, transfer of supplies acc. to the notification procedure and supplies provided abroad (worldwide turnover)</field>
<field name="code">tax_ch_200</field>
<field name="aggregation_formula">tax_ch_302a.balance + tax_ch_303a.balance + tax_ch_312a.balance + tax_ch_313a.balance + tax_ch_342a.balance + tax_ch_343a.balance + tax_ch_382a.balance + tax_ch_383a.balance</field>
<field name="aggregation_formula">tax_ch_302a.balance + tax_ch_303a.balance + tax_ch_312a.balance + tax_ch_313a.balance + tax_ch_342a.balance + tax_ch_343a.balance + tax_ch_205.balance + tax_ch_289.balance</field>
</record>
<record id="account_tax_report_line_chtax_205" model="account.report.line">
<field name="name">205 - Consideration reported in Ref. 200 from supplies exempt from the tax without credit (art. 21) where the option for their taxation according to art. 22 has been exercised</field>
Expand Down

0 comments on commit 8a4c9be

Please sign in to comment.