WSFE (Factura Electronica)

l10n_ar_wsfe
REPOSITORY
REPOSITORYOCA/l10n-argentina
GIT
GIThttps://github.com/OCA/l10n-argentina.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-argentina/tree/10.0/l10n_ar_wsfe
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYArgentina Localization
LICENSE
LICENSEGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSE-MIPS
MAINTAINERS
MAINTAINERSE-MIPS
COMMITTERS
COMMITTERSPedro M. Baeza
WEBSITE
WEBSITEhttp://e-mips.com.ar
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-argentina:
    - base_vat_ar
    - l10n_ar_point_of_sale
    - l10n_ar_wsaa
odoo/odoo:
    - base
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
    - base_vat
    - sale
    - sales_team
    - procurement
    - purchase
    - stock_account
    - stock
    - barcodes
    - account_accountant
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
        WSFE (Web Service de Factura Electronica).
        Este módulo nos permite facturar de forma electrónica a través del Servicio Web
        que publica la AFIP.
    

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
cai_account_supplier_invoice_form cai.account.supplier.invoice.form.inherit account.invoice field Inherits account.invoice_supplier_form
view_wsfe_config_form wsfe.config.form wsfe.config form New
view_wsfe_config_tree wsfe.config.tree wsfe.config tree New
view_wsfe_request_form wsfe.request.form wsfe.request form New
view_wsfe_request_tree wsfe.request.tree wsfe.request tree New
view_wsfe_sinchronize_voucher WSFE Sinchronize Voucher wsfe.sinchronize.voucher form New
view_wsfe_voucher_type_form wsfe.voucher_type.form wsfe.voucher_type form New
view_wsfe_voucher_type_tree wsfe.voucher_type.tree wsfe.voucher_type tree New
wsfe_account_invoice_form wsfe.account.invoice.form.inherit account.invoice field Inherits account.invoice_form
Models touched (7)

New fields (3)
  • aut_cae Boolean
    default=False help='Pedido de autorizacion a la AFIP' args: 'Autorizar'
  • cae Char
    help='CAE (Codigo de Autorizacion Electronico assigned by AFIP.)' required=False size=32 args: 'CAE/CAI'
  • cae_due_date Date
    help='Fecha de vencimiento del CAE' required=False args: 'CAE Due Date'
Public methods (6)
  • action_aut_cae(self)
    @api.multi
  • action_number(self)
    @api.multi
  • get_next_invoice_number(self)
    @api.multi
    Funcion para obtener el siguiente numero de comprobante correspondiente en el sistema
  • hook_add_taxes(self, inv, detalle)
    @api.model
  • refund(self, cr, uid, ids, date=None, period_id=None, description=None, journal_id=None, context=None)
  • wsfe_invoice_prepare_detail(self)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • hook_compute_invoice_taxes(self, invoice, tax_grouped)
    @api.multi

New fields (8)
  • company_id Many2one → res.company
    required=True args: 'res.company', 'Company Name'
  • cuit Char
    related='company_id.partner_id.vat' string='Cuit'
  • exempt_operations_tax_ids One2many → wsfe.tax.codes
    domain=[('from_afip', '=', False), ('exempt_operations', '=', True)] args: 'wsfe.tax.codes', 'wsfe_config_id', 'Taxes'
  • homologation Boolean
    help='If true, there will be some validations that are disabled, for example, invoice number correlativeness' args: 'Homologation'
  • point_of_sale_ids Many2many → pos.ar
    args: 'pos.ar', 'pos_ar_wsfe_rel', 'wsfe_config_id', 'pos_ar_id', 'Points of Sale'
  • url Char
    required=True size=60 args: 'URL for WSFE'
  • vat_tax_ids One2many → wsfe.tax.codes
    domain=[('from_afip', '=', True)] args: 'wsfe.tax.codes', 'wsfe_config_id', 'Taxes'
  • wsaa_ticket_id Many2one → wsaa.ta
    args: 'wsaa.ta', 'Ticket Access'
Public methods (8)
  • check_errors(self, res, raise_exception=True)
    @api.model
  • check_observations(self, res)
    @api.model
  • create(self, cr, uid, vals, context)
  • get_config(self)
    @api.model
  • get_invoice_CAE(self, pos, voucher_type, details)
    @api.multi
  • get_last_voucher(self, pos, voucher_type)
    @api.model
  • get_voucher_info(self, cr, uid, ids, pos, voucher_type, number, context={})
    @api.v7
  • read_tax(self)
    @api.multi

