Vendor bills in Odoo, straight from the CUFE
Paste the CUFE or the URL from the QR code printed on the invoice. The module queries the Electronic Invoicing portal of Panama's DGI and builds the complete vendor bill: issuer, date, document number and the line-by-line detail with ITBMS.
Zero manual typing. Zero RUC errors. The CUFE is saved on the bill for auditing and reconciliation with the DGI.
Compatibility
Odoo 16 Odoo 17 Odoo 18 Odoo 19
Community Enterprise
How it works
1. A button where you already work
"Import by CUFE" appears in the Vendor Bills list, right next to the documents you already handle every day.
2. CUFE or QR, your choice
Type the document's CUFE or paste the full URL of the QR code printed on the invoice. Either way works.
3. Bill ready to review
Odoo opens the vendor bill as a draft, with the vendor, lines and taxes already loaded. You review and confirm.
Upgrade your Odoo without paying for the full module again
Each Odoo version has its own release of the module. When your company moves to a major version, the release for that new version costs you 40% less than buying it from scratch. You bought once; growing with Odoo doesn't send you back to list price.
What it pulls from the DGI
| Issuer data | RUC, legal name, address, phone and DV |
|---|---|
| Authorization date | Applied as the bill date |
| Document number | Stored in the Reference field |
| Document CUFE | Saved in its own field, visible on the form |
| Line detail | Description, quantity, unit price and ITBMS |
What it does inside Odoo
- Vendors It looks the vendor up by RUC. If it doesn't exist, it creates it with its Panamanian tax ID type and its check digit.
- Products It looks them up by name. If they don't exist, it creates them flagged as purchasable, with the price from the document.
- Taxes It applies the 7% purchase ITBMS to the lines that carry it in the electronic document.
- Bill It is always created as a draft. The module never confirms or posts on your behalf: accounting control stays with you.
Access control
CUFE import is a permission of its own, not an administrator privilege.
- Dedicated security group "Extract Cufe", assignable user by user.
- Anyone who isn't in the group doesn't see the button: it's hidden in the interface.
- The wizard allows creating and importing, never deleting.
Requirements
- Odoo 16, 17, 18 or 19 — Community or Enterprise.
- Accounting or Invoicing app installed.
- VTM_fe_vat module (Panama tax identification), included in the installation.
- Python libraries requests and beautifulsoup4 on the server. On VTGO SaaS Odoo they come ready to go.
- Internet access to the DGI's Electronic Invoicing portal.
Scope and limits, no fine print
- The DGI query has a 10-second limit. If the portal doesn't respond, the module tells you so with a clear message instead of failing silently.
- If the document has no lines, or is missing a required issuer field, the import stops and tells you what was missing.
- Products are matched by exact name: the same item written differently by two vendors creates two products.
- The tax is resolved using the company's first active 7% purchase ITBMS.
- The module reads the DGI's public portal. If the DGI redesigns that portal, the module needs an update: that is covered by the product's support.
Above, choose the Odoo version, the deployment type and whether you want installation: the price is calculated automatically. Each Odoo version has its own release. Installation includes the module and its VTM_fe_vat dependency, library verification, assignment of the security group, validation of the 7% purchase ITBMS and a test import with a real CUFE from your company.