list_invoices
List all invoices with optional pagination. Returns a paginated list of invoices sorted by creation date. / Lista todas las facturas con paginacion opcional. Devuelve una lista paginada de facturas ordenadas por fecha de creacion.
get_invoice
Get a single invoice by its ID. Returns the full invoice including line items, totals, and status. / Obtiene una factura por su ID. Devuelve la factura completa con conceptos, totales y estado.
create_invoice
Create a new invoice. Requires client name and at least one line item. The invoice number is auto-generated. / Crea una nueva factura. Requiere nombre del cliente y al menos un concepto. El numero de factura se genera automaticamente.
update_invoice
Update an existing invoice. Only the provided fields will be changed. / Actualiza una factura existente. Solo se modifican los campos proporcionados.
delete_invoice
Permanently delete an invoice by its ID. This action cannot be undone. / Elimina permanentemente una factura por su ID. Esta accion no se puede deshacer.
search_invoices
Search invoices by client name. Useful for finding all invoices for a specific client. / Busca facturas por nombre de cliente. Util para encontrar todas las facturas de un cliente concreto.
list_expenses
List all expenses with optional pagination. / Lista todos los gastos con paginacion opcional.
get_expense
Get a single expense by its ID. / Obtiene un gasto por su ID.
create_expense
Record a new expense. Requires a description and amount. Useful for tracking business costs, deductible expenses, and vendor payments. / Registra un nuevo gasto. Requiere descripcion e importe. Util para seguimiento de costes, gastos deducibles y pagos a proveedores.
update_expense
Update an existing expense. Only the provided fields will be changed. / Actualiza un gasto existente. Solo se modifican los campos proporcionados.
delete_expense
Permanently delete an expense by its ID. This action cannot be undone. / Elimina permanentemente un gasto por su ID. Esta accion no se puede deshacer.
list_clients
List all clients/customers with optional pagination. Returns contact info, tax IDs, and addresses. / Lista todos los clientes con paginacion opcional. Devuelve informacion de contacto, NIF/CIF y direcciones.
get_client
Get a single client by their ID. Returns full contact details. / Obtiene un cliente por su ID. Devuelve todos los datos de contacto.
create_client
Create a new client/customer. Requires at minimum a name. Clients are used when creating invoices and quotes. / Crea un nuevo cliente. Requiere como minimo un nombre. Los clientes se usan al crear facturas y presupuestos.
update_client
Update an existing client. Only the provided fields will be changed. / Actualiza un cliente existente. Solo se modifican los campos proporcionados.
delete_client
Permanently delete a client by their ID. This action cannot be undone. Warning: this may affect existing invoices and quotes referencing this client. / Elimina permanentemente un cliente por su ID. Esta accion no se puede deshacer. Advertencia: puede afectar a facturas y presupuestos existentes.
list_products
List all products/services with optional pagination. Products are reusable items that can be added to invoices and quotes. / Lista todos los productos/servicios con paginacion opcional. Los productos son conceptos reutilizables para facturas y presupuestos.
get_product
Get a single product/service by its ID. / Obtiene un producto/servicio por su ID.
create_product
Create a new product or service. Requires a name and unit price. Products can be referenced when creating invoices and quotes for faster data entry. / Crea un nuevo producto o servicio. Requiere nombre y precio unitario. Los productos se pueden usar al crear facturas y presupuestos.
update_product
Update an existing product. Only the provided fields will be changed. / Actualiza un producto existente. Solo se modifican los campos proporcionados.
delete_product
Permanently delete a product by its ID. This action cannot be undone. / Elimina permanentemente un producto por su ID. Esta accion no se puede deshacer.
list_quotes
List all quotes/estimates with optional pagination. Quotes are proposals sent to clients before they become invoices. / Lista todos los presupuestos con paginacion opcional. Los presupuestos son propuestas enviadas a clientes antes de facturar.
get_quote
Get a single quote/estimate by its ID. Returns the full quote with line items and totals. / Obtiene un presupuesto por su ID. Devuelve el presupuesto completo con conceptos y totales.
create_quote
Create a new quote/estimate for a client. Requires client name and at least one line item. Quotes can later be converted to invoices. / Crea un nuevo presupuesto para un cliente. Requiere nombre del cliente y al menos un concepto. Los presupuestos se pueden convertir en facturas despues.
update_quote
Update an existing quote. Only the provided fields will be changed. / Actualiza un presupuesto existente. Solo se modifican los campos proporcionados.
delete_quote
Permanently delete a quote by its ID. This action cannot be undone. / Elimina permanentemente un presupuesto por su ID. Esta accion no se puede deshacer.
list_webhooks
List all configured webhooks. Webhooks send HTTP POST notifications when events occur in Frihet. / Lista todos los webhooks configurados. Los webhooks envian notificaciones HTTP POST cuando ocurren eventos en Frihet.
get_webhook
Get a single webhook configuration by its ID. / Obtiene la configuracion de un webhook por su ID.
create_webhook
Register a new webhook endpoint. You must specify the URL to receive notifications and which events to subscribe to (e.g. 'invoice.created', 'invoice.paid', 'expense.created'). / Registra un nuevo endpoint de webhook. Debes especificar la URL y los eventos a los que suscribirte (ej. 'invoice.created', 'invoice.paid', 'expense.created').
update_webhook
Update an existing webhook configuration. Only the provided fields will be changed. / Actualiza la configuracion de un webhook. Solo se modifican los campos proporcionados.
delete_webhook
Permanently delete a webhook by its ID. Notifications will stop immediately. / Elimina permanentemente un webhook por su ID. Las notificaciones se detendran inmediatamente.