New fields (9)
  • date_request Datetime
    required=True args: 'Request Date'
  • detail_ids One2many → wsfe.request.detail
    readonly=True args: 'wsfe.request.detail', 'request_id', 'Details'
  • errors Text
    readonly=True args: 'Errors'
  • name Char
    required=False size=64 args: 'Desc'
  • nregs Integer
    readonly=True required=True args: 'Number of Records'
  • pos_ar Char
    readonly=True required=True size=16 args: 'POS'
  • reprocess Boolean
    default=False readonly=True args: 'Reprocess'
  • result Selection
    readonly=True args: [('A', 'Approved'), ('R', 'Rejected'), ('P', 'Partial')], 'Result'
  • voucher_type Char
    readonly=True required=True size=64 args: 'Voucher Type'
Public methods (0)

No public methods.

New fields (12)
  • amount_total Char
    readonly=True size=64 args: 'Amount Total'
  • cae Char
    readonly=True required=False size=64 args: 'CAE'
  • cae_duedate Date
    readonly=True required=False args: 'CAE Due Date'
  • concept Selection
    readonly=True args: [('1', 'Products'), ('2', 'Services'), ('3', 'Products&Services')], 'Concept'
  • docnum Char
    readonly=True size=32 args: 'Document Number'
  • doctype Integer
    readonly=True args: 'Document Type'
  • name Many2one → account.invoice
    readonly=True required=False args: 'account.invoice', 'Voucher'
  • observations Text
    readonly=True args: 'Observations'
  • request_id Many2one → wsfe.request
    required=True args: 'wsfe.request', 'Request'
  • result Selection
    readonly=True args: [('A', 'Approved'), ('R', 'Rejected')], 'Result'
  • voucher_date Date
    readonly=True args: 'Voucher Date'
  • voucher_number Integer
    readonly=True args: 'Voucher Number'
Public methods (0)

No public methods.

New fields (9)
  • code Char
    required=False size=4 args: 'Code'
  • exempt_operations Boolean
    help='Check it if this VAT Tax corresponds to vat tax exempts operations, such as to sell books, milk, etc. The taxes with this checked, will be reported to AFIP as exempt operations (base amount) without VAT applied on this' args: 'Exempt Operations'
  • from_afip Boolean
    args: 'From AFIP'
  • from_date Date
    args: 'Effective From'
  • name Char
    required=True size=64 args: 'Desc'
  • tax_code_id Many2one → account.tax.code
    args: 'account.tax.code', 'Account Tax Code'
  • tax_id Many2one → account.tax
    args: 'account.tax', 'Account Tax'
  • to_date Date
    args: 'Effect Until'
  • wsfe_config_id Many2one → wsfe.config
    args: 'wsfe.config', 'WSFE Configuration'
Public methods (0)

No public methods.

New fields (5)
  • code Char
    help='Internal Code assigned by AFIP for voucher type' required=True size=4 args: 'Code'
  • denomination_id Many2one → invoice.denomination
    required=False args: 'invoice.denomination', 'Denomination'
  • document_type Selection
    readonly=False required=True select=True args: [('out_invoice', 'Factura'), ('out_refund', 'Nota de Credito'), ('out_debit', 'Nota de Debito')], 'Document Type'
  • name Char
    help='Voucher Type, eg.: Factura A, Nota de Credito B, etc.' readonly=False required=True size=64 args: 'Name'
  • voucher_model Selection
    required=True select=True args: [('invoice', 'Factura/NC/ND'), ('voucher', 'Recibo')], 'Voucher Model'
Public methods (1)
  • get_voucher_type(self, voucher)
    @api.model
REPOSITORY
REPOSITORYOCA/l10n-argentina
GIT
GIThttps://github.com/OCA/l10n-argentina.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-argentina/tree/9.0/l10n_ar_wsfe
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYArgentina Localization
LICENSE
LICENSEGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSE-MIPS
MAINTAINERS
MAINTAINERSE-MIPS
COMMITTERS
COMMITTERSPedro M. Baeza
WEBSITE
WEBSITEhttp://e-mips.com.ar
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-argentina:
    - base_vat_ar
    - l10n_ar_point_of_sale
    - l10n_ar_wsaa
