Spain - SII EDI Suministro de Libros

l10n_es_edi_sii
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/19.0/l10n_es_edi_sii
VERSION
VERSION 1.1
CATEGORY
CATEGORYAccounting/Localizations/EDI
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo S.A.
MAINTAINERS
MAINTAINERSOdoo S.A.
COMMITTERS
COMMITTERSOdoo Translation Bot, Josse Colpaert, Xavier Morel, Laurent Smet, Jairo Llopis, Julien Castiaux, Andrea Grazioso (agr-odoo), Anh Thao Pham (pta), Katherine Zaoral, Gorash, Dylan Kiss (dyki), Paolo Gatti, Sven Fuehr, Louis Gobert, Michaël Mattiello, Corentin Heinix (cohe), cahu, jlll
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:51:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - certificate
    - base_setup
    - base
    - web
    - l10n_es
    - account
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
    - account_edi_ubl_cii
    - account_edi
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module sends the taxes information (mostly VAT) of the
vendor bills and customer invoices to the SII.  It is called
Procedimiento G417 - IVA. Llevanza de libros registro.  It is
required for every company with a turnover of +6M€ and others can
already make use of it.  The invoices are automatically
sent after validation.

How the information is sent to the SII depends on the
configuration that is put in the taxes.  The taxes
that were in the chart template (l10n_es) are automatically
configured to have the right type.  It is possible however
that extra taxes need to be created for certain exempt/no sujeta reasons.

You need to configure your certificate and the tax agency.
    

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
certificate_certificate_view_form certificate_certificate_view_form.inherit.l10n_es_edi_sii certificate.certificate field Inherits certificate.certificate_certificate_view_form
certificate_certificate_view_search certificate_certificate_view_search.inherit.l10n_es_edi_sii certificate.certificate filter Inherits certificate.certificate_certificate_view_search
res_config_settings_view_form res.config.settings.view.form.inherit.l10n.es res.config.settings xpath Inherits l10n_es.res_config_settings_view_form
view_move_form_inherit_l10n_es_edi account.move.form.inherit.l10n_es_edi account.move xpath Inherits account.view_move_form
Models touched (7)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • l10n_es_edi_csv Char
    copy=False string='CSV return code' tracking=True
  • l10n_es_edi_is_required Boolean
    compute='_compute_l10n_es_edi_is_required' string='Is the Spanish EDI needed'
  • l10n_es_registration_date Date
    copy=False string='Registration Date'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • scope Selection
    selection_add=[('sii', 'SII')]
Public methods (0)

No public methods.

New fields (4)
  • l10n_es_sii_certificate_id Many2one → certificate.certificate
    comodel_name='certificate.certificate' compute='_compute_l10n_es_sii_certificate' readonly=False store=True string='Certificate (SII)'
  • l10n_es_sii_certificate_ids One2many → certificate.certificate
    comodel_name='certificate.certificate' domain=[('scope', '=', 'sii')] inverse_name='company_id'
  • l10n_es_sii_tax_agency Selection
    default=False selection=[('aeat', 'Agencia Tributaria española'), ('gipuzkoa', 'Hacienda Foral de Gipuzkoa'), ('bizkaia', 'Hacienda Foral de Bizkaia'), ('navarra', 'Hacienda Foral de Navarra')] string='Tax Agency for SII'
  • l10n_es_sii_test_env Boolean
    default=True help='Use the test environment for SII' string='SII Test Mode'
Public methods (0)

No public methods.

New fields (3)
  • l10n_es_sii_certificate_ids One2many
    readonly=False related='company_id.l10n_es_sii_certificate_ids'
  • l10n_es_sii_tax_agency Selection
    readonly=False related='company_id.l10n_es_sii_tax_agency'
  • l10n_es_sii_test_env Boolean
    readonly=False related='company_id.l10n_es_sii_test_env'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/18.0/l10n_es_edi_sii
