Electronic invoicing is no longer optional for most taxpayers in Panama. Issuing an electronic invoice is relatively easy; the hard part is making the whole cycle work from the ERP without duplicate work, without rejections and without the accounting team ending up reconciling by hand at month-end.
This guide summarizes how the system works, what your ERP needs to handle and the mistakes we see most often when implementing it.
How the system works
Panama's Electronic Invoicing System (SFEP) is administered by the Dirección General de Ingresos (DGI), the national tax authority. These are its main pieces:
| Piece | What it is | Why it matters |
|---|---|---|
| DGI | The tax authority that defines formats and rules | Its requirements change; the ERP must be able to keep up |
| PAC | Authorized certification provider that validates and authorizes each document | It's the bridge between your ERP and the DGI |
| CUFE | Unique code for each electronic invoice | It identifies the document and makes it verifiable |
| CAFE | Auxiliary receipt: the printed or PDF version | It's what your customer receives and files |
Small businesses can use the DGI's free invoicing tool, but any company with volume needs invoices to come straight from its ERP through a PAC.
An invoice's journey
- The user confirms the invoice in the ERP.
- The ERP builds the electronic document and sends it to the PAC.
- The PAC validates the format and rules, and authorizes or rejects it.
- If authorized, the ERP stores the CUFE and the status on the invoice.
- The ERP generates the CAFE and emails it to the customer.
- If rejected, the ERP shows the reason so it can be fixed and resent.
What your ERP should do on its own
- Send invoices, credit notes and debit notes to the PAC when they're confirmed.
- Store the CUFE and authorization status on every document.
- Generate and send the CAFE to the customer automatically.
- Alert you when a document is rejected, with a clear reason.
- Allow cancellations or corrections with credit notes, without redoing the invoice by hand.
- Reconcile what was issued in the ERP with what the PAC authorized.
- Handle cases where the PAC doesn't respond, without stopping the sale.
The most common rejection errors
| Error | Typical cause | How to prevent it |
|---|---|---|
| Invalid RUC or DV (tax ID or check digit) | Customer data incomplete or keyed in wrong | Validate the RUC and DV when creating the customer |
| ITBMS (VAT) miscalculated | Taxes misconfigured on products | Review the tax table by product and service |
| Totals that don't add up | Rounding or discounts applied incorrectly | Test discount scenarios before go-live |
| Duplicate document | Manual resends or connection errors | Check the status before resending |
And the invoices you receive from suppliers
The other half of the process is the purchase invoice. Every electronic invoice you receive also has a CUFE that can be verified, and it has to be recorded in the ERP with the right supplier, taxes and account. In many companies this is still manual data entry.
That's why we built BillioAI: it reads the invoices that arrive by email, validates the RUC and the CUFE, proposes the accounting entry and sends it to the ERP for a person to approve.
How to implement it without surprises
- Clean up your master data. Customers with the correct RUC and DV, products with properly configured taxes.
- Choose your PAC with your ERP in mind. Make sure a proven integration exists.
- Test in a test environment. Invoices, credit notes, cancellations, discounts and error cases.
- Train the team. What to do when a document is rejected.
- Set up the monthly reconciliation. Issued versus authorized, before the close.
Always confirm your obligations and the dates that apply to you on the DGI's official website. If you need help with the integration or the accounting side, our ERP accounting advisory team will guide you every step.
Frequently asked questions
Can my current ERP issue electronic invoices?
Almost always, through an integration with a PAC. You need to validate that it covers credit notes, cancellations and sending the CAFE.
What happens if a document is rejected?
The ERP should show the reason so you can fix it and resend it, without redoing the invoice by hand.
Can I verify the invoices I receive?
Yes. Every electronic invoice has a CUFE that can be looked up. BillioAI validates it automatically when the purchase is recorded.

