Introduction
Welcome to the Gesvision API documentation — the developer portal for the Gesvision business management platform by Gesvision.
Gesvision is an all-in-one platform for optical, retail and healthcare stores, covering invoicing, inventory, CRM, appointments, insurance billing, loyalty programs, electronic invoicing, and much more.
The REST API allows you to integrate Gesvision with external systems such as e-commerce platforms, accounting software, insurance providers, and CRMs.
What can you do with the API?
| Resource | Capabilities |
|---|---|
| Invoices | Create, list, update and delete invoices. Supports simplified invoices, rectifications, credit notes, multi-currency, insurance billing, and electronic invoicing. |
| Credit Notes | Issue credit notes (refunds) linked to existing invoices — full, partial, or replacement. |
| Orders | Manage sales orders with full CRUD. Supports subscriptions, manufacturing tracking, and order-to-invoice workflows. |
| Payments | Register payments against invoices — cash, card (with POS), bank transfer, vouchers. Automatic change calculation. |
| Customers | Query and update customer data, contact info, billing addresses. Patch semantics for partial updates. |
API v2 is now the recommended API and is being expanded resource by resource. See the v2 reference. v1 is frozen and still available for existing integrations.
Base URLs
| Version | Status | Base URL |
|---|---|---|
| v2 | Active (recommended) | https://app.gesvision.com/Gesvision/rest/api/v2/ |
| v1 | Frozen / legacy | https://app.gesvision.com/Gesvision/rest/api/v1/ |
Key features
- JWT authentication — secure, stateless token-based access
- Optimistic concurrency —
If-Matchheader prevents lost updates - Incremental sync —
modifiedAfter/modifiedBeforefilters for efficient data synchronization - Offset pagination —
skip/limitparameters on all list endpoints - Multi-currency — document and system currency with exchange rates
- Multi-tax — VAT, surcharge equivalence, withholding taxes
- Electronic invoicing — SII (Spain), Verifactu, CFDI (Mexico), SRI (Ecuador)
- Insurance billing — primary, secondary, tertiary insurer support
Quick links
- Authentication — How to obtain and use JWT tokens
- Quickstart — Create your first invoice in 5 minutes
- API v2 Reference — Active, recommended API
- API v1 Reference (legacy) — Frozen, deprecated
- Downloads:
- OpenAPI v2 (YAML) — Full spec, machine-readable
- Postman collection v2 — Import directly into Postman
- Gesvision website — Learn more about the platform
- Open Gesvision — Access the application