> ## Documentation Index
> Fetch the complete documentation index at: https://docs.totemdigital.ro/llms.txt
> Use this file to discover all available pages before exploring further.

# Proformas, bank payments and SAGA

> Issuing proformas, automatic matching of payments from BT and Treasury statements, online payment and sending to SAGA.

## Proformas

Proformas are generated automatically for renewals, maintenance contracts and service hours, or manually from **Proformas › New proforma**. They use the unified document design, are sent by email with a view link and saved as PDF from the browser.

* EU clients with a valid VAT number automatically get 0% VAT (reverse charge).
* Lines of automatic proformas are written in the client's language (Romanian, English, German, Hungarian).
* With SAGA Web connected, the proforma reaches SAGA as an “Order” and the payment as a “Receipt”.

## Bank payments

The **Bank payments** menu reads statements and marks proformas as paid.

| Source | Format |
| - | - |
| Banca Transilvania | CSV, XLSX or MT940, uploaded manually or received automatically by email |
| Treasury | The SPV PDF (with attached XML) or the XML, uploaded manually or retrieved automatically from SPV |
| Other banks | CSV, XLSX, MT940 or CAMT.053 |

### How payments are matched

| Confidence | When |
| - | - |
| Certain | The proforma number appears in the payment details and the amount matches, or the payer is recognised by IBAN or tax ID and the amount is exact. |
| Likely | The client is recognised by name, or the amount differs from the proforma. |
| Weak | Only the amount matches. |

Certain payments are applied automatically (**Settings › Automation**). For the others choose **Confirm**, another proforma from the list, or **Ignore**. With automatic retrieval you receive a single email, only with the unclear payments.

* A smaller amount is recorded as a partial payment; the proforma becomes paid when the accumulated amount covers the total.
* On confirmation, the payer's IBAN is saved on the client, so next time it is recognised with certainty.
* If the details mention a proforma that is already paid, the ERP flags a possible double payment.
* The same statement can be uploaded several times: transactions already imported are skipped.

## Online payment

With online payment enabled (**Settings › Online payments**), the client pays by card via Stripe. The proforma becomes paid automatically and you receive an email. Stripe payouts in the bank statement are automatically set to **Ignored**, so they are not counted twice.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.