odoo/odoo:
    - base
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
    - base_vat
    - sale
    - sales_team
    - procurement
    - purchase
    - stock_account
    - stock
    - barcodes
    - account_accountant
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
        WSFE (Web Service de Factura Electronica).
        Este módulo nos permite facturar de forma electrónica a través del Servicio Web
        que publica la AFIP.
    

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
cai_account_supplier_invoice_form cai.account.supplier.invoice.form.inherit account.invoice field Inherits account.invoice_supplier_form
view_wsfe_config_form wsfe.config.form wsfe.config form New
view_wsfe_config_tree wsfe.config.tree wsfe.config tree New
view_wsfe_request_form wsfe.request.form wsfe.request form New
view_wsfe_request_tree wsfe.request.tree wsfe.request tree New
view_wsfe_sinchronize_voucher WSFE Sinchronize Voucher wsfe.sinchronize.voucher form New
view_wsfe_voucher_type_form wsfe.voucher_type.form wsfe.voucher_type form New
view_wsfe_voucher_type_tree wsfe.voucher_type.tree wsfe.voucher_type tree New
wsfe_account_invoice_form wsfe.account.invoice.form.inherit account.invoice field Inherits account.invoice_form
Models touched (7)

New fields (3)
  • aut_cae Boolean
    default=False help='Pedido de autorizacion a la AFIP' args: 'Autorizar'
  • cae Char
    help='CAE (Codigo de Autorizacion Electronico assigned by AFIP.)' required=False size=32 args: 'CAE/CAI'
  • cae_due_date Date
    help='Fecha de vencimiento del CAE' required=False args: 'CAE Due Date'
Public methods (6)
  • action_aut_cae(self)
    @api.multi
  • action_number(self)
    @api.multi
  • get_next_invoice_number(self)
    @api.multi
    Funcion para obtener el siguiente numero de comprobante correspondiente en el sistema
  • hook_add_taxes(self, inv, detalle)
    @api.model
  • refund(self, cr, uid, ids, date=None, period_id=None, description=None, journal_id=None, context=None)
  • wsfe_invoice_prepare_detail(self)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • hook_compute_invoice_taxes(self, invoice, tax_grouped)
    @api.multi

New fields (8)
  • company_id Many2one → res.company
    required=True args: 'res.company', 'Company Name'
  • cuit Char
    related='company_id.partner_id.vat' string='Cuit'
  • exempt_operations_tax_ids One2many → wsfe.tax.codes
    domain=[('from_afip', '=', False), ('exempt_operations', '=', True)] args: 'wsfe.tax.codes', 'wsfe_config_id', 'Taxes'
  • homologation Boolean
    help='If true, there will be some validations that are disabled, for example, invoice number correlativeness' args: 'Homologation'
  • point_of_sale_ids Many2many → pos.ar
    args: 'pos.ar', 'pos_ar_wsfe_rel', 'wsfe_config_id', 'pos_ar_id', 'Points of Sale'
  • url Char
    required=True size=60 args: 'URL for WSFE'
  • vat_tax_ids One2many → wsfe.tax.codes
    domain=[('from_afip', '=', True)] args: 'wsfe.tax.codes', 'wsfe_config_id', 'Taxes'
  • wsaa_ticket_id Many2one → wsaa.ta
    args: 'wsaa.ta', 'Ticket Access'
Public methods (8)
  • check_errors(self, res, raise_exception=True)
    @api.model
  • check_observations(self, res)
    @api.model
  • create(self, cr, uid, vals, context)
  • get_config(self)
    @api.model
  • get_invoice_CAE(self, pos, voucher_type, details)
    @api.multi
  • get_last_voucher(self, pos, voucher_type)
    @api.model
  • get_voucher_info(self, cr, uid, ids, pos, voucher_type, number, context={})
    @api.v7
  • read_tax(self)
    @api.multi

New fields (9)
  • date_request Datetime
    required=True args: 'Request Date'
  • detail_ids One2many → wsfe.request.detail
    readonly=True args: 'wsfe.request.detail', 'request_id', 'Details'
  • errors Text
    readonly=True args: 'Errors'
  • name Char
    required=False size=64 args: 'Desc'
  • nregs Integer
    readonly=True required=True args: 'Number of Records'
  • pos_ar Char
    readonly=True required=True size=16 args: 'POS'
  • reprocess Boolean
    default=False readonly=True args: 'Reprocess'
  • result Selection
    readonly=True args: [('A', 'Approved'), ('R', 'Rejected'), ('P', 'Partial')], 'Result'
  • voucher_type Char
    readonly=True required=True size=64 args: 'Voucher Type'
Public methods (0)

No public methods.

New fields (12)
  • amount_total Char
    readonly=True size=64 args: 'Amount Total'
  • cae Char
    readonly=True required=False size=64 args: 'CAE'
  • cae_duedate Date
    readonly=True required=False args: 'CAE Due Date'
  • concept Selection
    readonly=True args: [('1', 'Products'), ('2', 'Services'), ('3', 'Products&Services')], 'Concept'
  • docnum Char
    readonly=True size=32 args: 'Document Number'
  • doctype Integer
    readonly=True args: 'Document Type'
  • name Many2one → account.invoice
    readonly=True required=False args: 'account.invoice', 'Voucher'
  • observations Text
    readonly=True args: 'Observations'
  • request_id Many2one → wsfe.request
    required=True args: 'wsfe.request', 'Request'
  • result Selection
    readonly=True args: [('A', 'Approved'), ('R', 'Rejected')], 'Result'
  • voucher_date Date
    readonly=True args: 'Voucher Date'
  • voucher_number Integer
    readonly=True args: 'Voucher Number'
