Alegra Connector - Odoo Alegra Integration and Sync for Colombia and Mexico
by Modvanta https://modvantaapps.tech/odoo-apps/alegra-connector/$ 53.84

Alegra integration - Alegra connector for Odoo 19 (Colombia, Mexico and LatAm)
Sell from Odoo, keep the books and the electronic invoices in Alegra.
Contacts, items, sales invoices, credit notes, vendor bills and payments go from Odoo to Alegra with your own e-mail and API token. Alegra can issue each invoice electronically, and its number, status, balance and CUFE come back to the Odoo invoice.
What it does
Alegra shapes contacts and invoices by country, so you pick your Alegra version on the connection. Colombia gets the NIT or cedula with its verification digit, the kind of person and the regime; Mexico the RFC, the third party type and the fiscal regime; other countries a name and an identification.
A posted invoice goes open on the numbering you choose, one item per line with its price, quantity, discount and the IVA or INC you mapped. Retentions such as Retefuente go at invoice level. Colombian invoices carry the payment form and method, Mexican ones the payment method, payment type and CFDI use.
Turn on Issue electronically and Alegra issues the invoice with the DIAN or the SAT where your company has it set up; the electronic status and CUFE show on the Odoo invoice. Cancel an invoice in Odoo and it is voided in Alegra.
Credit notes are applied to the invoice they credit. Bills go with the vendor's number and the Alegra account mapped to each line, and bills your team enters in Alegra come back as drafts. Payments go to Alegra from the bank account and method you set for the journal.
Who it is for
| Companies in Colombia, Mexico and the rest of Latin America that sell from Odoo and do their accounting and e-invoicing in Alegra. | |
| Accountants (contadores) whose clients run Odoo and Alegra side by side. | |
| Shops on Odoo eCommerce that need their invoices issued in Alegra. |
Key features
Screens from a test database: a Colombian company (PUC chart, COP) on the built-in Alegra demo company.
E-mail, token, country version
Paste the e-mail and token from Alegra (Configuracion, API). Test Connection reads the company. The token is stored encrypted.
| Calls kept under Alegra's 150 a minute, with its rate headers read | |
| Colombia, Mexico or the generic shape for other countries |

Taxes and retentions
"Suggest Alegra tax mapping" pairs each Odoo tax with the only Alegra tax of the same rate, and negative Odoo taxes with the retentions.

Bank accounts, accounts, webhooks
Map journals to Alegra bank accounts and payment methods and expense accounts to Alegra accounts. Subscribe registers one webhook per event.

Choose what moves, and which way
Contacts and items both ways, invoices out with status coming back, credit notes and payments out, bills both ways.

Number, status, CUFE
Issued electronically by Alegra: number on the numbering, open balance, electronic status and CUFE on the Odoo invoice.

Paid in Alegra, paid in Odoo
The invoice was paid in Alegra; the next sync registered the payment on the bank journal.

Bills from Alegra as drafts
Provider, number, dates and lines with the mapped tax and account.

A log of every call
What was sent, what Alegra answered, and its message when it refused something.

Dashboard
Waiting, created, updated and failed jobs, links and the last problem.

How it works
| 1 | Install and add the key. Put account_sync_secret_key in odoo.conf (the connection form generates one). |
| 2 | Create the connection. Accounting Sync -> Connections -> New, provider Alegra, e-mail, token and country version, Test Connection. |
| 3 | Load and map. Taxes, retentions, numberings, bank accounts and accounts are loaded. Map taxes, journals and expense accounts. |
| 4 | Dry run, then Sync now. Send one invoice with Issue electronically off, check it in Alegra, then turn it on, subscribe the webhooks and switch on the schedule. |
Settings
| Alegra API e-mail / token | From Configuracion > API; the token is encrypted |
| Alegra country version | Colombia, Mexico or generic |
| Invoice numbering | Empty: Alegra's preferred automatic numbering |
| Create invoices open | Off: drafts to finish in Alegra |
| Issue electronically through Alegra | Colombia and Mexico |
| Payment form and method | Colombia: CREDIT or CASH and the DIAN means; Mexico: method, PUE/PPD, CFDI use |
| Generic item ID | For invoice lines without an Alegra item |
| Default bank account / account for bills | For journals and accounts not mapped |
| Register payments made in Alegra | And the journal to book them on |
FAQ
Does Alegra sign its webhooks?
No, Alegra says its webhooks carry no signature. The address the connector registers holds a secret of its own, and a call only makes Odoo read the record again from Alegra's API.
Which countries?
Colombia and Mexico get their own contact and invoice fields. Other Alegra countries use the generic shape; electronic issue is offered for Colombia and Mexico only.
Can I change an invoice after it reached Alegra?
Only while it is a draft in Alegra. An open invoice is corrected with a credit note.
Does it import invoices made in Alegra?
It reads the status of invoices it sent. It imports contacts, items and bills.
What should I test first?
One contact, one invoice and one payment on an Alegra test company, with Issue electronically off.
Compatibility and support
Odoo 19 Community and Enterprise. Needs Invoicing. Runs on our Accounting Sync Base module, which the store adds as a dependency, and installs next to our other accounting connectors.
Questions before or after you buy: modvantaapps@gmail.com. We answer setup questions and fix bugs.
Buy Now - $39| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Community Apps Dependencies | Show |
| Lines of code | 4631 |
| Technical Name |
mdv_alegra_connector |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/alegra-connector/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module