VERSION
VERSION 1.1
CATEGORY
CATEGORYAccounting/Localizations/EDI
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Josse Colpaert, Denis Ledoux, Xavier Morel, Yannick Tivisse, Laurent Smet, Christophe Monniez, Jairo Llopis, Andrea Grazioso (agr-odoo), Anh Thao Pham (pta), Gorash, odoo, Thomas Beckers, Vincent Larcin, Merel Geens (mege), Gauthier Wala (gawa), Claire Bretton (clbr), Antoine Boonen, Dylan Kiss (dyki), Paolo Gatti, Arnaud Sibille, Ethan Vincent, Sven Fuehr, Louis Gobert, Corentin Heinix (cohe), cahu, jlll, Megaaaaaa
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:25:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - certificate
    - base_setup
    - base
    - web
    - l10n_es
    - account
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
    - account_edi
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pyOpenSSL
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module sends the taxes information (mostly VAT) of the
vendor bills and customer invoices to the SII.  It is called
Procedimiento G417 - IVA. Llevanza de libros registro.  It is
required for every company with a turnover of +6M€ and others can
already make use of it.  The invoices are automatically
sent after validation.

How the information is sent to the SII depends on the
configuration that is put in the taxes.  The taxes
that were in the chart template (l10n_es) are automatically
configured to have the right type.  It is possible however
that extra taxes need to be created for certain exempt/no sujeta reasons.

You need to configure your certificate and the tax agency.
    

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
certificate_certificate_view_form certificate_certificate_view_form.inherit.l10n_es_edi_sii certificate.certificate field Inherits certificate.certificate_certificate_view_form
certificate_certificate_view_search certificate_certificate_view_search.inherit.l10n_es_edi_sii certificate.certificate filter Inherits certificate.certificate_certificate_view_search
res_config_settings_view_form res.config.settings.view.form.inherit.l10n.es res.config.settings xpath Inherits l10n_es.res_config_settings_view_form
view_move_form_inherit_l10n_es_edi account.move.form.inherit.l10n_es_edi account.move xpath Inherits account.view_move_form
Models touched (7)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • l10n_es_edi_csv Char
    copy=False string='CSV return code' tracking=True
  • l10n_es_edi_is_required Boolean
    compute='_compute_l10n_es_edi_is_required' string='Is the Spanish EDI needed'
  • l10n_es_registration_date Date
    copy=False string='Registration Date'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • scope Selection
    selection_add=[('sii', 'SII')]
Public methods (0)

No public methods.

New fields (4)
  • l10n_es_sii_certificate_id Many2one → certificate.certificate
    comodel_name='certificate.certificate' compute='_compute_l10n_es_sii_certificate' readonly=False store=True string='Certificate (SII)'
  • l10n_es_sii_certificate_ids One2many → certificate.certificate
    comodel_name='certificate.certificate' domain=[('scope', '=', 'sii')] inverse_name='company_id'
  • l10n_es_sii_tax_agency Selection
    default=False selection=[('aeat', 'Agencia Tributaria española'), ('gipuzkoa', 'Hacienda Foral de Gipuzkoa'), ('bizkaia', 'Hacienda Foral de Bizkaia'), ('navarra', 'Hacienda Foral de Navarra')] string='Tax Agency for SII'
  • l10n_es_sii_test_env Boolean
    default=True help='Use the test environment for SII' string='SII Test Mode'
Public methods (0)

No public methods.

New fields (3)
  • l10n_es_sii_certificate_ids One2many
    readonly=False related='company_id.l10n_es_sii_certificate_ids'
  • l10n_es_sii_tax_agency Selection
    readonly=False related='company_id.l10n_es_sii_tax_agency'
  • l10n_es_sii_test_env Boolean
    readonly=False related='company_id.l10n_es_sii_test_env'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/17.0/l10n_es_edi_sii
VERSION
VERSION 1.0
CATEGORY
CATEGORYAccounting/Localizations/EDI
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Olivier Dony, Josse Colpaert, Denis Ledoux, Fabien Meghazi, Jorge Pinna Puissant, Jairo Llopis, Xavier-Do, Andrea Grazioso (agr-odoo), Anh Thao Pham (pta), Gorash, Guillaume (guva), william-andre, Julien Van Roy, Yolann Sabaux, Thomas Beckers, Stanislas Gueniffey, Merel Geens (mege), Gauthier Wala (gawa), Claire Bretton (clbr), Antoine Boonen, Dylan Kiss (dyki), Arnaud Sibille, Ethan Vincent, Sven Fuehr, moerradi, Louis Gobert, Hesham Saleh, Corentin Heinix (cohe), cahu
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:02:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
    - account_edi
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pyOpenSSL
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module sends the taxes information (mostly VAT) of the
vendor bills and customer invoices to the SII.  It is called
Procedimiento G417 - IVA. Llevanza de libros registro.  It is
required for every company with a turnover of +6M€ and others can
already make use of it.  The invoices are automatically
sent after validation.