Public methods (0)

No public methods.

New fields (9)
  • code Char
    required=False size=4 args: 'Code'
  • exempt_operations Boolean
    help='Check it if this VAT Tax corresponds to vat tax exempts operations, such as to sell books, milk, etc. The taxes with this checked, will be reported to AFIP as exempt operations (base amount) without VAT applied on this' args: 'Exempt Operations'
  • from_afip Boolean
    args: 'From AFIP'
  • from_date Date
    args: 'Effective From'
  • name Char
    required=True size=64 args: 'Desc'
  • tax_code_id Many2one → account.tax.code
    args: 'account.tax.code', 'Account Tax Code'
  • tax_id Many2one → account.tax
    args: 'account.tax', 'Account Tax'
  • to_date Date
    args: 'Effect Until'
  • wsfe_config_id Many2one → wsfe.config
    args: 'wsfe.config', 'WSFE Configuration'
Public methods (0)

No public methods.

New fields (5)
  • code Char
    help='Internal Code assigned by AFIP for voucher type' required=True size=4 args: 'Code'
  • denomination_id Many2one → invoice.denomination
    required=False args: 'invoice.denomination', 'Denomination'
  • document_type Selection
    readonly=False required=True select=True args: [('out_invoice', 'Factura'), ('out_refund', 'Nota de Credito'), ('out_debit', 'Nota de Debito')], 'Document Type'
  • name Char
    help='Voucher Type, eg.: Factura A, Nota de Credito B, etc.' readonly=False required=True size=64 args: 'Name'
  • voucher_model Selection
    required=True select=True args: [('invoice', 'Factura/NC/ND'), ('voucher', 'Recibo')], 'Voucher Model'
Public methods (1)
  • get_voucher_type(self, voucher)
    @api.model
REPOSITORY
REPOSITORYOCA/l10n-argentina
GIT
GIThttps://github.com/OCA/l10n-argentina.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-argentina/tree/8.0/l10n_ar_wsfe
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYArgentina Localization
LICENSE
LICENSEGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSE-MIPS
MAINTAINERS
MAINTAINERSE-MIPS
COMMITTERS
COMMITTERSStéphane Bidoul, Santiago J. Said, Sebastian Kennedy, OCA-git-bot
WEBSITE
WEBSITEhttp://e-mips.com.ar
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-argentina:
    - base_vat_ar
    - l10n_ar_point_of_sale
    - l10n_ar_wsaa
odoo/odoo:
    - base
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - base_vat
    - sale_stock
    - sale
    - sales_team
    - web_kanban_sparkline
    - account_voucher
    - procurement
    - stock_account
    - stock
    - web_kanban_gauge
    - purchase
    - account_accountant
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
        WSFE (Web Service de Factura Electronica).
        Este módulo nos permite facturar de forma electrónica a través del Servicio Web
        que publica la AFIP.
    

Code Analysis

Views touched (12)
XML IDNameModelTypeStatus
cai_account_supplier_invoice_form cai.account.supplier.invoice.form.inherit account.invoice field Inherits account.invoice_supplier_form
view_wsfe_config_form wsfe.config.form wsfe.config form New
view_wsfe_config_tree wsfe.config.tree wsfe.config tree New
view_wsfe_massive_sinchronize WSFE Massive Sinchronize wsfe.massive.sinchronize form New
view_wsfe_request_form wsfe.request.form wsfe.request form New
view_wsfe_request_tree wsfe.request.tree wsfe.request tree New
view_wsfe_sinchronize_voucher WSFE Sinchronize Voucher wsfe.sinchronize.voucher form New
view_wsfe_voucher_type_form wsfe.voucher_type.form wsfe.voucher_type form New
view_wsfe_voucher_type_tree wsfe.voucher_type.tree wsfe.voucher_type tree New
view_wsfex_config_form wsfex.config.form wsfex.config form New
view_wsfex_config_tree wsfex.config.tree wsfex.config tree New
wsfe_account_invoice_form wsfe.account.invoice.form.inherit account.invoice field Inherits l10n_ar_point_of_sale.view_pos_invoice_form
Models touched (20)

