Clinical Invoice Issuance

Invoice Issuance is the heart of clinic billing: it lets you create invoices in several currencies with services, line discounts and a general discount, configurable VAT, IR withholding and integrated immediate payment (simple or mixed, in one or several currencies) in a single flow.

New invoice with services and totals summary New invoice with services and totals summary

How to access

  1. Log in to DentaSoph.
  2. Open the side menu CAJA Y FINANZAS → Facturación.
  3. Make sure you are on the Nueva Factura tab (the first tab).
Nota

Permission to manage billing is required.


Overview: two columns

The screen is divided into two columns:

Left column Right column
1. Issuance data (patient and appointment) Financial summary (totals that update instantly)
2. Services / invoice lines (editable table) Immediate payment (simple or mixed, in several currencies)

1. Issuance data

Patient selector (with autocomplete)

  • It is a search box: as you type, the list is filtered.
  • You can search by name, email, phone or ID number.
  • Each option shows the name and, below it, the email · phone.
  • When you choose a patient, their data is filled in automatically on the invoice.

Linked appointment selector (optional)

  • It shows the appointments of the selected patient.
  • If the appointment already has an issued invoice, a highlighted notice appears:

    “This appointment already has invoice #FAC-2026-00042 issued (Balance: C$ 500.00 NIO).”

Importante
  • If you link an appointment, you can import its services into the invoice.
  • The notice helps avoid billing the same appointment twice by mistake.

2. Services / invoice lines (editable table)

Each row in the table is a line of the invoice. The table is edited directly on screen, without opening additional windows.

Editable columns

Column How it is used
Servicio Selector inside the row. It searches the catalog and shows the name with its category and price in the service currency. When you choose it, the unit price and the currency are filled in automatically.
Cantidad Numeric field. Accepts steps of 0.5 and a minimum of 0.01.
Precio unitario Numeric field in the service’s original currency. Next to it, a label shows the currency code (USD, NIO, etc.).
Descuento Toggle to choose percentage or fixed amount, plus the discount value. The value field only appears when there is a discount.
Total de la línea Read-only. It is shown in the base currency, in bold. If the service is in another currency, the original equivalent appears below in parentheses; the applied discount is shown subtracted.
Acciones Trash icon to remove the line from the invoice.

Adding services

The + Agregar Servicio button (with the icon) adds an empty row at the end of the table to enter a new service.

Calculation in real time

For each line, the system does the following:

  1. Takes the service price in its original currency.
  2. Converts it to the base currency using the corresponding exchange rate.
  3. Multiplies the converted price by the quantity.
  4. Applies the line discount, whether as a percentage or as a fixed amount.
  5. Adds the result to the taxable or exempt subtotal, as appropriate.
  6. Recalculates the invoice grand total.
Consejo
  • The unit price is shown in the service’s original currency.
  • The line total is always expressed in base currency.
  • If the service is in a currency other than the base one, you will see its original equivalent below the total.

3. Financial summary (right column)

The summary updates instantly with every change in the table or in the discounts:

Line What it shows
Subtotal gravable Sum of the lines that pay VAT, before discounts.
Subtotal exento Sum of the lines exempt from VAT.
Descuento por servicios Only appears if there are discounts: sum of the discounts applied line by line.
Descuento general Toggle to choose percentage or fixed amount, plus the discount value.
IVA Percentage field (from 0 to 100, in steps of 1, with the % sign next to it).
TOTAL Invoice total, highlighted.

How totals are calculated

  1. Per line: the original price is converted to the base currency at the exchange rate applied.
  2. Line discount: it is calculated as a percentage of the gross total in base currency, or as a fixed amount (converted to base currency if it came in the original currency).
  3. Gross subtotal: sum of the taxable subtotal and the exempt subtotal.
  4. Subtotal after line discounts: the line discounts are subtracted from the gross subtotal, without going below zero.
  5. General discount: it is applied as a percentage of the net subtotal, or as a fixed amount in base currency.
  6. Total discounts: sum of the line discounts and the general discount.
  7. Net subtotal: the total discounts are subtracted from the gross subtotal, without going below zero.
  8. Net taxable base: the part of the net subtotal that corresponds to the taxable lines, in the same proportion they had within the gross subtotal.
  9. VAT: it is calculated on the net taxable base, according to the indicated percentage.
  10. TOTAL: net subtotal plus VAT.
Nota
  • IR withholding: it is an optional invoice field. If your clinic uses it, ask the administrative area how it is recorded.
  • Base currency: it is defined in Caja → Monedas, with an exchange rate of 1.000000.

4. Immediate payment (optional)

The payment section is marked as Opcional and has a toggle to choose the payment mode:

Mode What it does
Simple (a single payment) Records a single payment (default option).
Mixto / dividido Lets you record several payments on the same invoice.

4A. Simple mode (one payment)

Field How it works
Turno de caja (required to collect) Open shift selector; it shows the shift number and the register.
Método de pago Buttons: Efectivo, Tarjeta or Transferencia.
Si es en efectivo: moneda entregada Selector among the active currencies; it shows the code and the exchange rate.
Si es tarjeta o transferencia: cuenta destino Bank account selector, filtered by the payment currency.
Monto calculado Read-only. It is the invoice total converted to the payment currency at the current rate.
Nota
  • If you do not select a shift, the invoice is issued as Pendiente, with no payment.
  • The calculated amount is obtained by converting the invoice total in base currency to the payment currency at the current rate.

4B. Mixed / split mode (several payments)

The Agregar Pago button adds a payment row. Each row has:

Field How it is used
Método Efectivo, Tarjeta or Transferencia.
Si es en efectivo: moneda Selector among the active currencies, with their exchange rate.
Si es otro método: cuenta destino Bank account selector, filtered by currency.
Monto Amount in the currency of that row.
Eliminar ✕ icon to remove the row.

Mixed payment summary (in real time)

Concept What it shows
Total factura The total in base currency.
Total cubierto The sum of the base-currency equivalents of all payments.
Restante What is still missing, in base currency, with its approximate equivalent in dollars.
Importante
  • The covered total cannot exceed the invoice total: if it does, the button to save is disabled.
  • Each row calculates its base-currency equivalent automatically, multiplying the amount by the exchange rate.

5. Main action button

The button text changes depending on the situation:

Situation Button text What it does
Sin turno de caja Solo Emitir Factura Issues the invoice as Pendiente, with no payment.
Con turno y monto en cero Solo Emitir Factura Issues the invoice as Pendiente.
Con turno y monto mayor que cero Emitir y Cobrar Factura Creates the invoice, records the payment, generates the cash movement and updates the balances.
Importante
  • While saving, the button shows a loading indicator.
  • If required data is missing, the button is disabled.
  • Everything is saved together: invoice, services, payments, cash movements and balances. If something fails, no part is saved halfway.

Full flow: from the appointment to the paid invoice

  1. Open Nueva Factura from the Billing module.
  2. Search for and select the patient with autocomplete.
  3. If it applies, link the patient’s appointment.
  4. If the appointment already has an invoice, the highlighted notice appears with the number and the balance; avoid continuing with a duplicate invoice.
  5. Add the services in the table: service, quantity, price, discount and line total in base currency.
  6. Review the financial summary: subtotals, general discount, VAT and TOTAL.
  7. Decide whether you collect at that moment:
    • If there is no shift, use Solo Emitir Factura: it remains Pendiente.
    • If there is a shift and a single payment, complete the simple form and use Emitir y Cobrar.
    • If there is a shift and several payments, add the rows of the mixed mode and use Emitir y Cobrar.
  8. The system saves the invoice, its services, the payments, the cash movements and the updated balances.
  9. The invoice remains Pagada or Abono parcial, depending on what was covered.

Common errors and solutions

Message Why it appears What to do
«Moneda base no configurada» The clinic does not have a base currency defined. Set it in Caja → Monedas.
«Tasa de cambio inválida» The currency does not have an exchange rate greater than zero. Edit the currency and set a rate greater than zero.
«El precio no puede ser negativo» A price lower than zero was entered. Correct the price in the services table.
«Cuenta destino requerida» Card or transfer was chosen without a bank account. Select the destination account.
«Monto de pago excede saldo» The payment is greater than the invoice total. Reduce the amount or use mixed mode.
«Turno de caja cerrado» The selected shift is no longer open. Open a shift in Caja Diaria.
«No hay turno activo para esta moneda» A collection is attempted in a currency without an open shift. Open a shift with funds in that currency.
«Decimales inválidos para moneda» The currency has a number of decimals that is not allowed. Edit the currency and set between 0 and 4 decimals.

What’s new in this version

Aspect How it was before How it is now
Screen layout Steps one after another Two columns: data and services on the left; summary and payment on the right.
Services They were added in a separate window Editable table on the same screen, with quantity, price and discount per line.
Discounts There was only a general discount Line discount and general discount, both as a percentage or a fixed amount.
Several currencies Basic handling Complete: price in the original currency, total in base currency and automatic conversion.
Payment Only one payment Simple payment and mixed payment, with several currencies and destination accounts.
Invoiced appointment notice It did not exist Highlighted notice with the invoice number and the balance.
VAT Fixed Configurable percentage on each invoice (from 0 to 100).
IR withholding It was not documented Optional field that is saved with the invoice.

What’s next?