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
  • Loading branch information
clbr-odoo committed Mar 18, 2024
1 parent fde49b9 commit 52a587d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/l10n_ch/data/account_tax_report_data.xml
Expand Up @@ -15,14 +15,15 @@
<record id="account_tax_report_line_chtax_200" model="account.tax.report.line">
<field name="name">200 - Total des contre-prestations convenues ou reçues, y c. de prestations imposées par option, de transferts par procédure de déclaration, de prestations à l’étranger</field>
<field name="code">tax_ch_200</field>
<field name="formula">tax_ch_302a + tax_ch_303a + tax_ch_312a + tax_ch_313a + tax_ch_342a + tax_ch_343a + tax_ch_382a + tax_ch_383a</field>
<field name="formula">tax_ch_302a + tax_ch_303a + tax_ch_312a + tax_ch_313a + tax_ch_342a + tax_ch_343a + tax_ch_205 + tax_ch_289</field>
<field name="report_id" ref="tax_report"/>
<field name="sequence" eval="1"/>
<field name="parent_id" ref="account_tax_report_line_chiffre_af"/>
</record>

<record id="account_tax_report_line_chtax_205" model="account.tax.report.line">
<field name="name">205 - Contre-prestations déclarées sous ch. 200 qui proviennent de prestations exclues du champ de l’impôt (art. 21) pour lesquelles il a été opté en vertu de l’art. 22</field>
<field name="code">tax_ch_205</field>
<field name="tag_name">205</field>
<field name="report_id" ref="tax_report"/>
<field name="sequence" eval="2"/>
Expand Down

0 comments on commit 52a587d

Please sign in to comment.