Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/eme2dev/Eme2App/llms.txt

Use this file to discover all available pages before exploring further.

Eme2App is a production-ready SaaS for managing the complete billing lifecycle of a Spanish business — from creating quotes and delivery notes to issuing invoices, tracking treasury due dates, validating tax identities against AEAT, and generating Excel/PDF reports. It runs as a React 19 PWA connected to a Node.js/Express API backed by PostgreSQL (Supabase-compatible).

Quickstart

Get a local dev environment running in under 10 minutes with both frontend and backend.

Deploy to Vercel

Step-by-step guide to deploying the frontend and backend on Vercel with Supabase.

Core Modules

Invoices, quotes, delivery notes, expenses, and treasury — everything your billing workflow needs.

API Reference

Complete REST API reference with request/response schemas, authentication, and examples.

What’s inside

Invoices

Create, emit, cancel, and track payment collection on invoices with per-series numbering.

Quotes

Build budgets and convert accepted quotes directly into draft invoices.

Delivery Notes

Manage delivery notes individually or group-bill multiple albaranes in one invoice.

Expenses

Record purchase invoices and supplier expenses with VAT breakdown.

Treasury

Track due dates, register collections, and view cash-flow summaries.

PDF Designer

WYSIWYG editor for invoice and quote PDF templates with live preview and token substitution.

AEAT Validation

Validate Spanish NIF/CIF identities individually or in bulk (up to 20,000) against the AEAT census.

Reports & Export

Generate VAT reports, cash-flow summaries, and export to Excel or PDF.

Email Integration

Send invoices, quotes, and delivery notes by email directly from the app via SMTP.

How it works

1

Set up your company

Configure your company profile, fiscal data, NIF, logo, and SMTP settings under Configuration → Company.
2

Add clients and articles

Build your catalog by adding clients with their fiscal régimen and payment defaults, and articles with VAT rates.
3

Create documents

Issue invoices, quotes, delivery notes, and log expenses. Convert quotes to invoices or group delivery notes into a single invoice.
4

Manage collections

Use the Treasury module to track due dates, register collections, and monitor your cash flow in real time.

Tech stack

LayerTechnology
FrontendReact 19 + Vite 7, Tailwind CSS, PWA
BackendNode.js + Express 4
AuthJWT + bcryptjs
DatabasePostgreSQL via Prisma + @prisma/adapter-pg
HostingVercel (frontend + backend)
Compatible DBSupabase (pooler or direct URL)
Eme2App targets Spanish accounting requirements — IVA (VAT), IRPF, regímenes fiscales, and AEAT census validation are first-class citizens throughout the platform.

Build docs developers (and LLMs) love