Belgian Intrastat Declaration

l10n_be_intrastat
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/11.0/l10n_be_intrastat
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYLocalization
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSMartin Trigaux, Olivier Dony, Christophe Simonis, Xavier Morel, Goffin Simon, Nicolas Martinelli, GitHub, Lucas Perais (lpe), Yannick Tivisse
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:53:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - report_intrastat
    - base
    - product
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - delivery
    - sale_stock
    - sale_management
    - sale
    - sales_team
    - account
    - analytic
    - web_planner
    - portal
    - http_routing
    - account_invoicing
    - stock_account
    - stock
    - barcodes
    - purchase
    - l10n_be
    - base_iban
    - base_vat
    - l10n_multilang
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Generates Intrastat XML report for declaration
Based on invoices.
    

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
intra_view_transaction_form intra.view.transaction_form l10n_be_intrastat.transaction form New
intra_view_transaction_tree intra.view.transaction_tree l10n_be_intrastat.transaction tree New
intra_view_transport_mode_form intra.view.transport_mode_form l10n_be_intrastat.transport_mode form New
intra_view_transport_mode_tree intra.view.transport_mode_tree l10n_be_intrastat.transport_mode tree New
l10n_be_intrastat_xml_decl_cust_invoice_view l10n_be_intrastat_xml.custinvoice_form account.invoice xpath Inherits account.invoice_form
l10n_be_intrastat_xml_decl_invoice_line_view l10n_be_intrastat_xml.invoiceline_form account.invoice.line xpath Inherits account.view_invoice_line_form
l10n_be_intrastat_xml_decl_product_category_view l10n_be_intrastat_xml.productcategory_form product.category xpath Inherits product.product_category_form_view
l10n_be_intrastat_xml_decl_res_company_form_view l10n_be_intrastat_xml.rescompany_form res.company xpath Inherits base.view_company_form
l10n_be_intrastat_xml_decl_stock_warehouse_form_view l10n_be_intrastat_xml.stockwarehouse_form stock.warehouse xpath Inherits stock.view_warehouse
l10n_be_intrastat_xml_decl_supp_invoice_view l10n_be_intrastat_xml.suppinvoice_form account.invoice xpath Inherits account.invoice_supplier_form
view_intrastat_declaration_xml Intrastat XML Declaration l10n_be_intrastat_xml.xml_decl form New
Models touched (13)

New fields (3)
  • incoterm_id Many2one → stock.incoterms
    help='International Commercial Terms are a series of predefined commercial terms used in international transactions.' string='Incoterm' args: 'stock.incoterms'
  • intrastat_country_id Many2one → res.country
    domain=[('intrastat', '=', True)] help='Intrastat country, delivery for sales, origin for purchases' string='Intrastat Country' args: 'res.country'
  • transport_mode_id Many2one → l10n_be_intrastat.transport_mode
    string='Intrastat Transport Mode' args: 'l10n_be_intrastat.transport_mode'
Public methods (0)

No public methods.

New fields (1)
  • intrastat_transaction_id Many2one → l10n_be_intrastat.transaction
    help='Intrastat nature of transaction' string='Intrastat Transaction Type' args: 'l10n_be_intrastat.transaction'
Public methods (0)

No public methods.

New fields (4)
  • code Char
    required=True
  • country_id Many2one → res.country
    string='Country' args: 'res.country'
  • description Char
  • name Char
    translate=True
Public methods (0)

No public methods.

New fields (2)
  • code Char
    readonly=True required=True
  • description Text
    readonly=True
Public methods (0)

No public methods.

New fields (2)
  • code Char
    readonly=True required=True
  • name Char
    readonly=True string='Description'
Public methods (0)

No public methods.