New fields (11)
  • associated_inv_ids Many2many → account.invoice
    args: 'account.invoice', 'account_invoice_associated_rel', 'invoice_id', 'refund_debit_id'
  • aut_cae Boolean
    default=False help='Pedido de autorizacion a la AFIP' args: 'Autorizar'
  • cae Char
    help='CAE (Codigo de Autorizacion Electronico assigned by AFIP.)' required=False size=32 args: 'CAE/CAI'
  • cae_due_date Date
    help='Fecha de vencimiento del CAE' required=False args: 'CAE Due Date'
  • dst_country_id Many2one → wsfex.dst_country.codes
    args: 'wsfex.dst_country.codes', 'Dest Country'
  • dst_cuit_id Many2one → wsfex.dst_cuit.codes
    args: 'wsfex.dst_cuit.codes', 'Country CUIT'
  • export_type_id Many2one → wsfex.export_type.codes
    args: 'wsfex.export_type.codes', 'Export Type'
  • incoterm_id Many2one → stock.incoterms
    help='International Commercial Terms are a series of predefined commercial terms used in international transactions.' args: 'stock.incoterms', 'Incoterm'
  • shipping_perm_ids One2many → wsfex.shipping.permission
    args: 'wsfex.shipping.permission', 'invoice_id', 'Shipping Permissions'
  • wsfe_request_ids One2many → wsfe.request.detail
    args: 'wsfe.request.detail', 'name'
  • wsfex_request_ids One2many → wsfex.request.detail
    args: 'wsfex.request.detail', 'invoice_id'
Public methods (8)
  • action_aut_cae(self)
    @api.multi
  • action_cancel(self, cr, uid, ids, context=None)
  • action_number(self)
    @api.multi
  • get_next_invoice_number(self)
    @api.multi
    Funcion para obtener el siguiente numero de comprobante correspondiente en el sistema
  • hook_add_taxes(self, inv, detalle)
    @api.model
  • onchange_partner_id(self, type, partner_id, date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False)
    @api.multi
  • refund(self, cr, uid, ids, date=None, period_id=None, description=None, journal_id=None, context=None)
  • wsfe_relate_invoice(self, pos, number, date_invoice, cae, cae_due_date)
    @api.one

New fields (0)

No new fields.

Public methods (1)
  • hook_compute_invoice_taxes(self, invoice, tax_grouped)
    @api.multi

New fields (9)
  • company_id Many2one → res.company
    required=True args: 'res.company', 'Company Name'
  • cuit Char
    related='company_id.partner_id.vat' string='Cuit'
  • exempt_operations_tax_ids One2many → wsfe.tax.codes
    domain=[('from_afip', '=', False), ('exempt_operations', '=', True)] args: 'wsfe.tax.codes', 'wsfe_config_id', 'Taxes'
  • homologation Boolean
    help='If true, there will be some validations that are disabled, for example, invoice number correlativeness' args: 'Homologation'
  • name Char
    required=True size=64 args: 'Name'
  • point_of_sale_ids Many2many → pos.ar
    args: 'pos.ar', 'pos_ar_wsfe_rel', 'wsfe_config_id', 'pos_ar_id', 'Points of Sale'
  • url Char
    required=True size=60 args: 'URL for WSFE'
  • vat_tax_ids One2many → wsfe.tax.codes
    domain=[('from_afip', '=', True)] args: 'wsfe.tax.codes', 'wsfe_config_id', 'Taxes'
  • wsaa_ticket_id Many2one → wsaa.ta
    args: 'wsaa.ta', 'Ticket Access'
Public methods (10)
  • check_errors(self, res, raise_exception=True)
    @api.model
  • check_observations(self, res)
    @api.model
  • create(self, cr, uid, vals, context)
  • get_config(self)
    @api.model
  • get_invoice_CAE(self, pos, voucher_type, details)
    @api.multi
  • get_last_voucher(self, pos, voucher_type)
    @api.model
  • get_server_state(self)
    @api.one
  • get_voucher_info(self, pos, voucher_type, number)
    @api.model
  • prepare_details(self, invoices)
  • read_tax(self)
    @api.multi

New fields (2)
  • pos_id Many2one → pos.ar
    required=True args: 'pos.ar', 'POS'
  • voucher_type Many2one → wsfe.voucher_type
    required=True args: 'wsfe.voucher_type', 'Voucher Type'
Public methods (1)
  • sinchronize(self)
    @api.one

