Creación de Facturae
l10n_es_facturae · OCA/l10n-spain
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by15/251 module depends on it
-
Maturity25/25In 10 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Description
En virtud de la Ley 25/2013, de 27 de diciembre, de impulso de la factura electrónica y creación del registro contable de facturas en el Sector Público, desde el día 15 de enero de 2015 todas las facturas remitidas a las administraciones públicas tienen que ser electrónicas. Téngase en cuenta, no obstante, que muchas Administraciones Públicas, y entre ellas la Administración General del Estado, han hecho uso de la potestad de exonerar de esta obligación a las facturas de hasta 5.000 euros. Estas facturas electrónicas se enviarán a través de los puntos generales de entrada de facturas electrónicas de la administración correspondiente. Estos puntos generales le permitirán consultar electrónicamente el estado de tramitación de su factura, una vez remitida. El de la Administración General del Estado se denomina FACe (www.face.gob.es). En estas facturas electrónicas habrá que indicar la oficina contable, el órgano gestor y la unidad tramitadora, para que llegue correctamente a su destino. La administración le proporcionará estos datos.
Información sobre el formato:
Dependencies
- Odoo dependencies
- Python dependencies
- pycountry, xmlsig, schwifty==2024.4.0, unidecode
- System dependencies
- None
- Required by
- l10n_es_facturae_face
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 15
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
address_contact |
address_contact | ir.ui.view | qweb | New |
administrative_center |
administrative_center | ir.ui.view | qweb | New |
entity |
entity | ir.ui.view | qweb | New |
facturae_header |
facturae_header | ir.ui.view | qweb | New |
facturae_signed |
facturae_signed | ir.ui.view | qweb | New |
template_facturae |
template_facturae | ir.ui.view | qweb | New |
view_account_journal_thirdparty_form |
account.journal | form | Inherits l10n_es_aeat.view_account_journal_form | |
view_account_move_reversal |
account.move.reversal.form | account.move.reversal | form | Inherits account.view_account_move_reversal |
view_company_form |
res.company.form | res.company | form | Inherits base.view_company_form |
view_facturae_fields |
account.move.line.form (in l10n_es_facturae_fields) | account.move.line | form | New |
view_move_form |
account.move.form | account.move | form | Inherits l10n_es_aeat.view_move_form |
view_partner_form |
res.partner.form | res.partner | form | Inherits account.view_partner_property_form |
view_payment_mode_form_add_face_code |
payment.mode.form.add_face_code | account.payment.mode | form | Inherits account_payment_mode.account_payment_mode_form |
view_tax_form |
account.tax.search | account.tax | form | Inherits account.view_tax_form |
wizard_create_facturae |
create.facturae.form | create.facturae | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 13
No new fields.
Public methods (0)No public methods.
-
correction_methodSelectionselection=[('01', 'Rectificación íntegra'), ('02', 'Rectificación por diferencias'), ('03', 'Rectificación por descuento por volumen de operaciones durante un periodo'), ('04', 'Autorizadas por la Agencia Tributaria')] -
facturaeBooleancompute='_compute_facturae' -
facturae_end_dateDatereadonly=True -
facturae_file_referenceChar -
facturae_receiver_contract_referenceChar -
facturae_receiver_transaction_referenceChar -
facturae_refund_reasonSelectionselection=[('01', 'Número de la factura'), ('02', 'Serie de la factura'), ('03', 'Fecha expedición'), ('04', 'Nombre y apellidos/Razón social - Emisor'), ('05', 'Nombre y apellidos/Razón social - Receptor'), ('06', 'Identificación fiscal Emisor/Obligado'), ('07', 'Identificación fiscal Receptor'), ('08', 'Domicilio Emisor/Obligado'), ('09', 'Domicilio Receptor'), ('10', 'Detalle Operación'), ('11', 'Porcentaje impositivo a aplicar'), ('12', 'Cuota tributaria a aplicar'), ('13', 'Fecha/Periodo a aplicar'), ('14', 'Clase de factura'), ('15', 'Literales legales'), ('16', 'Base imponible'), ('80', 'Cálculo de cuotas repercutidas'), ('81', 'Cálculo de cuotas retenidas'), ('82', 'Base imponible modificada por devolución de envases/embalajes'), ('83', 'Base imponible modificada por descuentos y bonificaciones'), ('84', 'Base imponible modificada por resolución firme, judicial o administrativa'), ('85', 'Base imponible modificada cuotas repercutidas no satisfechas. Auto de declaración de concurso')] -
facturae_start_dateDatereadonly=True -
facturae_withheld_amountMonetarycompute='_compute_facturae_withheld_amount'readonly=Falsestore=Truestring='Withheld Amount' -
facturae_withheld_percentFloatstring='Withheld Percent' -
facturae_withheld_reasonCharstring='Withheld Reason' -
l10n_es_facturae_attachment_idsOne2many → l10n.es.facturae.attachmentcopy=Falseinverse_name='move_id' args: 'l10n.es.facturae.attachment'
-
get_correction_method_string(self) -
get_exchange_rate(self, euro_rate, currency_rate) -
get_facturae_hide_discount(self) -
get_facturae_version(self) -
get_narration(self) -
get_refund_reason_string(self) -
validate_company_facturae_fields(self, company_id) -
validate_facturae_fields(self)
-
facturae_end_dateDate -
facturae_file_dateDate -
facturae_file_referenceChar -
facturae_issuer_contract_dateDate -
facturae_issuer_contract_referenceChar -
facturae_issuer_transaction_dateDate -
facturae_issuer_transaction_referenceChar -
facturae_receiver_contract_dateDate -
facturae_receiver_contract_referenceChar -
facturae_receiver_transaction_dateDate -
facturae_receiver_transaction_referenceChar -
facturae_start_dateDate -
facturae_transaction_dateDate
-
button_edit_facturae_fields(self)
-
correction_methodSelectiondefault='02'selection=[('01', 'Rectificación íntegra'), ('02', 'Rectificación por diferencias'), ('03', 'Rectificación por descuento por volumen de operaciones durante un periodo'), ('04', 'Autorizadas por la Agencia Tributaria')] -
refund_reasonSelectiondefault='10'selection=[('01', 'Número de la factura'), ('02', 'Serie de la factura'), ('03', 'Fecha expedición'), ('04', 'Nombre y apellidos/Razón social - Emisor'), ('05', 'Nombre y apellidos/Razón social - Receptor'), ('06', 'Identificación fiscal Emisor/Obligado'), ('07', 'Identificación fiscal Receptor'), ('08', 'Domicilio Emisor/Obligado'), ('09', 'Domicilio Receptor'), ('10', 'Detalle Operación'), ('11', 'Porcentaje impositivo a aplicar'), ('12', 'Cuota tributaria a aplicar'), ('13', 'Fecha/Periodo a aplicar'), ('14', 'Clase de factura'), ('15', 'Literales legales'), ('16', 'Base imponible'), ('80', 'Cálculo de cuotas repercutidas'), ('81', 'Cálculo de cuotas retenidas'), ('82', 'Base imponible modificada por devolución de envases/embalajes'), ('83', 'Base imponible modificada por descuentos y bonificaciones'), ('84', 'Base imponible modificada por resolución firme, judicial o administrativa'), ('85', 'Base imponible modificada cuotas repercutidas no satisfechas. Auto de declaración de concurso')]
-
reverse_moves(self, is_modify=False)Inject in the context the Facturae refund values for being later added to the dictionary values for creating the refund.
-
facturae_codeSelectiondefault='04'selection=[('01', '[01] Al contado'), ('02', '[02] Recibo Domiciliado'), ('03', '[03] Recibo'), ('04', '[04] Transferencia'), ('05', '[05] Letra Aceptada'), ('06', '[06] Crédito Documentario'), ('07', '[07] Contrato Adjudicación'), ('08', '[08] Letra de cambio'), ('09', '[09] Pagaré a la Orden'), ('10', '[10] Pagaré No a la Orden'), ('11', '[11] Cheque'), ('12', '[12] Reposición'), ('13', '[13] Especiales'), ('14', '[14] Compensación'), ('15', '[15] Giro postal'), ('16', '[16] Cheque conformado'), ('17', '[17] Cheque bancario'), ('18', '[18] Pago contra reembolso'), ('19', '[19] Pago mediante tarjeta')]
No public methods.
-
facturae_codeSelectionselection=[('01', 'IVA: Impuesto sobre el valor añadido'), ('02', 'IPSI: Impuesto sobre la producción, los servicios y la importación'), ('03', 'IGIC: Impuesto general indirecto de Canarias'), ('04', 'IRPF: Impuesto sobre la Renta de las personas físicas'), ('05', 'Otro'), ('06', 'ITPAJD: Impuesto sobre transmisiones patrimoniales y actos jurídicos documentados'), ('07', 'IE: Impuestos especiales'), ('08', 'Ra: Renta aduanas'), ('09', 'IGTECM: Impuesto general sobre el tráfico de empresas que se aplica en Ceuta y Melilla'), ('10', 'IECDPCAC: Impuesto especial sobre los combustibles derivados del petróleo en la Comunidad Autonoma Canaria'), ('11', 'IIIMAB: Impuesto sobre las instalaciones que inciden sobre el medio ambiente en la Baleares'), ('12', 'ICIO: Impuesto sobre las construcciones, instalaciones y obras'), ('13', 'IMVDN: Impuesto municipal sobre las viviendas desocupadas en Navarra'), ('14', 'IMSN: Impuesto municipal sobre solares en Navarra'), ('15', 'IMGSN: Impuesto municipal sobre gastos suntuarios en Navarra'), ('16', 'IMPN: Impuesto municipal sobre publicidad en Navarra'), ('17', 'REIVA: Régimen especial de IVA para agencias de viajes'), ('18', 'REIGIC: Régimen especial de IGIC: para agencias de viajes'), ('19', 'REIPSI: Régimen especial de IPSI para agencias de viajes')]
-
get_invoice_legal_notes(self)
-
facturaeBinaryreadonly=True args: 'Facturae file' -
facturae_fnameCharsize=64 args: 'File name' -
firmar_facturaeBooleandefault=Truehelp='Requires certificate in the company file' args: 'Do you want to digitally sign the generated file?' -
noteTextargs: 'Log' -
stateSelectiondefault='first'readonly=True args: [('first', 'First'), ('second', 'Second')]
-
create_facturae_file(self)
-
fileBinaryrequired=True -
filenameChar -
move_idMany2one → account.moveondelete='cascade'required=True args: 'account.move'
No public methods.
No new fields.
Public methods (1)-
generate_report(self, ir_report, docids, data=None)@api.model
No new fields.
Public methods (1)-
generate_report(self, ir_report, docids, data=None)@api.model
-
facturae_hide_discountBooleanhelp='The unit price will be recalculated applying the discount'string='Hide Facturae discount' -
facturae_registration_additionalCharsize=20 -
facturae_registration_bookCharsize=20 -
facturae_registration_folioCharsize=20 -
facturae_registration_locationCharsize=20 -
facturae_registration_sectionCharsize=20 -
facturae_registration_sheetCharsize=20 -
facturae_registration_volumeCharsize=20 -
facturae_versionSelectionargs: [('3_2', '3.2'), ('3_2_1', '3.2.1'), ('3_2_2', '3.2.2')]
No public methods.
No new fields.
Public methods (1)-
get_current_rate(self)
-
attach_invoice_as_annexBoolean -
facturaeBooleancopy=False args: 'Factura electrónica' -
facturae_hide_discountBooleanhelp='The unit price will be recalculated applying the discount'string='Hide Facturae discount' -
facturae_versionSelectionargs: [('3_2', '3.2'), ('3_2_1', '3.2.1'), ('3_2_2', '3.2.2')] -
oficina_contableCharsize=10 -
organo_gestorCharsize=10 -
organo_proponenteCharsize=10 args: 'Órgano proponente' -
unidad_tramitadoraCharsize=10
-
check_facturae(self)@api.constrains('facturae', 'vat', 'city', 'state_id', 'country_id', 'street') -
get_facturae_residence(self)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…