New fields (8)
  • arrivals Selection
    default='be-standard' required=True args: [('be-exempt', 'Exempt'), ('be-standard', 'Standard'), ('be-extended', 'Extended')]
  • company_id Many2one → res.company
    default=<expr> required=True string='Company' args: 'res.company'
  • dispatches Selection
    default='be-standard' required=True args: [('be-exempt', 'Exempt'), ('be-standard', 'Standard'), ('be-extended', 'Extended')]
  • file_save Binary
    readonly=True string='Intrastat Report File'
  • month Selection
    default=_default_get_month required=True string='Month' args: [('01', 'January'), ('02', 'February'), ('03', 'March'), ('04', 'April'), ('05', 'May'), ('06', 'June'), ('07', 'July'), ('08', 'August'), ('09', 'September'), ('10', 'October'), ('11', 'November'), ('12', 'December')]
  • name Char
    default='intrastat.xml' string='File Name'
  • state Selection
    default='draft' args: [('draft', 'Draft'), ('download', 'Download')]
  • year Char
    default=_default_get_year required=True size=4
Public methods (1)
  • create_xml(self)
    @api.multi
    Creates xml that is to be exported and sent to estate for partner vat intra. :return: Value for next action. :rtype: dict

New fields (1)
  • intrastat_id Many2one → report.intrastat.code
    string='Intrastat Code' args: 'report.intrastat.code'
Public methods (1)
  • get_intrastat_recursively(self)
    @api.multi
    Recursively search in categories to find an intrastat code id

New fields (0)

No new fields.

Public methods (1)
  • get_intrastat_recursively(self)
    @api.multi
    Recursively search in categories to find an intrastat code id

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • description Text
    string='Description' translate=True
Public methods (0)

No public methods.

New fields (3)
  • incoterm_id Many2one → stock.incoterms
    help='International Commercial Terms are a series of predefined commercial terms used in international transactions.' string='Default incoterm for Intrastat' args: 'stock.incoterms'
  • region_id Many2one → l10n_be_intrastat.region
    string='Intrastat region' args: 'l10n_be_intrastat.region'
  • transport_mode_id Many2one → l10n_be_intrastat.transport_mode
    string='Default transport mode' args: 'l10n_be_intrastat.transport_mode'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • region_id Many2one → l10n_be_intrastat.region
    string='Intrastat region' args: 'l10n_be_intrastat.region'
Public methods (1)
  • get_regionid_from_locationid(self, location)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/10.0/l10n_be_intrastat
VERSION
VERSION 0.1.0
CATEGORY
CATEGORYLocalization
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSMartin Trigaux, Olivier Dony, Thibault Delavallée, Denis Ledoux, Christophe Simonis, Nicolas Martinelli, Nicolas Lempereur, Julien Legros, qdp-odoo, Lucas Perais (lpe), Yannick Tivisse
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:50:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - report_intrastat
    - base
    - product
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - delivery
    - sale_stock
    - sale
    - sales_team
    - account
    - analytic
    - web_planner
    - procurement
    - stock_account
    - stock
    - barcodes
    - purchase
    - account_accountant
    - l10n_be
    - base_vat
    - base_iban
    - l10n_multilang
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Generates Intrastat XML report for declaration
Based on invoices.
    

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
intra_view_transaction_form intra.view.transaction_form l10n_be_intrastat.transaction form New
intra_view_transaction_tree intra.view.transaction_tree l10n_be_intrastat.transaction tree New
intra_view_transport_mode_form intra.view.transport_mode_form l10n_be_intrastat.transport_mode form New
intra_view_transport_mode_tree intra.view.transport_mode_tree l10n_be_intrastat.transport_mode tree New
l10n_be_intrastat_xml_decl_cust_invoice_view l10n_be_intrastat_xml.custinvoice_form account.invoice xpath Inherits account.invoice_form
l10n_be_intrastat_xml_decl_invoice_line_view l10n_be_intrastat_xml.invoiceline_form account.invoice.line xpath Inherits account.view_invoice_line_form
l10n_be_intrastat_xml_decl_product_category_view l10n_be_intrastat_xml.productcategory_form product.category xpath Inherits product.product_category_form_view
l10n_be_intrastat_xml_decl_res_company_form_view l10n_be_intrastat_xml.rescompany_form res.company xpath Inherits base.view_company_form
l10n_be_intrastat_xml_decl_stock_warehouse_form_view l10n_be_intrastat_xml.stockwarehouse_form stock.warehouse xpath Inherits stock.view_warehouse
l10n_be_intrastat_xml_decl_supp_invoice_view l10n_be_intrastat_xml.suppinvoice_form account.invoice xpath Inherits account.invoice_supplier_form
view_intrastat_declaration_xml Intrastat XML Declaration l10n_be_intrastat_xml.xml_decl form New
Models touched (13)

