Book your assessment
← Blog ERP

Electronic invoicing in Panama: what your ERP needs to handle

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:

PieceWhat it isWhy it matters
DGIThe tax authority that defines formats and rulesIts requirements change; the ERP must be able to keep up
PACAuthorized certification provider that validates and authorizes each documentIt's the bridge between your ERP and the DGI
CUFEUnique code for each electronic invoiceIt identifies the document and makes it verifiable
CAFEAuxiliary receipt: the printed or PDF versionIt'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

  1. The user confirms the invoice in the ERP.
  2. The ERP builds the electronic document and sends it to the PAC.
  3. The PAC validates the format and rules, and authorizes or rejects it.
  4. If authorized, the ERP stores the CUFE and the status on the invoice.
  5. The ERP generates the CAFE and emails it to the customer.
  6. 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

ErrorTypical causeHow to prevent it
Invalid RUC or DV (tax ID or check digit)Customer data incomplete or keyed in wrongValidate the RUC and DV when creating the customer
ITBMS (VAT) miscalculatedTaxes misconfigured on productsReview the tax table by product and service
Totals that don't add upRounding or discounts applied incorrectlyTest discount scenarios before go-live
Duplicate documentManual resends or connection errorsCheck 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

  1. Clean up your master data. Customers with the correct RUC and DV, products with properly configured taxes.
  2. Choose your PAC with your ERP in mind. Make sure a proven integration exists.
  3. Test in a test environment. Invoices, credit notes, cancellations, discounts and error cases.
  4. Train the team. What to do when a document is rejected.
  5. 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.

Ready to have the team your company needs?

In an assessment meeting, we review your operation and tell you where to start. No commitment.