TIP: You can type at any time to perform a new search.
Spain - SII EDI Suministro de Libros
l10n_es_edi_sii · odoo/odoo
Security findings
- Repository
- odoo/odoo · module folder
- Module version
- 1.1
- Category
- Accounting/Localizations/EDI
- Folder size
- 0.17 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-10-05 00:19:45
- Authors
- Odoo S.A.
- Maintainers
- Odoo S.A.
- Committers
- Xavier Morel, Raphael Collet, Josse Colpaert, Odoo Translation Bot, Christophe Matthieu, Victor Feyens, Katherine Zaoral, Tiffany Chang (tic), Yosua Nicolaus, Dylan Kiss (dyki), Harsh Modi, Smit Patel, Corentin Heinix (cohe), Krzysztof Magusiak (krma), cahu, jlll, Carlos (csae)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
certificate_certificate_view_form |
certificate_certificate_view_form.inherit.l10n_es_edi_sii | certificate.certificate | form | Inherits certificate.certificate_certificate_view_form |
certificate_certificate_view_search |
certificate_certificate_view_search.inherit.l10n_es_edi_sii | certificate.certificate | search | Inherits certificate.certificate_certificate_view_search |
res_config_settings_view_form |
res.config.settings.view.form.inherit.l10n.es | res.config.settings | form | Inherits l10n_es.res_config_settings_view_form |
view_invoice_tree_inherit_l10n_es_edi_sii |
account.move.tree.inherit.l10n_es_edi_sii | account.move | tree | Inherits account.view_invoice_tree |
view_move_form_inherit_l10n_es_edi |
account.move.form.inherit.l10n_es_edi | account.move | form | Inherits account.view_move_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (7)
New fields (6)
-
l10n_es_edi_csvCharcompute='_compute_l10n_es_edi_sii_data'help='Secure Verification Code of the last accepted document'string='CSV' -
l10n_es_edi_is_requiredBooleancompute='_compute_l10n_es_edi_is_required'string='Is the Spanish EDI needed' -
l10n_es_edi_sii_document_idsOne2many → l10n_es_edi_sii.documentcomodel_name='l10n_es_edi_sii.document'inverse_name='move_id'string='SII Documents' -
l10n_es_edi_sii_errorHtmlcompute='_compute_l10n_es_edi_sii_data'string='SII Error' -
l10n_es_edi_sii_stateSelectioncompute='_compute_l10n_es_edi_sii_data'selection=[('to_send', 'To Send'), ('sent', 'Sent'), ('cancelled', 'Cancelled')]string='Spain SII Status' -
l10n_es_registration_dateDatecopy=Falsehelp='Date when the invoice was registered in the SII system.'string='Registration Date'
-
action_l10n_es_send_sii(self) -
action_l10n_es_sii_send_in_batch(self)Groups selected invoices, chunks them, and sends them to SII via batched payloads. -
button_request_cancel(self)
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)
-
scopeSelectionselection_add=[('sii', 'SII')]
No public methods.
New fields (10)
-
attachment_idMany2one → ir.attachmentcomodel_name='ir.attachment'help='The full JSON payload (Header + Body) sent to the SII.'ondelete='restrict'string='SII JSON Payload' -
company_idMany2one → res.companycomodel_name='res.company'related='move_id.company_id' -
csvCharhelp='Secure Verification Code returned by the SII'string='CSV' -
move_idMany2one → account.movecomodel_name='account.move'ondelete='cascade'required=True -
response_messageHtmlstring='Response' -
sii_json_fileBinarycompute='_compute_sii_json_file'string='Download JSON' -
sii_json_filenameCharcompute='_compute_sii_json_file'string='JSON Filename' -
stateSelectiondefault='to_send'required=Trueselection=[('to_send', 'To Send'), ('accepted', 'Accepted'), ('accepted_with_errors', 'Accepted with Errors'), ('to_cancel', 'To Cancel'), ('cancelled', 'Cancelled')]string='State' -
xml_attachment_filenameCharcompute='_compute_xml_attachment'string='XML Filename' -
xml_attachment_rawBinarycompute='_compute_xml_attachment'string='XML'
-
action_download_json(self) -
action_download_xml(self)
New fields (4)
-
l10n_es_sii_certificate_idMany2one → certificate.certificatecomodel_name='certificate.certificate'compute='_compute_l10n_es_sii_certificate'readonly=Falsestore=Truestring='Certificate (SII)' -
l10n_es_sii_certificate_idsOne2many → certificate.certificatecomodel_name='certificate.certificate'domain=[('scope', '=', 'sii')]inverse_name='company_id' -
l10n_es_sii_tax_agencySelectiondefault=Falseselection=[('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_envBooleandefault=Truehelp='Use the test environment for SII'string='SII Test Mode'
No public methods.
New fields (3)
-
l10n_es_sii_certificate_idsOne2manyreadonly=Falserelated='company_id.l10n_es_sii_certificate_ids' -
l10n_es_sii_tax_agencySelectionreadonly=Falserelated='company_id.l10n_es_sii_tax_agency' -
l10n_es_sii_test_envBooleanreadonly=Falserelated='company_id.l10n_es_sii_test_env'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…