Spain - SII EDI Suministro de Libros
l10n_es_edi_sii · odoo/odoo
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity25/25In 7 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_journal_dashboard_kanban_view_sii |
account.journal.dashboard.kanban.sii | account.journal | kanban | Inherits account.account_journal_dashboard_kanban_view |
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_account_invoice_filter_inherit_l10n_es_edi_sii |
account.move.search.inherit.l10n_es_edi_sii | account.move | search | Inherits account.view_account_invoice_filter |
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 9
-
l10n_es_sii_kanban_stateSelectioncompute='_compute_l10n_es_sii_pending_count'selection=[('error', 'Error'), ('urgent', 'Urgent')] -
l10n_es_sii_pending_countIntegercompute='_compute_l10n_es_sii_pending_count'
-
action_l10n_es_sii_open_pending(self)
-
l10n_es_edi_csvCharhelp='Secure Verification Code of the last document'related='l10n_es_edi_sii_last_document_id.csv'string='CSV' -
l10n_es_edi_is_requiredBooleancompute='_compute_l10n_es_edi_is_required'compute_sql='_compute_sql_l10n_es_edi_is_required'compute_sudo=Truestring='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_errorHtmlrelated='l10n_es_edi_sii_last_document_id.response_message'string='SII Error' -
l10n_es_edi_sii_last_document_idMany2one → l10n_es_edi_sii.documentcomodel_name='l10n_es_edi_sii.document'compute='_compute_l10n_es_edi_sii_data'compute_sql='_compute_sql_l10n_es_edi_sii_last_document_id'compute_sudo=Truestring='Last SII Document' -
l10n_es_edi_sii_stateSelectioncompute='_compute_l10n_es_edi_sii_data'compute_sql='_compute_sql_l10n_es_edi_sii_state'compute_sudo=Trueselection=[('to_send', 'To Send'), ('to_cancel', 'To Cancel'), ('sent', 'Sent'), ('accepted_with_errors', 'Accepted with Errors'), ('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)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
-
scopeSelectionselection_add=[('sii', 'SII')]
No public methods.
-
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)
-
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.
-
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…