New fields (9)
  • date_request Datetime
    required=True args: 'Request Date'
  • detail_ids One2many → wsfe.request.detail
    readonly=True args: 'wsfe.request.detail', 'request_id', 'Details'
  • errors Text
    readonly=True args: 'Errors'
  • name Char
    required=False size=64 args: 'Desc'
  • nregs Integer
    readonly=True required=True args: 'Number of Records'
  • pos_ar Char
    readonly=True required=True size=16 args: 'POS'
  • reprocess Boolean
    default=False readonly=True args: 'Reprocess'
  • result Selection
    readonly=True args: [('A', 'Approved'), ('R', 'Rejected'), ('P', 'Partial')], 'Result'
  • voucher_type Char
    readonly=True required=True size=64 args: 'Voucher Type'
Public methods (0)

No public methods.

New fields (12)
  • amount_total Char
    readonly=True size=64 args: 'Amount Total'
  • cae Char
    readonly=True required=False size=64 args: 'CAE'
  • cae_duedate Date
    readonly=True required=False args: 'CAE Due Date'
  • concept Selection
    readonly=True args: [('1', 'Products'), ('2', 'Services'), ('3', 'Products&Services')], 'Concept'
  • docnum Char
    readonly=True size=32 args: 'Document Number'
  • doctype Integer
    readonly=True args: 'Document Type'
  • name Many2one → account.invoice
    readonly=True required=False args: 'account.invoice', 'Voucher'
  • observations Text
    readonly=True args: 'Observations'
  • request_id Many2one → wsfe.request
    required=True args: 'wsfe.request', 'Request'
  • result Selection
    readonly=True args: [('A', 'Approved'), ('R', 'Rejected')], 'Result'
  • voucher_date Date
    readonly=True args: 'Voucher Date'
  • voucher_number Integer
    readonly=True args: 'Voucher Number'
Public methods (0)

No public methods.

New fields (17)
  • amount_exempt Float
    digits=dp.get_precision('Account') readonly=True string='Amount Exempt'
  • amount_no_taxed Float
    digits=dp.get_precision('Account') readonly=True string='No Taxed'
  • amount_tax Float
    digits=dp.get_precision('Account') readonly=True string='Tax'
  • amount_taxed Float
    digits=dp.get_precision('Account') readonly=True string='Taxed'
  • amount_total Float
    digits=dp.get_precision('Account') readonly=True string='Total'
  • cae Char
    readonly=False required=False size=32 args: 'CAE'
  • cae_due_date Date
    readonly=False args: 'CAE Due Date'
  • config_id Many2one → wsfe.config
    default=_get_def_config args: 'wsfe.config', 'Config'
  • date_invoice Date
    readonly=False args: 'Date Invoice'
  • date_process Datetime
    readonly=True args: 'Date Processed'
  • document_number Char
    readonly=True args: 'Document Number'
  • document_type Many2one → res.document.type
    readonly=True args: 'res.document.type', 'Document Type'
  • infook Boolean
    default=False args: 'Info OK'
  • invoice_id Many2one → account.invoice
    args: 'account.invoice', 'Invoice'
  • pos_id Many2one → pos.ar
    required=True args: 'pos.ar', 'POS'
  • voucher_number Integer
    required=True args: 'Number'
  • voucher_type Many2one → wsfe.voucher_type
    required=True args: 'wsfe.voucher_type', 'Voucher Type'
Public methods (3)
  • change_pos(self)
    @api.onchange('config_id', 'voucher_type')
  • change_voucher_number(self)
    @api.onchange('voucher_number')
  • relate_invoice(self)
    @api.one

New fields (9)
  • code Char
    required=False size=4 args: 'Code'
  • exempt_operations Boolean
    help='Check it if this VAT Tax corresponds to vat tax exempts operations, such as to sell books, milk, etc. The taxes with this checked, will be reported to AFIP as exempt operations (base amount) without VAT applied on this' args: 'Exempt Operations'
  • from_afip Boolean
    args: 'From AFIP'
  • from_date Date
    args: 'Effective From'
  • name Char
    required=True size=64 args: 'Desc'
  • tax_code_id Many2one → account.tax.code
    args: 'account.tax.code', 'Account Tax Code'
  • tax_id Many2one → account.tax
    args: 'account.tax', 'Account Tax'
  • to_date Date
    args: 'Effect Until'
  • wsfe_config_id Many2one → wsfe.config
    args: 'wsfe.config', 'WSFE Configuration'
Public methods (0)

No public methods.

New fields (5)
  • code Char
    help='Internal Code assigned by AFIP for voucher type' required=True size=4 args: 'Code'
  • denomination_id Many2one → invoice.denomination
    required=False args: 'invoice.denomination', 'Denomination'
  • document_type Selection
    readonly=False required=True select=True args: [('out_invoice', 'Factura'), ('out_refund', 'Nota de Credito'), ('out_debit', 'Nota de Debito')], 'Document Type'
  • name Char
    help='Voucher Type, eg.: Factura A, Nota de Credito B, etc.' readonly=False required=True size=64 args: 'Name'
  • voucher_model Selection
    required=True select=True args: [('invoice', 'Factura/NC/ND'), ('voucher', 'Recibo')], 'Voucher Model'