How the information is sent to the SII depends on the
configuration that is put in the taxes.  The taxes
that were in the chart template (l10n_es) are automatically
configured to have the right type.  It is possible however
that extra taxes need to be created for certain exempt/no sujeta reasons.

You need to configure your certificate and the tax agency.
    

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
l10n_es_edi_certificate_form l10n_es_edi.certificate.form l10n_es_edi.certificate form New
l10n_es_edi_certificate_tree l10n_es_edi.certificate.tree l10n_es_edi.certificate tree New
res_config_settings_view_form res.config.settings.view.form.inherit.l10n.es res.config.settings xpath Inherits account.res_config_settings_view_form
view_move_form_inherit_l10n_es_edi account.move.form.inherit.l10n_es_edi account.move xpath Inherits account.view_move_form
Models touched (7)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • l10n_es_edi_csv Char
    copy=False string='CSV return code' tracking=True
  • l10n_es_edi_is_required Boolean
    compute='_compute_l10n_es_edi_is_required' string='Is the Spanish EDI needed'
  • l10n_es_registration_date Date
    copy=False string='Registration Date'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (5)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True
  • content Binary
    help='PFX Certificate' required=True string='File'
  • date_end Datetime
    help='The date on which the certificate expires' readonly=True
  • date_start Datetime
    help='The date on which the certificate starts to be valid' readonly=True
  • password Char
    groups='base.group_system' help='Passphrase for the PFX certificate'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (4)
  • l10n_es_edi_certificate_id Many2one → l10n_es_edi.certificate
    comodel_name='l10n_es_edi.certificate' compute='_compute_l10n_es_edi_certificate' readonly=False store=True string='Certificate (ES)'
  • l10n_es_edi_certificate_ids One2many → l10n_es_edi.certificate
    comodel_name='l10n_es_edi.certificate' inverse_name='company_id'
  • l10n_es_edi_tax_agency Selection
    default=False selection=[('aeat', 'Agencia Tributaria española'), ('gipuzkoa', 'Hacienda Foral de Gipuzkoa'), ('bizkaia', 'Hacienda Foral de Bizkaia')] string='Tax Agency for SII'
  • l10n_es_edi_test_env Boolean
    default=True help='Use the test environment' string='Test Mode'
Public methods (0)

No public methods.

New fields (3)
  • l10n_es_edi_certificate_ids One2many
    readonly=False related='company_id.l10n_es_edi_certificate_ids'
  • l10n_es_edi_tax_agency Selection
    readonly=False related='company_id.l10n_es_edi_tax_agency'
  • l10n_es_edi_test_env Boolean
    readonly=False related='company_id.l10n_es_edi_test_env'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/16.0/l10n_es_edi_sii
