Exporting Your Data
Your data is yours, and you can take it out whenever you want. Astra offers two routes: the Export and backup section in Settings, which hands you a complete copy of the organization (one ZIP by email, or one CSV per entity), and the export buttons scattered through the app, which download exactly what is on screen as Excel or CSV. This guide covers both — what each file contains, what format it arrives in, and who is allowed to generate it.
CSV files include the usual columns followed by all stored record fields, including addresses, exemptions, tax details, salary and industry-specific data. Extra fields use the data. prefix; invoice line fields use line.. The backup also includes calendar events and resources and original attachments. Its manifest lists copied and unavailable attachments. Credentials and access links are excluded.
Imported historical XMLs and uploaded Hacienda responses are included in the XML download too. To bring data from another provider, see the migration guide.
Where it lives and who gets in
Choose Settings at the bottom of the main sidebar. On a phone, open More → Organization Settings. In the settings menu’s Data group, choose Export and backup, with a download icon. Inside you will see the Export My Data heading and a red Data portability notice.
Your role must have Exportar selected in the Exportar Datos group on the roles screen. This permission also lets you open settings directly in this section, even without permission to edit other settings. If you have no access to any section, the settings menu entry is hidden.
The Exportar Datos → Exportar permission arrives unticked in the roles Astra creates by default — Contador (accountant), Asistente (assistant) and Vendedor (sales). Only the owner and the Administrador role (which has full access) have it on. To let someone else take the data out, tick it manually in the Team tab of Settings, under Roles & Permissions (see Team Collaboration).
Astra re-checks the permission on the server every time you press a button on this screen, so hiding the tab is never the only control.
The full backup
The blue card at the top, Full backup (everything), is the widest option: a single ZIP with everything the organization holds. Press Request full backup and Astra builds it in the background; when it finishes it emails you the download link. There is no need to wait on the screen — you can keep working or sign out.
What the ZIP contains
- A manifest file with the organization name, the generation date and the list of everything included, with a row count per file.
- A data folder with the eight curated CSVs — the same ones the cards below produce: contacts, products, invoices, payments, issued and received electronic documents, work orders and employees.
- A tables folder with one CSV per business table the eight above do not cover: expenses and purchase invoices, purchase orders, banking and reconciliation, payroll, cash sessions, gift certificates, assets, inventory and stock movements, recurring invoicing, notes, and the full accounting ledger. Empty tables are skipped.
- An xml folder with a ZIP of the electronic documents you issued and Hacienda accepted, plus the XML files of the supplier documents you received, the receiver messages you returned, and Hacienda's acceptance responses for what you issued.
What it deliberately leaves out
The backup covers every business table except a short list held back for security or because it is not your data:
- Secrets — electronic-invoicing credentials, API keys, webhooks and customer portal links. On top of that, any column that is a password, key or token is stripped from the files in the tables folder.
- Your relationship with Astra — subscription, plan changes, platform payments and purchased add-ons.
- Team and invitations — user membership, roles and pending invitations.
- Internal logs and work in flight — activity records, sent notifications, scheduled emails, stock reservations and half-processed purchase import jobs.
- Configuration — email and message templates, document numbering sequences, CABYS favourites, saved searches, dashboard preferences and calendar sharing links.
The email carries a signed link that expires after 24 hours and additionally requires you to be signed in and to be a member of that organization. If yours expired, go back to the Export and backup section and request another one — it is built from scratch; the previous file is not recovered.
A few practical details:
- The email goes only to whoever requested the backup, not to the whole organization.
- The button stays disabled (Backup requested ✓) until you reload the screen, so you cannot queue ten backups by accident.
- Astra makes one attempt and the build is capped at one hour. If it fails it is not retried automatically and you do not get a failure email — just request it again.
- If the organization has no electronic invoicing configured, the ZIP is still built and the manifest notes that the issued-XML part was skipped.
The nine individual exports
Below the blue card sits a grid of nine cards. Each downloads one kind of data, immediately and without going through email. Eight produce a CSV; the ninth produces a ZIP.
The card names, their descriptions and their buttons are not translated: whatever language you run Astra in, you will read Contactos, Productos, Facturas… and the buttons say Descargar CSV ("Download CSV") and Descargar ZIP. The column headers inside the files are in Spanish too.
| Card | What it contains |
|---|---|
| Contactos (contacts) | Customers and suppliers with identification, phones and emails, billing currency, credit terms and limit, account credit, product and service discounts, VAT exemption, status and notes. |
| Productos (products) | Name, description, SKU, barcode, price, cost, category, whether it is stock-tracked and its quantity, weight, vendor and vendor SKU, and whether it is active. |
| Facturas (invoices) | Header and lines together: one row per line item with the invoice data repeated. Number, type, dates, customer and ID number, currency and exchange rate, subtotal, discount, VAT and total, sale condition, credit term, status and notes; then per line, product code, CABYS, description, quantity, unit, price, discount and VAT. |
| Pagos (payments) | Payments received: date, customer, invoice, amount, currency, exchange rate, colón amount, method, allocation type, reference and notes. |
| Documentos Electrónicos Emitidos | Electronic invoices, tickets and notes you issued: date, consecutive number, numeric key, type, status in Astra and at Hacienda, receiver, currency, exchange rate, total, VAT and discount. |
| Documentos Electrónicos Recibidos | Supplier documents: date, consecutive number, key, type, issuer, currency, the XML and the BCCR exchange rate, VAT, total, colón total at both rates, sale condition and the receiver message you returned. |
| Órdenes de Trabajo (work orders) | Number, title, customer, device (type, brand, model, serial), problem and repair notes, status, priority, estimated and actual cost, currency and creation date. |
| Empleados (employees) | Employee number, name, ID number, CCSS number, email and phone, position, department, contract and schedule type, weekly hours, emergency contact and notes. |
| XMLs Electrónicos (ZIP) | The signed XML files of the documents you issued and Hacienda accepted. It is the same file that goes inside the full backup. |
The grid does not adapt to what you use. If your company does not run work orders or has no employees loaded, the card still appears and the CSV comes out with the header row and nothing else. That is not an error.
For backup completeness, the Facturas file includes every invoice in the organization — including the recurring invoicing template drafts that lists and reports hide. That is why the CSV totals may not match a sales report. If you need figures that tie to Accounting, use the Accounting exports.
These nine run on the spot, inside your own download. While one is working the button changes to Exportando... no cierre esta página ("Exporting… do not close this page") and a notice warns it can take several minutes. Take that seriously: closing or reloading the browser tab halfway through kills the download.
How the files arrive
- Comma-separated CSV, UTF-8, with a BOM marker at the start. That marker is what makes Excel render accents correctly when you open the file with a double click.
- Spanish headers on all nine Export and backup cards, whatever language you run Astra in.
- One row per record, except in Facturas, where there is one row per line item (invoices with no lines come out as a single row).
- File names carry the data type, the organization identifier and the date and time, so two downloads never collide.
- Formula protection: if a value starts with
=,+,-or@, Astra prefixes an apostrophe so Excel or Google Sheets will not execute it as a formula. If you see a stray leading apostrophe in a cell, that is why.
The CSVs are meant to be opened in Excel, Numbers or Google Sheets, or loaded into another system. In Excel, if everything lands in a single column, use Data → Text to Columns with the comma as separator.
Exports from Accounting
Accounting is the part of Astra with the most exports, and they work differently from the Export and backup ones: instead of dumping a whole table, they build an Excel report that honours the filters you have on screen — period, document type, search. The button is green with a spreadsheet icon and reads Excel, at the top right of the tab.
These tabs have it:
- Tax Review → Sales and Purchases — the button opens a menu with two options: Excel with line-item detail and Excel documents only (summary).
- Tax Review → CN / DN — credit and debit notes, issued and received, each block with its own total.
- Tax Review → Tax Summary — the period's VAT summary, with a separate download for the D-270, which also has its own D-270 tab.
- Receivables & Payables → A/R and A/P — the full aging: customer or supplier, document, dates, total, paid, balance, days overdue and the bucket (current, 1-30, 31-60…). A/P adds income-tax and VAT withholdings.
- Banking → Treasury (outside Accounting, with the same button and the same permission) — summary by payment method and by bank account, the cash sessions in range, and the incoming/outgoing detail.
- Payroll & Assets → Payroll — the payroll periods with headcount, gross, deductions and net.
- Ledger → Accounts, Books and Statements — the chart of accounts, the trial balance and the financial statements. More detail in Chart of Accounts & Books.
Two Receivables & Payables tabs use a different button — grey, labelled Export — that downloads a CSV instead of Excel: Customer Credit (customer, ID number and credit balance in colones) and Certificates (code, holder, issue date, currency, initial amount, redeemed, balance and age of each gift certificate still carrying a balance). On both, the button only appears when the table has at least one row.
The Accounts, Books, Statements, D-270, A/R, A/P, CN / DN, Payroll and Treasury files follow your interface language. The Customer Credit and Certificates files come out in Spanish even when you are using Astra in English. The files for the form 150 IVA return (the purchase summary with the IVA breakdown and the Declaración IVA) also stay in Spanish on purpose: their field names are what your accountant's software expects.
Other exports in the app
Outside Settings and Accounting there are three more places that get data out:
Payments Received and Expense Payments
In Revenue → Payments Received and in Expenses → Payments, next to the list's search box, the same green Excel button appears. It downloads what you are looking at — same search, same advanced search filters, same sort order — but without pagination: it brings every matching row, not just the current page. The file opens with a title and the date, then date, document, contact, payment method, reference, currency and amount (Payments Received also carries the colón amount; Expenses carries the deposit account). The total sits at the bottom.
Cash Register
In Cash Register, the Recent Sessions block has a green Export CSV button that downloads the closing history exactly as you have it filtered. Per session it carries: close, branch, who opened and who closed, opening balance, cash received, expected and counted, the variance and its stated reason, the balance carried to the next opening, cash to deposit, amounts received by card, SINPE, transfer, cheque and dollars, withdrawals and deposits during the shift, the deposit reference and the notes.
Unlike every other export, the Cash Register CSV uses technical English column names (for example closed_at, counted_cash_crc, variance_crc) and does not change with the language. That is deliberate: it is meant for an accountant or another system to process, not to read by eye.
File attachments
The full backup includes original attachments in the attachments folder; its manifest reports any unavailable files. To get them, open the record that holds them (an invoice, a contact, a work order…), go to the Related Files tab and press Download All: Astra builds a ZIP with every file on that record. On a work order, the ZIP also includes the files attached to its tasks.
Lists with no export button
Worth knowing so you do not hunt for it: the Invoices, Contacts, Products, Estimates, Inventory and Work Orders lists have no export button. To take that data out, use the matching card on the Export and backup section, which also carries more columns than the list shows.
The roles screen shows an Exportar checkbox inside several of those modules. Today only the ones under Pagos (for the Excel buttons on the two payment lists) and Contabilidad have any effect; the rest were reserved for exports that do not exist yet.
Limits, timing and errors
| Situation | What happens, and what to do |
|---|---|
| The download takes a long time | The nine Export and backup exports run inside your download: with thousands of documents they can take several minutes. Do not close or reload the page. If it is too much, use the full backup, which runs in the background. |
| The Excel file comes out truncated | The two payment lists cap at 50,000 rows and the Treasury detail at 10,000 incoming and 10,000 outgoing. When the cap is hit, the file itself carries a note saying so. Narrow the search or the date range and download it in parts. |
| "No se pudo conectar con el servicio de documentos electrónicos" | That is the error from the XMLs Electrónicos (ZIP) card: the organization has no electronic invoicing configured, or the service did not answer. Check the Electronic Invoice tab in Settings and try again. |
| The backup email never arrived | Check your junk folder. If it is not there either, the build may have failed: Astra neither retries nor emails you about it. Go back to the tab and request it again. |
| The link in the email errors out | It expires after 24 hours and requires a signed-in account that is a member of that organization. If you switched organizations or it expired, request a fresh backup. |
Every export query is explicitly scoped to the organization you are working in, including the backup built in the background. If you belong to several organizations, switch first so you do not download the wrong one.
Permissions
Each route has its own key. The roles screen names all of them in Spanish:
- Exportar Datos → Exportar — opens the Export and backup section, the full backup and the nine cards. This permission grants direct access to this section even if you cannot edit the organization’s other settings. It is off in the Contador, Asistente and Vendedor roles.
- Contabilidad → Exportar — enables the Excel buttons on the Accounting tabs. Astra re-checks it on the server, so calling the action directly does not work without the permission either.
- Pagos → Exportar — enables the Excel button on Payments Received and on Expenses → Payments.
- Cierre de Caja → Ver — that alone is enough for Export CSV on the cash history.
- Customer Credit and Certificates — the Export button on those two tabs depends only on your being able to see them.
Beyond the permission, some tabs also require the company to hold the matching add-on: Receivables & Payables and Ledger need Contabilidad Pro (Accounting Pro), Banking → Treasury needs Cuentas Bancarias & Tesorería (Bank Accounts & Treasury), and the Certificates tab needs Certificados de Regalo (Gift Certificates). The Export and backup tab depends on no add-on — it is on every plan.
The organization owner overrides this entire list and can always export.
Need more help?
Our team is ready to assist you.