Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/15aozzz/Lab-Nova-Salud/llms.txt

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

The Clientes page is where you maintain the registry of individuals and businesses that purchase from your pharmacy. Client records are required when issuing a factura, and they speed up the checkout process for repeat customers on any document type. Route: /clientes

What you can do on this page

  • Browse all clients — the full client list is displayed in a table with each client’s document number and full name or company name.
  • Search by name or document — use the search bar to filter the list by any part of the client’s name or document number.
  • Add a new client — open the client creation form to register a new individual or business.
  • Edit a client — update a client’s document number or name directly from the table.

Document-based lookup

The fastest way to find a client is to search by their DNI or RUC number. This is the same lookup used on the Nueva Venta page — when a cashier types a document number during checkout, the system queries the client registry and pre-fills the name automatically.
  • DNI — 8-digit national identity document used by individual customers.
  • RUC — 11-digit tax registration number used by businesses purchasing with a factura.
Document numbers must be unique. Attempting to register a client with a document number that already exists in the system will return a conflict error.

Adding a new client

To register a client, you need two pieces of information:
FieldDescription
Número de documentoDNI (8 digits) or RUC (11 digits)
Nombres / Razón socialFull name for individuals, company name for businesses
Once saved, the client is immediately available for selection on the Nueva Venta page.

Editing a client

Click the edit icon next to any client row to update their document number or name. This is useful when a document was entered incorrectly or when a business changes its registered name.

Build docs developers (and LLMs) love