Repository
OCA/l10n-netherlands · module folder · Try on Runboat
Module version
1.0.0
Category
Localization
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-netherlands
Last tracking update
2026-08-07 08:43:07
Authors
Odoo Community Association (OCA), Onestein
Maintainers
Odoo Community Association (OCA), Onestein
Committers
OCA-git-bot, oca-ci, andrea
Odoo dependencies
OCA/l10n-netherlands:
OCA/reporting-engine:
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends the *Netherlands BTW Statement* module (BTW aangifte
report), by adding the statement for the *Intra-Community transactions
declaration* (ICP declaration).

The ICP declaration report is based on line *3b - Leveringen naar landen
binnen de EU (omzet)* of the BTW aangifte report. The period is also the
same as the one selected in the BTW aangifte report.

This ICP declaration report includes:

- the VAT identification numbers of your customers;
- the total amount of intra-Community supplies from the Netherlands for
  every customer during the selected period.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
l10n_nl_tax_statement_icp.report_tax_statement_icp l10n_nl_tax_statement_icp.report_tax_statement_icp ir.ui.view qweb New
view_l10n_nl_vat_report_form l10n.nl.vat.statement form Inherits l10n_nl_tax_statement.view_l10n_nl_vat_report_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (2)
  • icp_line_ids One2many → l10n.nl.vat.statement.icp.line
    readonly=True string='ICP Lines' args: 'l10n.nl.vat.statement.icp.line', 'statement_id'
  • icp_total Monetary
    compute='_compute_icp_total' help='Total amount in currency of the statement.' string='Total ICP amount'
Public methods (3)
  • icp_update(self)
    Update button
  • post(self)
    Checks configuration when validating the statement
  • reset(self)
    Removes ICP lines if reset to draft

New fields (12)
  • amount_products Monetary
    readonly=True
  • amount_services Monetary
    readonly=True
  • country_code Char
    readonly=True
  • currency_id Many2one → res.currency
    readonly=True args: 'res.currency'
  • currency_name Char
    related='currency_id.name' string='Currency Name'
  • format_amount_products Char
    compute='_compute_icp_amount_format'
  • format_amount_services Char
    compute='_compute_icp_amount_format'
  • format_vat Char
    compute='_compute_format_vat'
  • partner_id Many2one → res.partner
    readonly=True required=True args: 'res.partner'
  • partner_name Char
    related='partner_id.name'
  • statement_id Many2one → l10n.nl.vat.statement
    ondelete='cascade' args: 'l10n.nl.vat.statement'
  • vat Char
    readonly=True string='VAT'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (3)
  • format_line_from_obj(self, line, report_data, is_pair_line)
    Write statement line on current row
  • generate_xlsx_report(self, workbook, data, objects)
  • write_array_header(self, report_data)
    Write array header on current line using all defined columns name. Columns are defined with `_get_report_columns` method.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
16 days ago
Last activity
16 days ago
Repository
OCA/l10n-netherlands
Pull request
[19.0][MIG] l10n_nl_tax_statement_icp (#453)