VERSION
VERSION 1.0
CATEGORY
CATEGORYAccounting/Localizations/EDI
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Fabien Pinckaers, Josse Colpaert, Denis Ledoux, Fabien Meghazi, Xavier Morel, Yannick Tivisse, Laurent Smet, Christophe Monniez, Jairo Llopis, Andrea Grazioso (agr-odoo), alt-odoo, Anh Thao Pham (pta), Guillaume (guva), william-andre, Julien Van Roy, MerlinGuillaume, Nshimiyimana Séna, Yolann Sabaux, Thomas Beckers, Stanislas Gueniffey, Habib (ayh), Merel Geens (mege), Gauthier Wala (gawa), Ethan Hildick, Antoine Boonen, Dylan Kiss (dyki), Arnaud Sibille, axtr, Louis Gobert, Emilio Pascual, Hesham Saleh
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:47
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
    - account_edi
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pyOpenSSL
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
        This module sends the taxes information (mostly VAT) of the 
        vendor bills and customer invoices to the SII.  It is called 
        Procedimiento G417 - IVA. Llevanza de libros registro.  It is 
        required for every company with a turnover of +6M€ and others can 
        already make use of it.  The invoices are automatically 
        sent after validation.  
        
        How the information is sent to the SII depends on the 
        configuration that is put in the taxes.  The taxes 
        that were in the chart template (l10n_es) are automatically 
        configured to have the right type.  It is possible however 
        that extra taxes need to be created for certain exempt/no sujeta reasons.   
        
        You need to configure your certificate and the tax agency.  
    

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
account_tax_form_inherit_l10n_es_edi account.tax.form.inherit.l10n_es_edi account.tax xpath Inherits account.view_tax_form
l10n_es_edi_certificate_form l10n_es_edi.certificate.form l10n_es_edi.certificate form New
l10n_es_edi_certificate_tree l10n_es_edi.certificate.tree l10n_es_edi.certificate tree New
res_config_settings_view_form res.config.settings.view.form.inherit.l10n.es res.config.settings xpath Inherits account.res_config_settings_view_form
view_move_form_inherit_l10n_es_edi account.move.form.inherit.l10n_es_edi account.move xpath Inherits account.view_move_form
Models touched (10)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • l10n_es_edi_csv Char
    copy=False string='CSV return code' tracking=True
  • l10n_es_edi_is_required Boolean
    compute='_compute_l10n_es_edi_is_required' string='Is the Spanish EDI needed'
  • l10n_es_registration_date Date
    copy=False string='Registration Date'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • l10n_es_bien_inversion Boolean
    default=False args: 'Bien de Inversion'
  • l10n_es_exempt_reason Selection
    selection=[('E1', 'Art. 20'), ('E2', 'Art. 21'), ('E3', 'Art. 22'), ('E4', 'Art. 23 y 24'), ('E5', 'Art. 25'), ('E6', 'Otros')] string='Exempt Reason (Spain)'
  • l10n_es_type Selection
    default='sujeto' selection=[('exento', 'Exento'), ('sujeto', 'Sujeto'), ('sujeto_agricultura', 'Sujeto Agricultura'), ('sujeto_isp', 'Sujeto ISP'), ('no_sujeto', 'No Sujeto'), ('no_sujeto_loc', 'No Sujeto por reglas de Localization'), ('no_deducible', 'No Deducible'), ('retencion', 'Retencion'), ('recargo', 'Recargo de Equivalencia'), ('ignore', 'Ignore even the base amount')] string='Tax Type (Spain)'
Public methods (0)

No public methods.

New fields (5)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True
  • content Binary
    help='PFX Certificate' required=True string='File'
  • date_end Datetime
    help='The date on which the certificate expires' readonly=True
  • date_start Datetime
    help='The date on which the certificate starts to be valid' readonly=True
  • password Char
    groups='base.group_system' help='Passphrase for the PFX certificate'
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • l10n_es_edi_certificate_id Many2one → l10n_es_edi.certificate
    comodel_name='l10n_es_edi.certificate' compute='_compute_l10n_es_edi_certificate' readonly=False store=True string='Certificate (ES)'
  • l10n_es_edi_certificate_ids One2many → l10n_es_edi.certificate
    comodel_name='l10n_es_edi.certificate' inverse_name='company_id'
  • l10n_es_edi_tax_agency Selection
    default=False selection=[('aeat', 'Agencia Tributaria española'), ('gipuzkoa', 'Hacienda Foral de Gipuzkoa'), ('bizkaia', 'Hacienda Foral de Bizkaia')] string='Tax Agency for SII'
  • l10n_es_edi_test_env Boolean
    default=True help='Use the test environment' string='Test Mode'
Public methods (0)

No public methods.

New fields (3)
  • l10n_es_edi_certificate_ids One2many
    readonly=False related='company_id.l10n_es_edi_certificate_ids'
  • l10n_es_edi_tax_agency Selection
    readonly=False related='company_id.l10n_es_edi_tax_agency'
  • l10n_es_edi_test_env Boolean
    readonly=False related='company_id.l10n_es_edi_test_env'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/15.0/l10n_es_edi_sii
