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 odoo#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 odoo#158123

X-original-commit: 8982cd1
Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com>
Signed-off-by: Claire Bretton (clbr) <clbr@odoo.com>
  • Loading branch information
clbr-odoo authored and maan-odoo committed Mar 24, 2024
1 parent 733cf22 commit b28764c
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
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@
<record id="account_tax_report_line_chtax_200" model="account.tax.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="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 - 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>
<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 b28764c

Please sign in to comment.