# Orders

**Comenzi** (Orders) in the sidebar lists every order placed in the online shop, newest first. You need *Sees
orders* to open it; changing an order's status needs *Manages orders*. Both come with the Shop manager, Order
operator and Warehouse roles; Accountant and B2B account manager can see orders but not change them.

## The list

Search by order number, customer name, company, e-mail or phone. **Stare** (status) narrows the list to one status,
or to **De rezolvat** (to do): every order still waiting for you (placed, confirmed, paid, being prepared, ready for
pickup).

## The order

The page shows the order number and its status, when it was placed, and:

- **Produse** (products): each line with its SKU, quantity and price as the customer bought it, then the subtotal,
  the SGR deposit, delivery, the total and the VAT in it per rate. These never change after the order is placed,
  even if you change a product's price later.
- **Istoric** (history): every status the order has been through, who changed it and when, with the note left.
- **Client** (customer): name, company and tax ID for a company, e-mail, phone, billing address and how many orders
  came from the same e-mail before.
- **Livrare** (delivery): courier with the delivery address, or the store for a pickup, and the customer's notes.
- **Plată** (payment): cash on delivery with the amount to collect, or a bank transfer still waiting for payment.

**Pagina clientului** (customer page) opens the order page the customer sees.

### AWB

For a courier order, the **Livrare** card books the parcel with a courier switched on in
[Integrations](integrations.md), once the order is confirmed, paid or being prepared: give the weight (`1,5` is
fine) and the number of parcels, then **Generează AWB**. For cash on delivery the courier collects the order total.
The card then shows the AWB, its status and the latest scans, with the **PDF label**, **Actualizează urmărirea**
(refresh tracking) and, until the courier picks it up, **Anulează AWB-ul** (cancel). Booking and cancelling need
*Manages orders*; the label and tracking only *Sees orders*.

### Invoice

The **Factură** card issues the order's invoice through the invoicing service switched on in
[Integrations](integrations.md): **Emite factura**. The invoice is always in Romanian and lists each product at the
price paid with its discounts right under it, gifts at 0, delivery and the SGR deposit (outside VAT); a
company is invoiced with its CUI. The service numbers it in your series and, if it does, sends it to e-Factura (its
status shows beside the invoice). Click the number for the PDF.

An order has one standing invoice. **Stornează** (reverse) issues a credit note with every amount negated and cannot
be undone; after it you can issue a new invoice. Issuing and reversing need *Issues and reverses invoices* (Shop
manager, Order operator, Accountant); the PDF opens for anyone who sees orders. A cancelled order cannot be invoiced.

Every 30 minutes the scheduled task **Urmărirea coletelor** asks the couriers where each parcel is: the order
becomes **Expediată** when it leaves, **Livrată** when it arrives and **Returnată** if it comes back.

### Returns and withdrawals

Since 19 June 2026 every online shop must let buyers withdraw from a purchase with a button (Directive 2023/2673,
art. 11a). The order page the buyer sees, and their order e-mails, carry **Retrage-te din contract aici** (withdraw from
contract here) for as long as they may withdraw: until the goods arrive and for 14 days after (to midnight of the 14th
day, counted from the day the order became **Livrată**). It opens a short form: their name and e-mail, the products
and how many, an IBAN for the refund when they did not pay by card, and an optional reason, which the law does not let
you require. **Confirmă retragerea** (confirm withdrawal) sends it. The buyer gets the acknowledgement by e-mail at once,
with the date and time of their statement, and the shop gets a copy at the orders address set in **Setări → Magazin
online**. Products already in a withdrawal cannot be withdrawn twice.

The **Retururi** (returns) card on the order shows each one (number like `SS-2026-000123-R1`), what it covers, the
reason and the IBAN. With *Manages orders*:

- **Acceptă** (accept), with a message telling the buyer how to send the goods (address, courier, what to put in the
  parcel). A withdrawal within the 14 days cannot be refused; **Respinge** (reject), with the reason, is only for what
  is not a valid withdrawal.
- **Marchează produsele primite** (goods received).
- **Marchează rambursat** (refunded), with the amount. The suggested amount is the goods at the price paid (order-wide
  discounts spread over them), their SGR deposit, and the delivery when the whole order comes back. The law gives you 14
  days from the withdrawal to refund, and lets you wait until the goods are back.

When the order was paid by card through a processor that can refund from the shop (Stripe, PayU, ING WebPay, BT iPay,
and the demo processor), **Rambursează acum pe card** (refund to the card now) is ticked: the money goes back through
the processor first, and the return is marked refunded only when the processor took it. If it refuses, the card shows
why and nothing is marked. A refund to the card can never exceed what the return is worth, nor what is left of the payment, and a return is refunded once even if the button is pressed twice. NETOPIA, EuPlătesc and LibraPay
refund only from their own panels, and orders paid on delivery or by transfer are refunded by bank transfer to the IBAN
the buyer gave: do that, then record the amount here.

The buyer is e-mailed at each step. Moving the order to **Returnată** and its stock stays with the status change
above.

## Statuses

**Schimbă starea** (change status) offers only the steps that fit the order. Each option says what it does; leave a
note if it helps (the customer never sees it), then **Salvează starea** (save status).

