Skip to content

Digital Certificate (PAC Signer)

To issue electronic invoices that are valid with Panama’s DGI, the app needs a digital certificate (P12 file) to sign each XML document.

Prerequisites

Before setting up the certificate, you need:

  1. P12 file — A digital certificate issued by an authorized certification authority.
  2. P12 password — The password that protects the certificate.
  3. Company code — Code assigned by your PAC (Aludra).
  4. API Key — Integration key for Aludra.

Setting Up the Certificate

  1. Go to Settings in the app.
  2. Find the “Digital Certificate / PAC Signer” section.
  3. Press “Configure”.
  4. Select the P12 file from the device storage.
  5. Enter the certificate password.
  6. Press “Initialize”.

Verification

Upon successful initialization:

  • A green indicator confirms the certificate is loaded.
  • The certificate expiration date is displayed.
  • The app is ready to sign invoices.

If Initialization Fails

ErrorCauseSolution
Incorrect passwordThe password does not match the P12Verify the password
Invalid certificateCorrupt file or incorrect formatObtain a new P12
Expired certificateThe P12 has expiredRenew with your certification authority

How Signing Works

When you complete a sale with an electronic invoice:

  1. The app generates the invoice XML with the sale data.
  2. The PAC Signer digitally signs the XML using the P12 certificate.
  3. The CUFE (Unique Electronic Invoice Code) is generated.
  4. If connected, it is sent to Aludra, which transmits it to the DGI.
  5. If there is no connection, it is saved locally for later submission.

Submission to the DGI (Aludra)

The Aludra configuration is done from the Web Portal under Settings > DGI/PAC:

  • API Key — Authentication key.
  • Company Code — Identifier with Aludra.
  • Automatic Submission — Enable/disable automatic submission upon completing a sale.

Invoice Statuses

DGI CodeStatusMeaning
0920AcceptedInvoice processed successfully
0260AcceptedInvoice accepted (alternate code)
OtherErrorReview error details
PendingHas not yet been submitted to the DGI

Retrying Failed Invoices

  1. Go to Electronic Invoices in the side menu.
  2. Filter by “Error” or “Pending” status.
  3. You can:
    • Retry a single invoice.
    • Retry all pending invoices at once.

Certificate Maintenance

  • Expiration: Periodically check the expiration date in Settings.
  • Renewal: When you obtain a new P12, repeat the setup process.
  • Multiple devices: Each tablet needs its own P12 initialization (the same file can be used on all of them).

Having invoice issues? See Electronic Invoicing Need to set up the printer? See Printers