Data export
Setări → Exportul datelor (data export) gives the shop's data in files that open in Excel or LibreOffice. Each
file has Excel (an .xlsx workbook: header bold and frozen, filters, amounts as numbers you can add up, up to 20,000
rows; a larger table is refused with a message to take the CSV) and CSV (any size: ; between columns, UTF-8,
amounts with a decimal comma, 1249,90). The full archive holds the CSV files.
Each file
Every staff member sees the files they are allowed to see, each with Descarcă (download):
| File | What it holds | Who |
|---|---|---|
comenzi.csv |
every order: number, date, status, buyer, company and CUI, contact, delivery, payment, billing address, the totals (products, discounts, shipping, SGR deposit, VAT, total), when paid and shipped | Views orders |
linii-comenzi.csv |
the products in each order: SKU, name, variant, quantity, unit price, amount, VAT rate. Never the cost: cost and margin stay in Analytics, for finance | Views orders |
produse.csv |
one row per variant, the same file as Export și import Excel / CSV | Views the catalog |
clienti.csv |
customer accounts (personal data): name, e-mail, phone, language, confirmed, state, orders, created, last sign-in | Exports customers |
facturi.csv |
the invoice register: series, number, date, invoice or credit note, what it reverses, order, buyer, total, e-Factura state | Manages invoices |
The full archive
Pregătește arhiva (prepare the archive) puts every file above in one ZIP, with the PDF of each invoice and credit
note (facturi/SERIA-NUMAR.pdf) and, where the shop sends e-Factura itself, its XML, plus CITESTE.txt, which says
what is inside and lists any file that could not be had (an invoice PDF the invoicing service would not give). The
archive is prepared in the background; whoever asked gets an e-mail when it is ready and downloads it from the same
page for 7 days, after which the daily retention task deletes it. Since it holds everything, only someone allowed
every file can ask for or download it (the owner, usually). One archive is prepared at a time.
Invoices must be kept for 10 years: the archive is how they leave with you if you ever move the shop.
Moving the whole shop to another SyncSHOP install (every table and file, not spreadsheets) is
php artisan syncshop:export on an on-premises install; on SyncSHOP hosting, ask us.