VERSION
VERSION 1.0
CATEGORY
CATEGORYAccounting/Localizations/EDI
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSJosse Colpaert, Denis Ledoux, Laurent Smet, Jairo Llopis, alt-odoo, Anh Thao Pham (pta), MerlinGuillaume, Nshimiyimana Séna, Yolann Sabaux, Thomas Beckers, Stanislas Gueniffey, Habib (ayh), Merel Geens (mege), Gauthier Wala (gawa), Ethan Hildick, Antoine Boonen, axtr
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:25:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
    - account_edi
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pyOpenSSL
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
        This module sends the taxes information (mostly VAT) of the 
        vendor bills and customer invoices to the SII.  It is called 
        Procedimiento G417 - IVA. Llevanza de libros registro.  It is 
        required for every company with a turnover of +6M€ and others can 
        already make use of it.  The invoices are automatically 
        sent after validation.  
        
        How the information is sent to the SII depends on the 
        configuration that is put in the taxes.  The taxes 
        that were in the chart template (l10n_es) are automatically 
        configured to have the right type.  It is possible however 
        that extra taxes need to be created for certain exempt/no sujeta reasons.   
        
        You need to configure your certificate and the tax agency.  
    

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
account_tax_form_inherit_l10n_es_edi account.tax.form.inherit.l10n_es_edi account.tax xpath Inherits account.view_tax_form
l10n_es_edi_certificate_form l10n_es_edi.certificate.form l10n_es_edi.certificate form New
l10n_es_edi_certificate_tree l10n_es_edi.certificate.tree l10n_es_edi.certificate tree New
res_config_settings_view_form res.config.settings.view.form.inherit.l10n.es res.config.settings xpath Inherits account.res_config_settings_view_form
Models touched (9)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • l10n_es_edi_csv Char
    copy=False string='CSV return code'
  • l10n_es_edi_is_required Boolean
    compute='_compute_l10n_es_edi_is_required' string='Is the Spanish EDI needed'
  • l10n_es_registration_date Date
    copy=False help='Technical field to keep the date the invoice was sent the first time as the date the invoice was registered into the system.' string='Registration Date'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • l10n_es_bien_inversion Boolean
    default=False args: 'Bien de Inversion'
  • l10n_es_exempt_reason Selection
    selection=[('E1', 'Art. 20'), ('E2', 'Art. 21'), ('E3', 'Art. 22'), ('E4', 'Art. 23 y 24'), ('E5', 'Art. 25'), ('E6', 'Otros')] string='Exempt Reason (Spain)'
  • l10n_es_type Selection
    default='sujeto' selection=[('exento', 'Exento'), ('sujeto', 'Sujeto'), ('sujeto_agricultura', 'Sujeto Agricultura'), ('sujeto_isp', 'Sujeto ISP'), ('no_sujeto', 'No Sujeto'), ('no_sujeto_loc', 'No Sujeto por reglas de Localization'), ('no_deducible', 'No Deducible'), ('retencion', 'Retencion'), ('recargo', 'Recargo de Equivalencia'), ('ignore', 'Ignore even the base amount')] string='Tax Type (Spain)'
Public methods (0)

No public methods.

New fields (5)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True
  • content Binary
    help='PFX Certificate' required=True string='File'
  • date_end Datetime
    help='The date on which the certificate expires' readonly=True
  • date_start Datetime
    help='The date on which the certificate starts to be valid' readonly=True
  • password Char
    groups='base.group_system' help='Passphrase for the PFX certificate'
Public methods (1)
  • create(self, vals)
    @api.model

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • l10n_es_edi_certificate_id Many2one → l10n_es_edi.certificate
    comodel_name='l10n_es_edi.certificate' compute='_compute_l10n_es_edi_certificate' readonly=False store=True string='Certificate (ES)'
  • l10n_es_edi_certificate_ids One2many → l10n_es_edi.certificate
    comodel_name='l10n_es_edi.certificate' inverse_name='company_id'
  • l10n_es_edi_tax_agency Selection
    default=False selection=[('aeat', 'Agencia Tributaria española'), ('gipuzkoa', 'Hacienda Foral de Gipuzkoa'), ('bizkaia', 'Hacienda Foral de Bizkaia')] string='Tax Agency for SII'
  • l10n_es_edi_test_env Boolean
    default=True help='Use the test environment' string='Test Mode'
Public methods (0)

No public methods.

New fields (3)
  • l10n_es_edi_certificate_ids One2many
    readonly=False related='company_id.l10n_es_edi_certificate_ids'
  • l10n_es_edi_tax_agency Selection
    readonly=False related='company_id.l10n_es_edi_tax_agency'
  • l10n_es_edi_test_env Boolean
    readonly=False related='company_id.l10n_es_edi_test_env'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/14.0/l10n_es_edi_sii