New fields (3)
  • incoterm_id Many2one → stock.incoterms
    help='International Commercial Terms are a series of predefined commercial terms used in international transactions.' string='Incoterm' args: 'stock.incoterms'
  • intrastat_country_id Many2one → res.country
    domain=[('intrastat', '=', True)] help='Intrastat country, delivery for sales, origin for purchases' string='Intrastat Country' args: 'res.country'
  • transport_mode_id Many2one → l10n_be_intrastat.transport_mode
    string='Intrastat Transport Mode' args: 'l10n_be_intrastat.transport_mode'
Public methods (0)

No public methods.

New fields (1)
  • intrastat_transaction_id Many2one → l10n_be_intrastat.transaction
    help='Intrastat nature of transaction' string='Intrastat Transaction Type' args: 'l10n_be_intrastat.transaction'
Public methods (0)

No public methods.

New fields (4)
  • code Char
    required=True
  • country_id Many2one → res.country
    string='Country' args: 'res.country'
  • description Char
  • name Char
    translate=True
Public methods (0)

No public methods.

New fields (2)
  • code Char
    readonly=True required=True
  • description Text
    readonly=True
Public methods (0)

No public methods.

New fields (2)
  • code Char
    readonly=True required=True
  • name Char
    readonly=True string='Description'
Public methods (0)

No public methods.

New fields (8)
  • arrivals Selection
    default='be-standard' required=True args: [('be-exempt', 'Exempt'), ('be-standard', 'Standard'), ('be-extended', 'Extended')]
  • company_id Many2one → res.company
    default=<expr> required=True string='Company' args: 'res.company'
  • dispatches Selection
    default='be-standard' required=True args: [('be-exempt', 'Exempt'), ('be-standard', 'Standard'), ('be-extended', 'Extended')]
  • file_save Binary
    readonly=True string='Intrastat Report File'
  • month Selection
    default=_default_get_month required=True string='Month' args: [('01', 'January'), ('02', 'February'), ('03', 'March'), ('04', 'April'), ('05', 'May'), ('06', 'June'), ('07', 'July'), ('08', 'August'), ('09', 'September'), ('10', 'October'), ('11', 'November'), ('12', 'December')]
  • name Char
    default='intrastat.xml' string='File Name'
  • state Selection
    default='draft' args: [('draft', 'Draft'), ('download', 'Download')]
  • year Char
    default=_default_get_year required=True size=4
Public methods (1)
  • create_xml(self)
    @api.multi
    Creates xml that is to be exported and sent to estate for partner vat intra. :return: Value for next action. :rtype: dict

New fields (1)
  • intrastat_id Many2one → report.intrastat.code
    string='Intrastat Code' args: 'report.intrastat.code'
Public methods (1)
  • get_intrastat_recursively(self)
    @api.multi
    Recursively search in categories to find an intrastat code id

New fields (0)

No new fields.

Public methods (1)
  • get_intrastat_recursively(self)
    @api.multi
    Recursively search in categories to find an intrastat code id

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • description Text
    string='Description' translate=True
Public methods (0)

No public methods.

