# eNotas + PostgreSQL

> Centralize data in PostgreSQL with Erathos. Sync eNotas data with Erathos — an incremental, no-code pipeline with full observability.

Source: https://www.erathos.com/en/pipelines/enotas-postgresql
Em português: https://www.erathos.com/pipelines/enotas-postgresql

eNotas is a Brazilian platform specialized in the issuance and management of electronic invoices (NF-e, NFS-e, and NFC-e). Through a robust API and integrations with leading ERP systems, eNotas automates the tax issuance process, validation with municipal authorities and the Receita Federal, status queries, and secure storage of tax documents. It is widely used by SaaS companies, marketplaces, and digital businesses that need to scale their tax compliance automation without relying on manual processes or external accounting.

With Erathos, your eNotas data is delivered to PostgreSQL as a reliable operational source, ready to power internal applications or standard SQL reports with no manual sync scripts required.

### What eNotas data does Erathos sync to Amazon S3?

The integration automatically syncs key eNotas objects:

- **Transactions:** amount, date, status, and payment method
- **Customers and Payers:** registration details and payment history
- **Charges and Invoices:** due date, status, and retry attempts
- **Plans and Subscriptions:** type, billing cycle, and pricing
- **Webhook Events:** payment notifications, cancellations, and refunds
- **Payouts:** dates, net amounts, and processing fees

### Why sync eNotas with PostgreSQL?

In PostgreSQL, your eNotas data is stored as a reliable operational source, ready to feed internal applications or power standard SQL analytics.

### How it works

Erathos connects to eNotas via the official API and syncs your data incrementally: only new or updated records are processed on each run, keeping your pipelines fast and your PostgreSQL costs predictable. You choose the sync frequency (ranging from 5 minutes to daily), the objects to sync, and the target dataset. Every run is logged with full observability: execution time, rows processed, error context, and instant alerts via Slack or email if anything goes wrong.

## eNotas data in PostgreSQL in minutes

### eNotas connector ready to use

Connect eNotas to PostgreSQL and automatically export data. Centralize finance data for analysis — no spreadsheets, no scripts.

### Full control over your pipelines and eNotas

Set sync timing, frequency, and type at the table level. Configure sync frequency and type per table. Erathos uses intelligent UPSERT in PostgreSQL—ensuring data consistency even during reprocessing and preventing duplicates.

### End-to-end observability

Stop finding eNotas issues only when the business team complains. Every run is logged with run time, processed rows, and error context. Automatic alerts via Slack, Discord, or email as soon as something goes off track — so your data stays fresh for analysis.

## Centralizing eNotas data in PostgreSQL has never been easier

Erathos is a data ingestion platform built for finance and data teams. With the eNotas connector, you automatically centralize invoices, customers, and tax data in PostgreSQL — with always up-to-date data, full observability into every run, and zero maintenance.

## FAQ

### What is Erathos, and how can it help my business?

Erathos is a data ingestion platform built for reliability, transparency, and control. We help data teams connect tools like eNotas to their data warehouse — with full observability into every run, zero maintenance, and none of the black-box behavior you get with traditional market tools.

### What data from eNotas does Erathos sync to PostgreSQL?

Erathos syncs issued tax invoices, transmission status, customer data, taxable services, and billing metrics from eNotas with your Data Warehouse, incrementally and without code.

### How often does Erathos sync data from eNotas to PostgreSQL?

You can configure sync frequency from every 5 minutes up to once a day, at the table level. Erathos uses incremental sync—only new or updated records are processed on each run, keeping the eNotas pipeline efficient and PostgreSQL costs predictable.

### What happens if an eNotas sync fails?

Erathos automatically detects failures and sends alerts to your email, Slack, or Discord with full context — not just “job failed.” Smart retries handle transient errors, and every run is logged with runtime, rows processed, and error context so your team can debug in minutes, not hours.

### Is there a free trial for the eNotas connector?

Yes. Every Erathos connector includes a 14-day free trial. Connect eNotas to PostgreSQL and start syncing right away — no credit card required.