Public methods (1)
  • get_voucher_type(self, voucher)
    @api.model

New fields (15)
  • company_id Many2one → res.company
    required=True args: 'res.company', 'Company Name'
  • country_ids One2many → wsfex.dst_country.codes
    args: 'wsfex.dst_country.codes', 'wsfex_config_id', 'Countries'
  • cuit Char
    related='company_id.partner_id.vat' string='Cuit'
  • currency_ids One2many → wsfex.currency.codes
    args: 'wsfex.currency.codes', 'wsfex_config_id', 'Currencies'
  • dst_cuit_ids One2many → wsfex.dst_cuit.codes
    args: 'wsfex.dst_cuit.codes', 'wsfex_config_id', 'DST CUIT'
  • export_type_ids One2many → wsfex.export_type.codes
    args: 'wsfex.export_type.codes', 'wsfex_config_id', 'Export Type'
  • homologation Boolean
    default=False help='If true, there will be some validations that are disabled, for example, invoice number correlativeness' args: 'Homologation'
  • incoterms_ids One2many → wsfex.incoterms.codes
    args: 'wsfex.incoterms.codes', 'wsfex_config_id', 'Incoterms'
  • lang_ids One2many → wsfex.lang.codes
    args: 'wsfex.lang.codes', 'wsfex_config_id', 'Languages'
  • name Char
    required=True size=64 args: 'Name'
  • point_of_sale_ids Many2many → pos.ar
    args: 'pos.ar', 'pos_ar_wsfex_rel', 'wsfex_config_id', 'pos_ar_id', 'Points of Sale'
  • uom_ids One2many → wsfex.uom.codes
    args: 'wsfex.uom.codes', 'wsfex_config_id', 'Units of Measure'
  • url Char
    required=True size=60 args: 'URL for WSFEX'
  • voucher_type_ids One2many → wsfex.voucher_type.codes
    args: 'wsfex.voucher_type.codes', 'wsfex_config_id', 'Voucher Type'
  • wsaa_ticket_id Many2one → wsaa.ta
    args: 'wsaa.ta', 'Ticket Access'
Public methods (15)
  • check_error(self, res, raise_exception=True)
  • check_event(self, res)
  • create(self, cr, uid, vals, context)
  • get_config(self)
  • get_invoice_CAE(self, pos, voucher_type, details)
    @api.multi
  • get_last_voucher(self, pos, voucher_type)
  • get_wsfex_countries(self)
    @api.one
  • get_wsfex_currencies(self)
    @api.one
  • get_wsfex_dst_cuits(self)
    @api.one
  • get_wsfex_export_types(self)
    @api.one
  • get_wsfex_incoterms(self)
    @api.one
  • get_wsfex_langs(self)
    @api.one
  • get_wsfex_uoms(self)
    @api.one
  • get_wsfex_voucher_types(self)
    @api.one
  • prepare_details(self, invoices)

New fields (4)
  • code Char
    required=True size=4 args: 'Code'
  • currency_id Many2one → res.currency
    string='OpenERP Currency' args: 'res.currency'
  • name Char
    required=True size=64 args: 'Desc'
  • wsfex_config_id Many2one → wsfex.config
    args: 'wsfex.config'
Public methods (0)

No public methods.

New fields (4)
  • code Char
    required=True size=3 args: 'Code'
  • country_id Many2one → res.country
    string='OpenERP Country' args: 'res.country'
  • name Char
    required=True size=64 args: 'Desc'
  • wsfex_config_id Many2one → wsfex.config
    args: 'wsfex.config'
Public methods (0)

No public methods.

New fields (3)
  • code Float
    digits=(12, 0) required=True args: 'Code'
  • name Char
    required=True size=64 args: 'Desc'
  • wsfex_config_id Many2one → wsfex.config
    args: 'wsfex.config'
Public methods (0)

No public methods.

New fields (3)
  • code Integer
    required=True args: 'Code'
  • name Char
    required=True size=64 args: 'Desc'
  • wsfex_config_id Many2one → wsfex.config
    args: 'wsfex.config'
Public methods (0)

No public methods.

New fields (4)
  • code Char
    required=True size=5 args: 'Code'
  • incoterms_id Many2one → stock.incoterms
    string='OpenERP Incoterm' args: 'stock.incoterms'
  • name Char
    required=True size=64 args: 'Desc'
  • wsfex_config_id Many2one → wsfex.config
    args: 'wsfex.config'
