# Get your e-Tax 2.0 Cuenta Corriente through an API

> Read each RUC's Cuenta Corriente (tax account) tax by tax, and request a Paz y Salvo (certificate of no tax debt), with one API call. A workflow checks every client's balances each weekday morning and emails you the taxes whose total changed.

Page: https://fous.com/automate/e-tax-2-0
Updated: 2026-11-12

Works with your own e-Tax 2.0 account. Fous is an independent product.

## What you can build on e-Tax 2.0

### Get Cuenta Corriente balances

Reads the Cuenta Corriente (tax account) for one RUC: the balance of each tax split into impuestos, intereses (interest), multas (fines) and recargo (surcharge).

- Takes: RUC
- Returns: Tax, impuestos, intereses, multas, recargo, total, créditos imputados (applied credits), grand total

### Get the transactions for one tax

Opens one tax in the Cuenta Corriente and reads its transactions: each debit or credit with its date and the number of the document behind it.

- Takes: RUC, tax, from date (optional)
- Returns: Date, document number, debit or credit, amount

### Verify a Paz y Salvo

Uses Certificaciones > Verificar autenticidad de paz y salvo to check whether a Paz y Salvo someone sent you is authentic, and reads what the result shows.

- Takes: Paz y Salvo document number
- Returns: Authentic or not, taxpayer name, RUC, issue date

### Request a Paz y Salvo

Opens Declaraciones juradas y documentos (sworn returns and documents), selects Solicitar Paz y Salvo, clicks Presentar and reads the document it produces.

- Takes: RUC
- Returns: Document number, taxpayer, RUC, issue date, result message

## Automate e-Tax 2.0 with a workflow

A [workflow](/product/workflows) runs your methods as one process, with nobody at the screen. A schedule or a call from your own system starts it, the steps run in order, and the result arrives in your inbox or in the systems you already use.

### Cuenta Corriente balances for every client RUC

Starts: Every weekday at 7:00, America/Panama time

1. For each RUC you list, get the Cuenta Corriente balances.
2. Keep the taxes whose total changed since the last run.
3. Email you the changes, one section per RUC, with intereses, multas, recargo and total.

### New ITBMS debits each month, posted to accounting

Starts: On the 16th of every month at 8:00 Panama time, after ITBMS retentions are due

1. For each RUC, get the Cuenta Corriente transactions for ITBMS.
2. Keep the debits that were not there on the last run.
3. Post each one, with RUC, tax, document number, date and amount, to your accounting system's webhook.

### Paz y Salvo for a client, when the balance is clear

Starts: When a person starts it and names a RUC

1. Get the Cuenta Corriente balances for the RUC.
2. Stop and email you the open balances if any tax has a total above zero.
3. Otherwise request a Paz y Salvo and email you its document number, taxpayer name and issue date.

You can run a workflow by hand on every plan, Free included. Schedules and webhook triggers come with the paid plans, from $29 a month.

## Once built, one call from your code

Once you have built a [method](/product/methods), it is one POST to /v1/runs from your backend, or a tool an AI agent calls over MCP. This is what “Get Cuenta Corriente balances” would look like.

Example request:

```
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "etax2.mef.gob.pa/get_cuenta_corriente_balances",
    "input": {
      "ruc": "155700001-2-2019"
    }
  }'
```

Example response:

```
{
  "status": "completed",
  "data": {
    "ruc": "155700001-2-2019",
    "taxes": [
      {
        "tax": "ITBMS",
        "impuestos": 1840,
        "intereses": 22.6,
        "multas": 0,
        "recargo": 184,
        "total": 2046.6,
        "creditos_imputados": 0
      }
    ],
    "grand_total": 2046.6
  }
}
```

An example with invented data, not a ready-made endpoint. The method exists in your organization once you build it, and its name, inputs and fields follow your request.

## E-Tax 2.0’s own options

DGI's pages describe no API for e-Tax 2.0. Returns, the Cuenta Corriente, payment arrangements and Paz y Salvo requests are handled in the portal, where the account statement can be printed. Electronic invoicing is a separate system, the SFEP, used through an authorized provider (PAC) or DGI's Facturador Gratuito.

| Option | What it covers | What it takes |
| --- | --- | --- |
| SFEP through a PAC | Issuing electronic invoices. It does not cover returns or the Cuenta Corriente. | A Proveedor Autorizado Calificado (PAC) from DGI's list. DGI publishes a Ficha Técnica PAC for providers. |
| Facturador Gratuito | Issuing electronic invoices from DGI's own invoicing tool, with a contingency registry template. | Found in DGI's electronic invoicing section, next to the link to the SFEP portal. |
| e-Tax 2.0 by hand | Cuenta Corriente by tax with an impresión link, returns, Solicitud de arreglo de pago and Solicitar Paz y Salvo. | One sign-in per RUC: the RUC as Usuario and the NIT as password. |

