# User Manual

This manual explains how to operate **XPOS ESDC** day to day: signing in with your Secure Element card, issuing fiscal receipts, running audits, viewing reports, and understanding the messages the application shows you. It is written for the person using the till.

## 1. Getting started

### Signing in

1. Make sure your USB card reader is connected and your **Secure Element card** is inserted.
2. Open **XPOS ESDC**. It also runs automatically at sign-in and sits in the Windows system tray (the icons near the clock).
3. The **Status** screen shows the card is detected. Enter your **PIN** when prompted.

Your PIN is held only in memory while the application is running. If you restart the computer or the application, you will be asked for it again — this is a security requirement of the fiscal system.

### The Status screen

The Status screen is your at-a-glance health check. It shows:

- **Card &amp; Secure Element** — whether the card is present and its applet version.
- **PIN state** — whether the card is unlocked for signing.
- **Amount** — the total value the Secure Element is currently holding before an audit is required.
- **Online** — whether the device can currently reach FRCS.
- **Audit schedule** — when the last proof-of-audit ran and when the next one is due.

## 2. Issuing receipts with the built-in POS

XPOS ESDC includes a simple Point of Sale so you can issue fiscal receipts without any other software.

### Creating a normal sale

1. Go to the **POS** screen.
2. Add each item: description, price, quantity and its **tax label(s)**. Tax labels come from your active tax rates and can be picked from the dropdown.
3. Choose the payment type (cash, card, and so on).
4. Press **Sign**. The sale is signed on the Secure Element and a fiscal receipt is produced with a verification URL and QR code.

### Invoice types

<table id="bkmrk-typeuse-it-for-norma"><thead><tr><th>Type</th><th>Use it for</th></tr></thead><tbody><tr><td>**Normal**</td><td>A standard sale.</td></tr><tr><td>**Copy**</td><td>Re-issuing a copy of a previously signed invoice.</td></tr><tr><td>**Refund**</td><td>Returning goods or reversing a sale — references an earlier signed invoice.</td></tr><tr><td>**Advance**</td><td>An advance payment before goods/services are delivered.</td></tr><tr><td>**Training**</td><td>Practising without affecting live figures (clearly marked as training).</td></tr><tr><td>**Proforma**</td><td>A quotation-style document that is signed but is not a demand for payment.</td></tr></tbody></table>

### Refunds and copies of a past sale

When you issue a **refund** or **copy**, XPOS ESDC lets you select the original signed invoice it relates to — from any past normal, advance, training or proforma sale already in the system — so the reference details are carried across correctly.

### Printing the receipt

After a sale is signed, use **Print receipt** to send it to any connected Windows printer. You can also reprint a receipt later from the invoice history.

## 3. Reports

The **Reports** screen gives you a detailed view of your fiscal activity:

- Totals by invoice type and transaction type.
- Tax breakdown by label and category.
- Payments breakdown and item sales.
- A full **invoice list** with a **View** option to open any single receipt and its audit status.

Any report can be exported to **Excel** (`.xlsx`) for your own records or your accountant.

## 4. Audit

Audit is how your device proves to FRCS that its records are complete. XPOS ESDC handles this for you in two ways.

### Remote audit (automatic)

Whenever the device is online, audit packages are sent to FRCS automatically in the background. You do not need to start anything. The Status screen shows the last and next audit times. When FRCS returns a **proof-of-audit**, it is applied to the Secure Element and the held amount resets.

### Local audit (for prolonged offline periods)

If the device will be offline for a long time, you can carry the audit to FRCS on a USB or SD card.

**To export audit data:**

1. Insert a USB or SD card.
2. On the **Local Audit** panel, choose **Export** and select the removable drive.
3. XPOS ESDC creates a folder named after your device UID containing the audit package files and the audit request (ARP). Progress and completion are shown on the panel.
4. Take the media to a location with internet / to FRCS as instructed.

**To apply the proof-of-audit that comes back:**

1. Insert the media containing the commands file (named after your UID).
2. On the **Local Audit** panel, choose **Import** and select the drive.
3. XPOS ESDC applies the proof-of-audit to the Secure Element and writes a results file back to the media.

*Note:* exported audit data and the proof-of-audit use exactly the same secure format as remote audit; nothing about your records is exposed in readable form.

## 5. Working offline

XPOS ESDC is offline-first. Sales are always signed on the Secure Element, with or without internet. Audit records are stored safely on the PC (they survive a power cut or restart) and are reported automatically when you are back online.

**Offline capacity:** each audit record is only about 3–5 KB, so a single gigabyte of free disk space holds at least ~100,000 unsent invoices. In practice you can trade for a very long time offline before storage is a concern.

## 6. Time &amp; the clock

Accurate time is required for fiscal signing. XPOS ESDC keeps the clock correct by synchronising with the time server provided by FRCS every hour. You do not need to do anything; if FRCS changes the time-server address, the device updates itself automatically.

## 7. Notifications &amp; status signals

The application signals its state through the Status screen and the system-tray icon. If it needs attention — for example the card has been removed, the PIN is required, or the Secure Element has reached its limit and an audit is needed — it will tell you clearly what to do.

## 8. Logs

XPOS ESDC keeps a plain-text activity and error log. It rolls daily and keeps the last 30 days. If FRCS or support ever asks for the logs, use **Export logs** in settings to save them to a file you can send. Logs are kept separately from your invoice records and never affect how many receipts you can store.

## 9. Error messages

XPOS ESDC uses the standard FRCS error codes. The most common ones you may see:

<table id="bkmrk-codemeaningwhat-to-d"><thead><tr><th>Code</th><th>Meaning</th><th>What to do</th></tr></thead><tbody><tr><td>1300</td><td>No card detected</td><td>Insert the Secure Element card / check the reader.</td></tr><tr><td>1500</td><td>PIN required</td><td>Enter your PIN.</td></tr><tr><td>2100 / 2110</td><td>PIN incorrect / attempts remaining</td><td>Re-enter carefully. Repeated wrong entries can lock the card.</td></tr><tr><td>2210</td><td>Secure Element limit reached</td><td>Audit is required. Go online, or run a local audit, to reset the held amount.</td></tr><tr><td>6308</td><td>Certificate not valid for the current date</td><td>Check the PC date/time; contact FRCS if the certificate has expired.</td></tr></tbody></table>

If you see a code that is not listed here, note it and contact Defy Technologies support.