Account Invoice Factur-X

account_invoice_factur-x
REPOSITORY
REPOSITORYOCA/edi
GIT
GIThttps://github.com/OCA/edi.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi/tree/10.0/account_invoice_factur-x
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Pedro M. Baeza, GitHub, Andrea, OCA Transbot, David Beal, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/bank-payment:
    - account_payment_partner
    - account_payment_mode
OCA/community-data-files:
    - product_uom_unece
    - account_tax_unece
    - base_unece
    - account_payment_unece
OCA/edi:
    - account_e-invoice_generate
    - base_zugferd
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES facturx
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
report_invoice_facturx_logo report_invoice_facturx_logo ir.ui.view qweb Inherits account.report_invoice_document
view_account_config_settings account_invoice_factur-x.account.config.settings account.config.settings div Inherits account_e-invoice_generate.view_account_config_settings
view_partner_form factur-x.country.required.on.res.partner res.partner xpath Inherits base.view_partner_form
Models touched (4)

New fields (2)
  • facturx_level Selection
    related='company_id.facturx_level'
  • facturx_refund_type Selection
    related='company_id.facturx_refund_type'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (2)
  • generate_facturx_xml(self)
    @api.multi
  • regular_pdf_invoice_to_facturx_invoice(self, pdf_content)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • get_pdf(self, docids, report_name, html=None, data=None)
    @api.model
    We go through that method when the PDF is generated for the 1st time and also when it is read from the attachment. This method is specific to QWeb

New fields (4)
  • facturx_level Selection
    default='en16931' help="Unless if you have a good reason, you should always select 'EN 16931 (Comfort)', which is the default value." string='Factur-X Level' args: [('minimum', 'Minimum'), ('basicwl', 'Basic without lines'), ('basic', 'Basic'), ('en16931', 'EN 16931 (Comfort)'), ('extended', 'Extended')]
  • facturx_logo Binary
    compute='_compute_facturx_logo' help='Logo to include in the visible part of Factur-X invoices' readonly=True string='Factur-X Logo'
  • facturx_refund_type Selection
    default='381' string='Factur-X Refund Type' args: [('380', 'Type 380 with negative amounts'), ('381', 'Type 381 with positive amounts')]
  • xml_format_in_pdf_invoice Selection
    default='factur-x' selection_add=[('factur-x', 'Factur-X (CII)')]
Public methods (1)
  • compute_facturx_logo(self)