Read on November 12, 2026: [Cómo emitir su Estado de Cuentas](https://dgi.mef.gob.pa/C-Corriente/EC.php), [Factura Electrónica](https://dgi.mef.gob.pa/_7FacturaElectronica/dgi2.php), [Preguntas frecuentes: NIT](https://dgi.mef.gob.pa/Preguntas/Nit.php).

## Signing in to e-Tax 2.0

e-Tax 2.0 signs you in with your RUC as Usuario and your NIT as the password, and the NIT must be changed every six months. Each RUC has its own sign-in. With Fous you sign in once per RUC through e-Tax 2.0's own sign-in: the login is sealed with AES-256, never returned by the API or written to logs, and an expired session is signed back in.

## Worth knowing

- **One sign-in per RUC, a new NIT every six months**: Every taxpayer signs in with its own RUC and NIT, so a firm that files for clients holds one login per client. DGI requires each NIT to be changed every six months.
- **Recovering a NIT goes through email**: A forgotten NIT is replaced through a link sent to the registered email, valid for 2 hours. Changing that email takes a visit to a DGI Provincial Office.
- **Payments show at once**: DGI says payments are reflected immediately in the Estado de Cuentas (account statement), so a morning check of the Cuenta Corriente already shows yesterday's payments.
- **Payment arrangements and the Paz y Salvo**: A Solicitud de arreglo de pago (payment arrangement) needs 20% of the debt paid. To get a Paz y Salvo under an arrangement the required payment is 45%, and arrangements do not apply to fines.

## More in Government: Latin America

- [Mis Comprobantes](https://fous.com/automate/mis-comprobantes.md)
- [Facturación Electrónica DIAN](https://fous.com/automate/facturacion-electronica-dian.md)
- [Simplificación Registral](https://fous.com/automate/simplificacion-registral.md)
- [ARCA - servicios con Clave Fiscal](https://fous.com/automate/arca-servicios-con-clave-fiscal.md)
- [Portal Empresarial INFONAVIT](https://fous.com/automate/portal-empresarial-infonavit.md)
- [SIFERE Web](https://fous.com/automate/sifere-web.md)
- [Declaración en Línea (F.931)](https://fous.com/automate/declaracion-en-linea-f-931.md)
- [AFPnet](https://fous.com/automate/afpnet.md)
- [ARBA](https://fous.com/automate/arba.md)
- [SEACE](https://fous.com/automate/seace.md)
- [SECOP II](https://fous.com/automate/secop-ii.md)
- [BPS Servicios en Línea](https://fous.com/automate/bps-servicios-en-linea.md)
- [IESS - Portal de Empleadores](https://fous.com/automate/iess-portal-de-empleadores.md)
- [Oficina Virtual CCSS (SICERE)](https://fous.com/automate/oficina-virtual-ccss-sicere.md)
- [SUIR](https://fous.com/automate/suir.md)
- [Previred](https://fous.com/automate/previred.md)
- [Aportes en Línea](https://fous.com/automate/aportes-en-linea.md)
- [SOI](https://fous.com/automate/soi.md)
- [SIPARE](https://fous.com/automate/sipare.md)
- [DGI Servicios en Línea](https://fous.com/automate/dgi-servicios-en-linea.md)
- [Agencia Virtual SAT](https://fous.com/automate/agencia-virtual-sat.md)
- [Oficina Virtual DGII](https://fous.com/automate/oficina-virtual-dgii.md)
- [Portal del SAT (Factura Electrónica)](https://fous.com/automate/portal-del-sat-factura-electronica.md)
- [SII (Mi SII)](https://fous.com/automate/sii-mi-sii.md)
- [SRI en Línea](https://fous.com/automate/sri-en-linea.md)
- [SUNAT Operaciones en Línea (SOL)](https://fous.com/automate/sunat-operaciones-en-linea-sol.md)
- [TRIBU-CR](https://fous.com/automate/tribu-cr.md)
- [Declaraciones y Pagos (SAT)](https://fous.com/automate/declaraciones-y-pagos-sat.md)
- [DIAN MUISCA](https://fous.com/automate/dian-muisca.md)

Other industries: [Qiwa](/automate/qiwa), [Portal das Finanças](/automate/portal-das-financas), [impots.gouv.fr espace professionnel](/automate/impots-gouv-fr-espace-professionnel), [The Compliance Engine](/automate/the-compliance-engine), [Teraview](/automate/teraview), [EDGAR Filer Management](/automate/edgar-filer-management).

## Frequently asked questions

### Does e-Tax 2.0 have an API?

DGI's pages describe none. Returns, the Cuenta Corriente, payment arrangements and Paz y Salvo requests are done in the e-Tax 2.0 portal. Electronic invoicing is a separate system, the SFEP, used through an authorized provider (PAC) or DGI's Facturador Gratuito.

### How do I see what a company owes in e-Tax 2.0?

Open the Cuenta Corriente. It shows each tax with columns for impuestos, intereses, multas, recargo, total and créditos imputados. Selecting a tax lists its transactions, the document number opens the record behind each one, and the impresión link prints the statement.

### How do I request a Paz y Salvo in e-Tax 2.0?

Sign in with the RUC and NIT, open Declaraciones juradas y documentos, select Solicitar Paz y Salvo and click Presentar. Then open the document number and click Imprimir Paz y Salvo. If the PDF is not found, DGI says to open the HTML version.

### How often does the NIT have to change?

Every six months. The NIT is 12 to 20 characters with at least one uppercase letter, one lowercase letter and two numbers, and no special characters. A forgotten NIT is replaced through a link sent to the registered email.

### Is Fous affiliated with the Dirección General de Ingresos (DGI)?

No. Fous is an independent product. You use it with your own e-Tax 2.0 sign-in for each RUC, and a method reads and does only what that account can.

Fous is an independent product: it is not affiliated with, endorsed by or sponsored by the operator of e-Tax 2.0 (Dirección General de Ingresos (DGI)). The name is used only to say which system this page is about. Something here wrong or out of date? Write to legal@fous.com.