| Status | Comes after | What happens |
|---|---|---|
| Plasată (placed) | the customer placing it | The stock is reserved. The customer gets the confirmation e-mail. |
| Confirmată (confirmed) | placed | You have checked the order. |
| Plătită (paid) | placed, confirmed | Only for bank transfer. The customer gets an e-mail. |
| În pregătire (being prepared) | confirmed, paid | The products are being picked and packed. |
| Expediată (shipped) | being prepared | Only for courier delivery. The products leave the stock; the customer gets an e-mail. |
| Gata de ridicare (ready for pickup) | being prepared | Only for store pickup. The customer gets an e-mail with a six-digit pickup code. |
| Livrată (delivered) | shipped, ready | For a pickup this means collected, against the pickup code: the products leave the stock then. |
| Anulată (cancelled) | any status before shipped or delivered | The reservation is released and the products are available again. The customer gets an e-mail. |
| Returnată (returned) | shipped, delivered | Stock does not change on its own: record what came back in [Stock](stock.md). |

Cancelling and marking as returned ask for confirmation, as they cannot be undone. If someone else changed the
order while you had it open, the step you chose is refused and the page shows its current status.

An order from a marketplace says so beside its date (for example *eMAG*), and its status changes go back to the
marketplace; see [Marketplace orders](marketplaces.md).

An order from a company buyer above the company's approval limit shows **Așteaptă aprobarea companiei** (waiting for
the company's approval) beside its status. Until one of the company's administrators approves it, it can only be
cancelled; once approved it shows **Aprobată de companie** and goes on as usual. A rejected order is cancelled by the
rejection. See [Companies](companies.md#approvals).

## E-mails

The customer gets an e-mail, in the language they ordered in, when the order is placed (with the bank details for a
transfer) and when it becomes paid, shipped, ready for pickup or cancelled. Each one has a **Vezi comanda** (view
order) button to their order page. The e-mails use your shop's name and button colour.

Set where a copy of each new order goes, and where customers' replies go, on
[Settings → Magazin online](storefront.md#settings--magazin-online).

## Costs and profit

When an order is fulfilled (it ships, a pickup is collected, a digital order is delivered), SyncSHOP freezes what each
product cost at that moment (its weighted average cost from goods receipts, or its manual cost; see
[Stock](stock.md#goods-receipts-and-costs)) and records the sale, its discounts and the delivery charged, net of VAT,
for the margin reports. A whole order coming back, or a refunded withdrawal, gives that revenue and cost back. These
figures are for staff with *Sees costs, margins and profit*; the reports come with a later release.

Each AWB is booked at what the courier reports it costs, and each card payment at the processor's fee when it reports
one. Otherwise **Setări → Costuri** (Settings → Costs) holds your rate cards: the cost of an AWB per courier, and each
processor's fee as a percentage plus a fixed amount, in lei without VAT. Left empty, the cost shows as missing rather
than zero. A cancelled AWB gives its cost back.

## Click & collect

**Ridicări** (pickups) shows, per store, the orders **to prepare** and those **waiting for pickup** with how long they
have waited and whether the customer pays at the till. **Tipărește lista de pregătire** prints the pick list: every
product of the orders to prepare at that store, added up, with the orders it is for.

When an order moves to **Gata de ridicare**, the customer gets a six-digit **pickup code** by e-mail and on the order
page. To hand the order over, choose **Ridicată de client** and type the code the customer gives; a wrong code is
refused. When the customer pays at pickup, type the **receipt number** from the store's cash register too: SyncSHOP
issues no fiscal receipts, the register does, and the order keeps the number.

In **Setări → Livrare și plată**, pickup can have a price (VAT included; 0 for free) and **Păstrăm comanda** sets how
many days a ready order waits. After that, the scheduled task *Eliberează comenzile neridicate* (hourly) cancels it,
the customer is told and the products go back on sale.

## Reserve in store

With **Setări → Rezervare în magazin** switched on (it is off at first), product pages show **Rezervă aici** (reserve
here) next to each store that has the product. The customer gives how many (up to the most you allow), their name,
phone and e-mail; the store's stock is held for them for the hours you set, without payment, and they get a
confirmation with the reservation number. They pay at the till.

Held reservations are listed per store on **Ridicări**, under *Rezervări în magazin*. When the customer buys, type the
receipt number from the cash register and press **Ridicată** (collected): the goods leave the stock. **Anulează**
(cancel) frees them. So that nobody can tie up a store's stock, one e-mail or phone holds at most two active reservations, and
reservations together hold at most half of what a store has of a product (rounded up); the rest stays buyable. A reservation whose time has passed closes by itself (the scheduled task *Închide rezervările în
magazin expirate*, hourly) and its stock goes back on sale. A collected reservation is an in-store sale: it is not
booked in the profit figures, which take in-store sales from the register's import.

## Ship from store

A courier or locker order can be prepared and sent from a store instead of the warehouse. On the order page, under
**Livrare → Pleacă din** (leaves from), choose the location and press **Pleacă de aici**: the order's stock is then
held at that location (all or nothing: if it lacks a product, nothing moves) until the order has left. The store sees
it on **Ridicări** under *De expediat de aici* and on its pick list.

The AWB is then booked with that store as the sender. Each courier knows a store by its own id: on the location's form,
**Expediere de aici** takes the Sameday pickup point, the Cargus sender location, the FAN client id or the DPD client id
for that address; GLS uses the store's address. Left empty, the AWB leaves from the address on the courier account.

## Returns in any store

When a return is marked **Primit** (received), choose where the goods came back (**Primit în**): a store or the
warehouse. Its products go back into that location's stock (only goods that had left; digital content does not). A
customer can also bring a return to a store: on the order page, **Retur adus în magazin** records it for them as a
withdrawal (within the same 14 days, for what can still be returned), received at that store at once, the goods back
in its stock. The refund then follows the usual way, back to the original payment method where the processor allows it.
