TIP: You can type at any time to perform a new search.
Suministro Inmediato de Información en el IVA
l10n_es_aeat_sii · OCA/l10n-spain
- Repository
- OCA/l10n-spain · module folder · Try on Runboat
- Module version
- 1.9.2
- Category
- Accounting & Finance
- Folder size
- 1.11 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-spain
- Last tracking update
- 2026-08-07 07:31:48
- Authors
- Odoo Community Association (OCA), Acysos S.L., Tecnativa, Comunitea, Diagram, Minorisa, Studio73, FactorLibre, Otherway, Javi Melendez
- Maintainers
- Odoo Community Association (OCA), Acysos S.L., Tecnativa, Comunitea, Diagram, Minorisa, Studio73, FactorLibre, Otherway, Javi Melendez
- Committers
- Pedro M. Baeza, mreficent, angelmoya, manu, Eric Antones, Isaac Gallart Bochons, Weblate, OCA Transbot, OCA-git-bot, oca-travis, Pablo Fuentes, Juanjo, oca-ci, xAdrianC
- Odoo dependencies
- Python dependencies
- OpenSSL, requests, zeep, unidecode
- System dependencies
- None
- Required by
- l10n_es_aeat_sii_extra_data, l10n_es_aeat_sii_oss, l10n_es_dua_sii
- Description
Code Analysis ⓘ
Views touched (21)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
aeat_sii_map_view_form |
aeat.sii.map.view.form | aeat.sii.map | form | New |
aeat_sii_map_view_tree |
aeat.sii.map.view.tree | aeat.sii.map | tree | New |
aeat_sii_mapping_registration_keys_view_search |
aeat.sii.mapping.registration.keys.view.search | aeat.sii.mapping.registration.keys | search | New |
aeat_sii_mapping_registration_keys_view_tree |
aeat.sii.mapping.registration.keys.view.tree | aeat.sii.mapping.registration.keys | tree | New |
aeat_sii_tax_agency_form_view |
aeat.sii.tax.agency.form.view | aeat.sii.tax.agency | form | New |
aeat_sii_tax_agency_tree_view |
aeat.sii.tax.agency.tree,view | aeat.sii.tax.agency | tree | New |
invoice_sii_form |
account.invoice.sii.form | account.invoice | form | Inherits account.invoice_form |
invoice_sii_form_connector |
account.invoice.sii.form - Connector | account.invoice | form | Inherits invoice_sii_form |
invoice_supplier_sii_form |
account.invoice.supplier.sii.form | account.invoice | form | Inherits account.invoice_supplier_form |
invoice_supplier_sii_form_connector |
account.invoice.supplier.sii.form - Connector | account.invoice | form | Inherits invoice_supplier_sii_form |
l10n_es_aeat_sii_map_lines_view_tree |
aeat.sii.map.lines.view.tree | aeat.sii.map.lines | tree | New |
l10n_es_sii_form_view |
l10n.es.aeat.sii.form | l10n.es.aeat.sii | form | New |
l10n_es_sii_password_wizard_view |
l10n.es.aeat.sii.password.wizard | l10n.es.aeat.sii.password | form | New |
l10n_es_sii_tree_view |
l10n.es.aeat.sii.tree | l10n.es.aeat.sii | tree | New |
product_template_form_sii_view |
product.template.form.inherit.sii | product.template | form | Inherits product.product_template_form_view |
view_account_invoice_refund |
account.invoice.refund | Inherits account.view_account_invoice_refund | ||
view_account_invoice_sii_filter |
account.invoice.select.sii | account.invoice | Inherits account.view_account_invoice_filter | |
view_account_position_form |
account.fiscal.position.form | account.fiscal.position | form | Inherits account.view_account_position_form |
view_company_sii_form |
res.company.sii.form | res.company | form | Inherits base.view_company_form |
view_partner_form |
res.partner | form | Inherits base_vat.view_partner_form | |
view_queue_job_sii |
queue.job | tree | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (14)
New fields (7)
-
sii_activeBooleancopy=Falsedefault=Truehelp='Enable SII for this fiscal position?'string='SII Active' -
sii_enabledBooleanreadonly=Truerelated='company_id.sii_enabled' -
sii_exempt_causeSelectiondefault=default_sii_exempt_causeselection='_get_selection_sii_exempt_cause'string='SII Exempt Cause' -
sii_no_taxable_causeSelectiondefault='ImporteTAIReglasLocalizacion'oldname='no_taxable_cause'selection=[('ImportePorArticulos7_14_Otros', 'No sujeta - No sujeción artículo 7, 14, otros'), ('ImporteTAIReglasLocalizacion', 'Operaciones no sujetas en el TAI por reglas de localización')]string='SII No taxable cause' -
sii_partner_identification_typeSelectionselection=[('1', 'National'), ('2', 'Intracom'), ('3', 'Export')]string='SII partner Identification Type' -
sii_registration_key_purchaseMany2one → aeat.sii.mapping.registration.keysdomain=[('type', '=', 'purchase')] args: 'aeat.sii.mapping.registration.keys', 'Default SII Registration Key for Purchases' -
sii_registration_key_saleMany2one → aeat.sii.mapping.registration.keysdomain=[('type', '=', 'sale')] args: 'aeat.sii.mapping.registration.keys', 'Default SII Registration Key for Sales'
-
default_sii_exempt_cause(self)@api.model
New fields (22)
-
invoice_jobs_idsMany2many → queue.jobcolumn1='invoice_id'column2='job_id'comodel_name='queue.job'copy=Falsestring='Connector Jobs' -
sii_account_registration_dateDatecopy=Falsehelp='Indicates the account registration date set at the SII, which must be the date when the invoice is recorded in the system and is independent of the date of the accounting entry of the invoice'readonly=Truestring='SII account registration date' -
sii_content_sentTextcopy=Falsereadonly=Truestring='SII last content sent' -
sii_csvCharcopy=Falsereadonly=Truestring='SII CSV' -
sii_descriptionTextcompute='_compute_sii_description'inverse='_inverse_sii_description'store=Truestring='SII computed description' -
sii_description_methodSelectionreadonly=Truerelated='company_id.sii_description_method' -
sii_enabledBooleancompute='_compute_sii_enabled'string='Enable SII' -
sii_header_sentTextcopy=Falsereadonly=Truestring='SII last header sent' -
sii_macrodataBooleancompute='_compute_macrodata'help='Check to confirm that the invoice has an absolute amount greater o equal to 100 000 000,00 euros.'string='MacroData' -
sii_manual_descriptionTextcopy=Falsesize=500string='SII manual description' -
sii_property_cadastrial_codeCharcopy=Falsesize=25string='Real property cadastrial code' -
sii_property_locationSelectioncopy=Falseselection=[('1', '[1]-Real property with cadastral code located within the Spanish territory except Basque Country or Navarra'), ('2', '[2]-Real property located in the Basque Country or Navarra'), ('3', '[3]-Real property in any of the above situations but without cadastral code'), ('4', '[4]-Real property located in a foreign country')]string='Real property location' -
sii_refund_specific_invoice_typeSelectionhelp='Fill this field when the refund are one of the specific cases of article 80 of LIVA for notifying to SII with the proper invoice type.'selection=[('R1', 'Error based on law and Art. 80 One and Two LIVA (R1)'), ('R2', 'Art. 80 Three LIVA - Bankruptcy (R2)'), ('R3', 'Art. 80 Four LIVA - Bad debt (R3)'), ('R4', 'Rest of causes (R4)')] -
sii_refund_typeSelectiondefault=<expr>oldname='refund_type'selection=[('I', 'By differences')]string='SII Refund Type' -
sii_registration_keyMany2one → aeat.sii.mapping.registration.keyscomodel_name='aeat.sii.mapping.registration.keys'default=_default_sii_registration_keyoldname='registration_key'string='SII registration key' -
sii_registration_key_additional1Many2one → aeat.sii.mapping.registration.keyscomodel_name='aeat.sii.mapping.registration.keys'string='Additional SII registration key' -
sii_registration_key_additional2Many2one → aeat.sii.mapping.registration.keyscomodel_name='aeat.sii.mapping.registration.keys'string='Additional 2 SII registration key' -
sii_registration_key_codeCharreadonly=Truerelated='sii_registration_key.code' -
sii_returnTextcopy=Falsereadonly=Truestring='SII Return' -
sii_send_errorTextcopy=Falsereadonly=Truestring='SII Send Error' -
sii_send_failedBooleancopy=Falsehelp='Indicates that the last attempt to communicate this invoice to the SII has failed. See SII return for details'string='SII send failed' -
sii_stateSelectioncopy=Falsedefault='not_sent'help='Indicates the state of this invoice in relation with the presentation at the SII'readonly=Trueselection=SII_STATESstring='SII send state'
-
action_cancel(self)@api.multi -
action_cancel_draft(self)@api.multi -
cancel_one_invoice(self)@job(default_channel='root.invoice_validate_sii')@api.multi -
cancel_sii(self)@api.multi -
confirm_one_invoice(self)@job(default_channel='root.invoice_validate_sii')@api.multi -
create(self, vals)@api.modelComplete registration key for auto-generated invoices. -
invoice_validate(self)@api.multi -
is_sii_invoice(self)Hook method to be overridden in additional modules to verify if the invoice must be sended trough SII system, for special cases. :param self: Single invoice record :return: bool value indicating if the invoice should be sent to SII. -
onchange_fiscal_position_id_l10n_es_aeat_sii(self)@api.onchange('fiscal_position_id') -
onchange_sii_refund_type(self)@api.onchange('sii_refund_type') -
send_sii(self)@api.multi -
unlink(self)@api.multiA registered invoice at the SII cannot be deleted -
write(self, vals)@api.multiFor supplier invoices the SII primary key is the supplier VAT/ID Otro and the supplier invoice number. Cannot let change these values in a SII registered supplier invoice
New fields (4)
-
sii_refund_typeSelectionselection=_selection_sii_refund_typestring='SII Refund Type' -
sii_refund_type_requiredBooleandefault=_default_sii_refund_type_requiredstring='Is SII Refund Type required?' -
supplier_invoice_number_refundCharstring='Supplier Invoice Number' -
supplier_invoice_number_refund_requiredBooleandefault=_default_supplier_invoice_number_refund_requiredstring='Is Supplier Invoice Number Required?'
-
compute_refund(self, mode='refund')@api.multi
New fields (2)
-
amount_companyMonetarycompute='_compute_base_amount_company'string='Amount in company currency' -
base_companyMonetarycompute='_compute_base_amount_company'string='Base in company currency'
No public methods.
New fields (4)
-
date_fromDatestring='Date from' -
date_toDatestring='Date to' -
map_linesOne2many → aeat.sii.map.linescomodel_name='aeat.sii.map.lines'inverse_name='sii_map_id'string='Lines' -
nameCharrequired=Truestring='Model'
No public methods.
New fields (4)
-
codeCharrequired=Truestring='Code' -
nameCharstring='Name' -
sii_map_idMany2one → aeat.sii.mapcomodel_name='aeat.sii.map'ondelete='cascade'string='Aeat SII Map' -
taxesMany2many → account.tax.templatecomodel_name='account.tax.template'string='Taxes'
No public methods.
New fields (3)
-
codeCharrequired=Truesize=2string='Code' -
nameCharrequired=Truestring='Name' -
typeSelectionrequired=Trueselection=[('sale', 'Sale'), ('purchase', 'Purchase')]string='Type'
-
name_get(self)@api.multi
New fields (15)
-
nameCharrequired=Truestring='Tax Agency' -
wsdl_icCharrequired=Truestring='SuministroOpIntracomunitarias WSDL' -
wsdl_ic_test_addressCharstring='SuministroOpIntracomunitarias Test Address' -
wsdl_inCharrequired=Truestring='SuministroFactRecibidas WSDL' -
wsdl_in_test_addressCharstring='SuministroFactRecibidas Test Address' -
wsdl_ottCharrequired=Truestring='SuministroOpTrascendTribu WSDL' -
wsdl_ott_test_addressCharstring='SuministroOpTrascendTribu Test Address' -
wsdl_outCharrequired=Truestring='SuministroFactEmitidas WSDL' -
wsdl_out_test_addressCharstring='SuministroFactEmitidas Test Address' -
wsdl_piCharrequired=Truestring='SuministroBienesInversion WSDL' -
wsdl_pi_test_addressCharstring='SuministroBienesInversion Test Address' -
wsdl_prCharrequired=Truestring='SuministroCobrosEmitidas WSDL' -
wsdl_pr_test_addressCharstring='SuministroCobrosEmitidas Test Address' -
wsdl_psCharrequired=Truestring='SuministroPagosRecibidas WSDL' -
wsdl_ps_test_addressCharstring='SuministroPagosRecibidas Test Address'
No public methods.
New fields (8)
-
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=Truestring='Company' -
date_endDatestring='End Date' -
date_startDatestring='Start Date' -
fileBinaryrequired=Truestring='File' -
nameCharstring='Name' -
private_keyCharreadonly=Truestring='Private Key' -
public_keyCharreadonly=Truestring='Public Key' -
stateSelectiondefault='draft'string='State' args: [('draft', 'Draft'), ('active', 'Active')]
-
action_activate(self)@api.multi -
load_password_wizard(self)@api.multi
New fields (2)
-
folderCharrequired=Truestring='Folder Name' -
passwordCharrequired=Truestring='Password'
-
get_keys(self)@api.multi
New fields (1)
-
sii_exempt_causeSelectionselection=[('none', 'None'), ('E1', '[E1] Art. 20: Operaciones interiores exentas'), ('E2', '[E2] Art. 21: Exenciones en las exportaciones de bienes'), ('E3', '[E3] Art. 22: Exenciones en las operaciones asimiladas a las exportaciones'), ('E4', '[E4] Art. 23 y 24: Exenciones relativas a regímenes aduaneros y fiscales. Exenciones zonas francas, depósitos francos y otros depósitos.'), ('E5', '[E5] Art. 25: Exenciones en las entregas de bienes destinados a otro estado miembro.'), ('E6', '[E6] Otros')]string='SII Exempt Cause'
No public methods.
New fields (0)
No new fields.
Public methods (3)-
cancel_now(self)@api.multi -
do_now(self)@api.multi -
requeue_sudo(self)@api.multi
New fields (12)
-
delay_timeFloatstring='Delay time' -
send_modeSelectiondefault='auto'selection=[('auto', 'On validate'), ('fixed', 'At fixed time'), ('delayed', 'With delay')]string='Send mode' -
sent_timeFloatstring='Sent time' -
sii_descriptionCharhelp="The description for invoices. Only used when the field SII Description Method is 'Fixed'."size=500string='SII Description' -
sii_description_methodSelectiondefault='manual'help="Method for the SII invoices description, can be one of these:\n- Automatic: the description will be the join of the invoice lines description\n- Fixed: the description write on the below field 'SII Description'\n- Manual (by default): It will be necessary to manually enter the description on each invoice\n\nFor all the options you can append a header text using the below fields 'SII Sale header' and 'SII Purchase header'"selection=[('auto', 'Automatic'), ('fixed', 'Fixed'), ('manual', 'Manual')]string='SII Description Method' -
sii_enabledBooleanstring='Enable SII' -
sii_header_customerCharhelp='An optional header description for customer invoices. Applied on all the SII description methods'size=500string='SII Customer header' -
sii_header_supplierCharhelp='An optional header description for supplier invoices. Applied on all the SII description methods'size=500string='SII Supplier header' -
sii_methodSelectiondefault='auto'help="By default, the invoice is sent/queued in validation process. With manual method, there's a button to send the invoice."selection=[('auto', 'Automatic'), ('manual', 'Manual')]string='Method' -
sii_tax_agency_idMany2one → aeat.sii.tax.agencystring='Tax Agency' args: 'aeat.sii.tax.agency' -
sii_testBooleanstring='Is Test Environment?' -
use_connectorBooleanhelp="Check it to use connector instead of sending the invoice directly when it's validated"string='Use connector'
No public methods.
New fields (2)
-
sii_enabledBooleancompute='_compute_sii_enabled' -
sii_simplified_invoiceBooleanhelp='Checking this mark, invoices done to this partner will be sent to SII as simplified invoices.'string='Simplified invoices in SII?'
No public methods.
Loading…
Loading…
Loading…
Loading…