New fields (3)
  • incoterm_id Many2one → stock.incoterms
    help='International Commercial Terms are a series of predefined commercial terms used in international transactions.' string='Default incoterm for Intrastat' args: 'stock.incoterms'
  • region_id Many2one → l10n_be_intrastat.region
    string='Intrastat region' args: 'l10n_be_intrastat.region'
  • transport_mode_id Many2one → l10n_be_intrastat.transport_mode
    string='Default transport mode' args: 'l10n_be_intrastat.transport_mode'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • region_id Many2one → l10n_be_intrastat.region
    string='Intrastat region' args: 'l10n_be_intrastat.region'
Public methods (1)
  • get_regionid_from_locationid(self, location)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/9.0/l10n_be_intrastat
VERSION
VERSION 1.0
CATEGORY
CATEGORYLocalization
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Fabien Pinckaers, Olivier Dony, Thibault Delavallée, Denis Ledoux, Christophe Simonis, Nicolas Martinelli, Nicolas Lempereur, qdp-odoo, Aaron Bohy, pvy, Yannick Tivisse
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:48:30
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - report_intrastat
    - base
    - product
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - delivery
    - sale_stock
    - sale
    - sales_team
    - account
    - analytic
    - web_tip
    - web_planner
    - procurement
    - stock_account
    - stock
    - barcodes
    - purchase
    - account_accountant
    - l10n_be
    - base_vat
    - base_iban
    - l10n_multilang
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Generates Intrastat XML report for declaration
Based on invoices.
    

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
intra_view_transaction_form intra.view.transaction_form l10n_be_intrastat.transaction form New
intra_view_transaction_tree intra.view.transaction_tree l10n_be_intrastat.transaction tree New
intra_view_transport_mode_form intra.view.transport_mode_form l10n_be_intrastat.transport_mode form New
intra_view_transport_mode_tree intra.view.transport_mode_tree l10n_be_intrastat.transport_mode tree New
l10n_be_intrastat_xml_decl_cust_invoice_view l10n_be_intrastat_xml.custinvoice_form account.invoice xpath Inherits account.invoice_form
l10n_be_intrastat_xml_decl_invoice_line_view l10n_be_intrastat_xml.invoiceline_form account.invoice.line xpath Inherits account.view_invoice_line_form
l10n_be_intrastat_xml_decl_product_category_view l10n_be_intrastat_xml.productcategory_form product.category xpath Inherits product.product_category_form_view
l10n_be_intrastat_xml_decl_res_company_form_view l10n_be_intrastat_xml.rescompany_form res.company xpath Inherits base.view_company_form
l10n_be_intrastat_xml_decl_stock_warehouse_form_view l10n_be_intrastat_xml.stockwarehouse_form stock.warehouse xpath Inherits stock.view_warehouse
l10n_be_intrastat_xml_decl_supp_invoice_view l10n_be_intrastat_xml.suppinvoice_form account.invoice xpath Inherits account.invoice_supplier_form
view_intrastat_declaration_xml Intrastat XML Declaration l10n_be_intrastat_xml.xml_decl form New
Models touched (13)

New fields (3)
  • incoterm_id Many2one → stock.incoterms
    help='International Commercial Terms are a series of predefined commercial terms used in international transactions.' args: 'stock.incoterms', 'Incoterm'
  • intrastat_country_id Many2one → res.country
    domain=[('intrastat', '=', True)] help='Intrastat country, delivery for sales, origin for purchases' args: 'res.country', 'Intrastat Country'
  • transport_mode_id Many2one → l10n_be_intrastat.transport_mode
    args: 'l10n_be_intrastat.transport_mode', 'Intrastat Transport Mode'
Public methods (0)

No public methods.

New fields (1)
  • intrastat_transaction_id Many2one → l10n_be_intrastat.transaction
    help='Intrastat nature of transaction' args: 'l10n_be_intrastat.transaction', 'Intrastat Transaction Type'
Public methods (0)

No public methods.

New fields (4)
  • code Char
    required=True args: 'Code'
  • country_id Many2one → res.country
    args: 'res.country', 'Country'
  • description Char
    args: 'Description'
  • name Char
    translate=True args: 'Name'
Public methods (0)

No public methods.