Public methods (0)

No public methods.

New fields (4)
  • code Integer
    required=True args: 'Code'
  • lang_id Many2one → res.lang
    string='OpenERP Language' args: 'res.lang'
  • name Char
    required=True size=64 args: 'Desc'
  • wsfex_config_id Many2one → wsfex.config
    args: 'wsfex.config'
Public methods (0)

No public methods.

New fields (13)
  • cae Char
    readonly=True required=False size=64 args: 'CAE'
  • cae_duedate Date
    readonly=True required=False args: 'CAE Due Date'
  • date Date
    readonly=True args: 'Request Date'
  • detail Text
    readonly=True args: 'Detail'
  • error Char
    readonly=True size=255 args: 'Error'
  • event Char
    readonly=True size=255 args: 'Event'
  • invoice_id Many2one → account.invoice
    readonly=True required=False args: 'account.invoice', 'Voucher'
  • name Char
    help='If you want to write down some detail about this request' readonly=True size=128 args: 'Additional Notes'
  • reprocess Selection
    readonly=True args: [('S', 'Si'), ('N', 'No')], 'Reprocess'
  • request_id Float
    readonly=True args: 'Request ID'
  • result Selection
    readonly=True args: [('A', 'Approved'), ('R', 'Rejected')], 'Result'
  • voucher_number Char
    readonly=True size=14 args: 'Number'
  • voucher_type_id Many2one → wsfe.voucher_type
    string='OpenERP Voucher Type' args: 'wsfe.voucher_type'
Public methods (0)

No public methods.

New fields (3)
  • dst_country_id Many2one → wsfex.dst_country.codes
    required=True args: 'wsfex.dst_country.codes', 'Dest Country'
  • invoice_id Many2one → account.invoice
    args: 'account.invoice', 'Invoice'
  • name Char
    required=True size=16 args: 'Code'
Public methods (0)

No public methods.

New fields (4)
  • code Integer
    required=True args: 'Code'
  • name Char
    required=True size=64 args: 'Desc'
  • uom_id Many2one → product.uom
    string='OpenERP UoM' args: 'product.uom'
  • wsfex_config_id Many2one → wsfex.config
    args: 'wsfex.config'
Public methods (0)

No public methods.

New fields (4)
  • code Integer
    required=True args: 'Code'
  • name Char
    required=True size=64 args: 'Desc'
  • voucher_type_id Many2one → wsfe.voucher_type
    string='OpenERP Voucher Type' args: 'wsfe.voucher_type'
  • wsfex_config_id Many2one → wsfex.config
    args: 'wsfex.config'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-argentina
GIT
GIThttps://github.com/OCA/l10n-argentina.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-argentina/tree/7.0/l10n_ar_wsfe
VERSION
VERSION 2.0
CATEGORY
CATEGORYArgentina Localization
LICENSE
LICENSEGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSE-MIPS
MAINTAINERS
MAINTAINERSE-MIPS
COMMITTERS
COMMITTERSSantiago J. Said, Sebastian Kennedy, Laureano Kloss
WEBSITE
WEBSITEhttp://e-mips.com.ar
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-argentina:
    - base_vat_ar
    - l10n_ar_point_of_sale
    - l10n_ar_wsaa
odoo/odoo:
    - base
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
    - base_vat
    - sale
    - account_voucher
    - purchase
    - stock
    - procurement
    - account_accountant
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
        WSFE (Web Service de Factura Electronica).
        Este módulo nos permite facturar de forma electrónica a través del Servicio Web
        que publica la AFIP.
    

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
cai_account_supplier_invoice_form cai.account.supplier.invoice.form.inherit account.invoice field Inherits account.invoice_supplier_form
view_wsfe_config_form wsfe.config.form wsfe.config form New
view_wsfe_config_tree wsfe.config.tree wsfe.config tree New
view_wsfe_request_form wsfe.request.form wsfe.request form New
view_wsfe_request_tree wsfe.request.tree wsfe.request tree New
view_wsfe_sinchronize_voucher WSFE Sinchronize Voucher wsfe.sinchronize.voucher form New
view_wsfe_voucher_type_form wsfe.voucher_type.form wsfe.voucher_type form New
view_wsfe_voucher_type_tree wsfe.voucher_type.tree wsfe.voucher_type tree New
view_wsfex_config_form wsfex.config.form wsfex.config form New
view_wsfex_config_tree wsfex.config.tree wsfex.config tree New
wsfe_account_invoice_form wsfe.account.invoice.form.inherit account.invoice field Inherits l10n_ar_point_of_sale.view_pos_invoice_form
Models touched (0)

No models found for this module.