SPEI Mexico Pro: batch CEP validation, reconciliation & dashboard
by Lion Systems https://www.lionsystems.com.mx$ 79.00
SPEI Mexico Pro: batch CEP validation, reconciliation and dashboard
Confirm dozens of SPEI payments in minutes with Banxico's official receipts (CEP), not with screenshots.
How it works
- Odoo builds the input file for Banxico's batch lookup (CEP-SCL) with the payments your customers reported: date, tracking key, sending bank, receiving bank, your CLABE and amount (2 to 500 transfers).
- You upload that file yourself on Banxico's website, choose the "Ambos" format (PDF + XML) and download the result ZIP from the link Banxico emails you.
- You upload the ZIP to Odoo. Each payment is marked as paid only when its CEP XML matches exactly the tracking key, operation date, your CLABE, the amount (to the cent) and the order reference in the payment concept.
No automatic queries to Banxico: this module never connects to Banxico or any other external service. Banxico's website uses a captcha and is meant to be used by people; you keep full control of what is sent.
Screenshots
SPEI payments dashboard
Sales > SPEI > SPEI payments: pending payments grouped by "reported / not reported", past-deadline payments in red, CEP lookup and manual confirmation on each line.
Step 1-2: file ready for Banxico
Odoo builds the CEP-SCL input file with the reported payments. You upload it yourself on Banxico's website; Odoo never contacts Banxico.
Step 3: result of the batch validation
After uploading Banxico's ZIP, only payments whose CEP XML matches exactly are marked as paid. Here one CEP has a different amount, so that order stays pending for review.
Reviewing a single payment
The tracking key, transfer date and sending bank reported by the customer, the CEP check result and the button to confirm the payment manually.
Screenshots taken on Odoo 20.0 with fictitious demo data.
Fail-safe by design
- A PDF alone is never enough: without the CEP XML the payment stays pending with a clear note.
- One transfer pays only one order (database constraint), even with simultaneous uploads. If two orders report the same transfer, none is paid.
- Mismatches, "not found by Banxico" and invalid files are explained on each order's chatter.
- The ZIP is read in memory and never extracted: rejected if it has unsafe paths, symbolic links, encryption, repeated names or abnormal compression (zip bomb).
- XML files with DOCTYPE or entities are rejected (XXE protection).
- Banxico's digital seal is not verified: use only the ZIP downloaded from Banxico's link.
Reconciliation and dashboard
- When a payment is confirmed, Odoo's standard flow runs: the quotation is confirmed and the payment is created in the provider's journal.
- The payment is reconciled with the posted, unpaid invoices of the order, so the invoice is marked as paid.
- Confirm a single payment manually after checking it in Banxico's individual CEP lookup, with the same one-transfer-one-order protection.
- Sales > SPEI > SPEI payments: list, pivot and graph of pending, reported, past-deadline and needs-review payments.
Requires the free module SPEI Mexico (payment_spei_mx). Interface translated to Spanish (Mexico). Odoo 20.0 Community and Enterprise, on Odoo.sh or on-premise (Odoo Online does not allow Python modules). Support: use the support contact of this app page.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 1822 |
| Technical Name |
payment_spei_mx_pro |
| License | OPL-1 |
| Website | https://www.lionsystems.com.mx |
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