CBMS Odoo Argentinean Electronic Invoicing
Functional
----------
Be able to create journals in CBMS ODOO to create electronic customer invoices and report then to AFIP (via webservices).
The options available are:
* Electronic Invoice - Web Service
* Export Voucher - Web Service
* Electronic Fiscal Bond - Web Service
In the electronic journals if you validate an invoice this one will be validated in both CBMS ODOO and AFIP. This validation is
made at the instant and we recieve and "approved/approved with observation/rejected" state from AFIP. If the invoice has
been rejected by AFIP will not be post in the system and a pop up message will be shown with both the error detail (reject reasons)
we recieve and a HINT about what the problem could be.
For auditing and troubleshooting purposes we also add a menu "Consulit Invoice in AFIP" that let us to consult invoices previously
sent to AFIP and last number used as support for any possible issues on the sequences synchronization between CBMS ODOO and AFIP.
NOTE: From the Journal's form view we are able to force a sync between the CBMS ODOO sequences to each of the document types in
with the last numbers registered in AFIP.
From vendor bills, we have added a functionality that can be configured in the accounting settings to be able to verify
vendor bills in AFIP to check if the vendor bills are real (more information please review the setting description).
Configuration:
1. Go to the Accounting Settings > Argentinean Localization section
1.1. Configure the AFIP Web Services mode:
* Testing environment in order to use demo certificates that will be use to test the instance and to make NOT
real invoices to AFIP. is just for testing. For demo instaces is already pre-defined you will not need to configure
it (commonly named in AFIP as Homologation environment).
* Production environment in order to generate real certificates and legal invoices to AFIP,
1.2. Configure your AFIP Certificate: If you are in a demo instance this one will be have been set by default. If you
are in production instance just need to go to upload your AFIP Certificate
1.3. Optionally you can define if you like to be eable to verify vendor bills in AFIP.
2. Create Sales journals that will represent each one of your AFIP POS (Available in AFIP Portal) you want to use in CBMS ODOO.
2.1. Use Documents field is set by default please dont change
2.2. Set AFIP POS System for one of the electronic ones.
* Electronic Invoice - Web Service'
* Electronic Fiscal Bond - Web Service'
* Export Voucher - Web Service'
2.3. Set the AFIP POS Number and AFIP POS Address taking into account what you have configured in your AFIP Portal.
NOTE: You can use the "Check Available AFIP POS" button in Journal's form to corroborate the to use to create the journals.
For more information about Argentinean Electronic invoicing please go to http://www.afip.gob.ar/fe/ayuda.asp
Technical
---------
The web services that are implemented are the ones that are the most common:
* wsfev1 - "Factura Electrónica" (Electronic Invoice)
* wsbfev1 - "Bono Fiscal Electrónico" (Electronic Fiscal Bond)
* wsfexv1 - "Factura de Exportación Electrónica" (Electronic Exportation Invoice - same as Export Voucher)
* wscdc - "Constatación de Comprobantes" (Invoices Verification)
For Development information go to http://www.afip.gob.ar/fe/documentos/WSBFEv1 - Manual para el desarrollador.pdf
Internal Reference:
l10n_ar_edi
Functional
Be able to create journals in CBMS ODOO to create electronic customer invoices and report then to AFIP (via webservices). The options available are:
- Electronic Invoice - Web Service
- Export Voucher - Web Service
- Electronic Fiscal Bond - Web Service
In the electronic journals if you validate an invoice this one will be validated in both CBMS ODOO and AFIP. This validation is made at the instant and we recieve and "approved/approved with observation/rejected" state from AFIP. If the invoice has been rejected by AFIP will not be post in the system and a pop up message will be shown with both the error detail (reject reasons) we recieve and a HINT about what the problem could be.
For auditing and troubleshooting purposes we also add a menu "Consulit Invoice in AFIP" that let us to consult invoices previously sent to AFIP and last number used as support for any possible issues on the sequences synchronization between CBMS ODOO and AFIP.
NOTE: From the Journal's form view we are able to force a sync between the CBMS ODOO sequences to each of the document types in with the last numbers registered in AFIP.
From vendor bills, we have added a functionality that can be configured in the accounting settings to be able to verify vendor bills in AFIP to check if the vendor bills are real (more information please review the setting description).
Configuration:
Go to the Accounting Settings > Argentinean Localization section
1.1. Configure the AFIP Web Services mode:
- Testing environment in order to use demo certificates that will be use to test the instance and to make NOT real invoices to AFIP. is just for testing. For demo instaces is already pre-defined you will not need to configure it (commonly named in AFIP as Homologation environment).
- Production environment in order to generate real certificates and legal invoices to AFIP,
- 1.2. Configure your AFIP Certificate: If you are in a demo instance this one will be have been set by default. If you
are in production instance just need to go to upload your AFIP Certificate
1.3. Optionally you can define if you like to be eable to verify vendor bills in AFIP.
Create Sales journals that will represent each one of your AFIP POS (Available in AFIP Portal) you want to use in CBMS ODOO.
2.1. Use Documents field is set by default please dont change 2.2. Set AFIP POS System for one of the electronic ones.
- Electronic Invoice - Web Service'
- Electronic Fiscal Bond - Web Service'
- Export Voucher - Web Service'
2.3. Set the AFIP POS Number and AFIP POS Address taking into account what you have configured in your AFIP Portal.
NOTE: You can use the "Check Available AFIP POS" button in Journal's form to corroborate the to use to create the journals.
For more information about Argentinean Electronic invoicing please go to http://www.afip.gob.ar/fe/ayuda.asp
Technical
The web services that are implemented are the ones that are the most common:
- wsfev1 - "Factura Electrónica" (Electronic Invoice)
- wsbfev1 - "Bono Fiscal Electrónico" (Electronic Fiscal Bond)
- wsfexv1 - "Factura de Exportación Electrónica" (Electronic Exportation Invoice - same as Export Voucher)
- wscdc - "Constatación de Comprobantes" (Invoices Verification)
For Development information go to http://www.afip.gob.ar/fe/documentos/WSBFEv1 - Manual para el desarrollador.pdf