VERSION
VERSION 1.0
CATEGORY
CATEGORYAccounting/Localizations/EDI
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSJosse Colpaert, Laurent Smet, alt-odoo, MerlinGuillaume, Nshimiyimana Séna, Yolann Sabaux, Thomas Beckers, Habib (ayh), Ethan Hildick
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:14:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - l10n_es
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_iban
    - base_vat
    - account_edi_extended
    - account_edi
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pyOpenSSL
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
        This module sends the taxes information (mostly VAT) of the 
        vendor bills and customer invoices to the SII.  It is called 
        Procedimiento G417 - IVA. Llevanza de libros registro.  It is 
        required for every company with a turnover of +6M€ and others can 
        already make use of it.  The invoices are automatically 
        sent after validation.  
        
        How the information is sent to the SII depends on the 
        configuration that is put in the taxes.  The taxes 
        that were in the chart template (l10n_es) are automatically 
        configured to have the right type.  It is possible however 
        that extra taxes need to be created for certain exempt/no sujeta reasons.   
        
        You need to configure your certificate and the tax agency.  
    

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
account_tax_form_inherit_l10n_es_edi account.tax.form.inherit.l10n_es_edi account.tax xpath Inherits account.view_tax_form
l10n_es_edi_certificate_form l10n_es_edi.certificate.form l10n_es_edi.certificate form New
l10n_es_edi_certificate_tree l10n_es_edi.certificate.tree l10n_es_edi.certificate tree New
res_config_settings_view_form res.config.settings.view.form.inherit.l10n.es res.config.settings xpath Inherits account.res_config_settings_view_form
Models touched (8)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • l10n_es_edi_csv Char
    copy=False string='CSV return code'
  • l10n_es_edi_is_required Boolean
    compute='_compute_l10n_es_edi_is_required' string='Is the Spanish EDI needed'
  • l10n_es_registration_date Date
    copy=False help='Technical field to keep the date the invoice was sent the first time as the date the invoice was registered into the system.' string='Registration Date'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • l10n_es_bien_inversion Boolean
    default=False args: 'Bien de Inversion'
  • l10n_es_exempt_reason Selection
    selection=[('E1', 'Art. 20'), ('E2', 'Art. 21'), ('E3', 'Art. 22'), ('E4', 'Art. 23 y 24'), ('E5', 'Art. 25'), ('E6', 'Otros')] string='Exempt Reason (Spain)'
  • l10n_es_type Selection
    default='sujeto' selection=[('exento', 'Exento'), ('sujeto', 'Sujeto'), ('sujeto_agricultura', 'Sujeto Agricultura'), ('sujeto_isp', 'Sujeto ISP'), ('no_sujeto', 'No Sujeto'), ('no_sujeto_loc', 'No Sujeto por reglas de Localization'), ('no_deducible', 'No Deducible'), ('retencion', 'Retencion'), ('recargo', 'Recargo de Equivalencia'), ('ignore', 'Ignore even the base amount')] string='Tax Type (Spain)'
Public methods (0)

No public methods.

New fields (5)
  • company_id Many2one → res.company
    comodel_name='res.company' default=<expr> required=True
  • content Binary
    help='PFX Certificate' required=True string='File'
  • date_end Datetime
    help='The date on which the certificate expires' readonly=True
  • date_start Datetime
    help='The date on which the certificate starts to be valid' readonly=True
  • password Char
    groups='base.group_system' help='Passphrase for the PFX certificate'
Public methods (1)
  • create(self, vals)
    @api.model

New fields (4)
  • l10n_es_edi_certificate_id Many2one → l10n_es_edi.certificate
    comodel_name='l10n_es_edi.certificate' compute='_compute_l10n_es_edi_certificate' readonly=False store=True string='Certificate (ES)'
  • l10n_es_edi_certificate_ids One2many → l10n_es_edi.certificate
    comodel_name='l10n_es_edi.certificate' inverse_name='company_id'
  • l10n_es_edi_tax_agency Selection
    default=False selection=[('aeat', 'Agencia Tributaria española'), ('gipuzkoa', 'Hacienda Foral de Gipuzkoa'), ('bizkaia', 'Hacienda Foral de Bizkaia')] string='Tax Agency for SII'
  • l10n_es_edi_test_env Boolean
    help='Use the test environment' string='Test Mode'
Public methods (0)

No public methods.

New fields (3)
  • l10n_es_edi_certificate_ids One2many
    readonly=False related='company_id.l10n_es_edi_certificate_ids'
  • l10n_es_edi_tax_agency Selection
    readonly=False related='company_id.l10n_es_edi_tax_agency'
  • l10n_es_edi_test_env Boolean
    readonly=False related='company_id.l10n_es_edi_test_env'
Public methods (0)

No public methods.