New fields (2)
  • code Char
    readonly=True required=True args: 'Code'
  • description Text
    readonly=True args: 'Description'
Public methods (0)

No public methods.

New fields (2)
  • code Char
    readonly=True required=True args: 'Code'
  • name Char
    readonly=True args: 'Description'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • create_xml(self, cr, uid, ids, context=None)
    Creates xml that is to be exported and sent to estate for partner vat intra. :return: Value for next action. :rtype: dict

New fields (1)
  • intrastat_id Many2one → report.intrastat.code
    args: 'report.intrastat.code', 'Intrastat Code'
Public methods (1)
  • get_intrastat_recursively(self)
    @api.multi
    Recursively search in categories to find an intrastat code id

New fields (0)

No new fields.

Public methods (1)
  • get_intrastat_recursively(self)
    @api.multi
    Recursively search in categories to find an intrastat code id

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • description Text
    translate=True args: 'Description'
Public methods (0)

No public methods.

New fields (3)
  • incoterm_id Many2one → stock.incoterms
    help='International Commercial Terms are a series of predefined commercial terms used in international transactions.' args: 'stock.incoterms', 'Default incoterm for Intrastat'
  • region_id Many2one → l10n_be_intrastat.region
    args: 'l10n_be_intrastat.region', 'Intrastat region'
  • transport_mode_id Many2one → l10n_be_intrastat.transport_mode
    args: 'l10n_be_intrastat.transport_mode', 'Default transport mode'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • region_id Many2one → l10n_be_intrastat.region
    args: 'l10n_be_intrastat.region', 'Intrastat region'
Public methods (1)
  • get_regionid_from_locationid(self, location)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/8.0/l10n_be_intrastat
VERSION
VERSION 1.0
CATEGORY
CATEGORYReporting
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo SA
MAINTAINERS
MAINTAINERSOdoo SA
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Olivier Dony, Nicolas Martinelli
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:45:39
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - report_intrastat
    - base
    - product
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - report
    - stock
    - procurement
    - board
    - web_kanban_gauge
    - web_kanban_sparkline
    - sale
    - sales_team
    - account_voucher
    - account
    - analytic
    - edi
    - email_template
    - purchase
    - stock_account
    - sale_stock
    - account_accountant
    - l10n_be
    - base_vat
    - base_iban
    - account_chart
    - l10n_be_coda
    - l10n_be_invoice_bba
    - l10n_multilang
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Generates Intrastat XML report for declaration
Based on invoices.
    

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
intra_view_transaction_form intra.view.transaction_form l10n_be_intrastat.transaction form New
intra_view_transaction_tree intra.view.transaction_tree l10n_be_intrastat.transaction tree New
intra_view_transport_mode_form intra.view.transport_mode_form l10n_be_intrastat.transport_mode form New
intra_view_transport_mode_tree intra.view.transport_mode_tree l10n_be_intrastat.transport_mode tree New
l10n_be_intrastat_xml_decl_cust_invoice_view l10n_be_intrastat_xml.custinvoice_form account.invoice xpath Inherits account.invoice_form
l10n_be_intrastat_xml_decl_product_category_view l10n_be_intrastat_xml.productcategory_form product.category xpath Inherits product.product_category_form_view
l10n_be_intrastat_xml_decl_res_company_form_view l10n_be_intrastat_xml.rescompany_form res.company xpath Inherits base.view_company_form
l10n_be_intrastat_xml_decl_stock_warehouse_form_view l10n_be_intrastat_xml.stockwarehouse_form stock.warehouse xpath Inherits stock.view_warehouse
l10n_be_intrastat_xml_decl_supp_invoice_view l10n_be_intrastat_xml.suppinvoice_form account.invoice xpath Inherits account.invoice_supplier_form
view_intrastat_declaration_xml Intrastat XML Declaration l10n_be_intrastat_xml.xml_decl form New
Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • create_xml(self, cr, uid, ids, context=None)
    Creates xml that is to be exported and sent to estate for partner vat intra. :return: Value for next action. :rtype: dict