Export to Accounting Software
Accounting export is built into Frihet and does not require connecting any third-party integration. It is used from the Accounting Firm Dashboard, which requires the Premium plan.
Frihet exports billing data in 7 formats that major accounting programs can import directly. This allows managers and tax advisors to work with their usual tools without manual data entry.
Available Formats
| Format | Target Software | Delimiter | Encoding | Date Format |
|---|---|---|---|---|
| ContaPlus xDiario.txt | Sage 50, ContaSol, A3 | Fixed-width (129 characters) | latin-1 | YYYYMMDD |
| DATEV EXTF | German accounting firms (~90% of the market) | ; (semicolon) | latin-1 / CP1252 | DDMM |
| Xero CSV | Xero (global) | , (comma) | UTF-8 | DD/MM/YYYY |
| QuickBooks CSV | QuickBooks (global) | , (comma) | UTF-8 | MM/DD/YYYY |
| Generic CSV | Universal | , (comma) | UTF-8 with BOM | ISO 8601 |
| A3 / Sage | A3 Innuva, Wolters Kluwer (Spain) | ; (semicolon) | latin-1 | DD/MM/YYYY |
| SAF-T | OECD SAF-T XML v2.0 (Portugal, Norway, EU) | XML | UTF-8 | ISO 8601 |
ContaPlus (xDiario.txt)
The ContaPlus xDiario format is the historical accounting standard in Spain. It generates a text file with fixed-width records of 129 characters per line.
Record Structure
Each invoice generates between 2 and 3 lines of accounting entry:
| Position | Length | Field | Example |
|---|---|---|---|
| 1-2 | 2 | Entry Type | A1 |
| 3-10 | 8 | Date | 20260215 |
| 11-22 | 12 | Accounting Account | 430001000000 |
| 23-34 | 12 | Contra Account | 700000000000 |
| 35-49 | 15 | Amount | 000000121000.00 |
| 50 | 1 | D/H (Debit/Credit) | D |
| 51-90 | 40 | Concept | Inv. FRI-2026-0001 |
Default Accounting Accounts
| Account | Concept |
|---|---|
| 430XXX | Clients (XXX = client code) |
| 477000 | Public Treasury, Output VAT |
| 700000 | Sales of goods / provision of services |
| 472000 | Public Treasury, Input VAT |
| 600000 | Purchases / expenses |
Import into Sage 50
- Open Sage 50 and go to Accounting > Journal > Import
- Select the xDiario ContaPlus format
- Load the
.txtfile exported from Frihet - Review the entries and confirm the import
DATEV EXTF
The DATEV EXTF format is the de facto standard in German accounting firms and is also used in Austria and Switzerland. Frihet generates files compatible with DATEV Unternehmen Online and similar.
EXTF Header
The first line of the file contains the batch metadata:
EXTF;700;21;Buchungsstapel;12;...
Main Fields
| Field | Description |
|---|---|
| Umsatz (Soll/Haben) | Debit or Credit Amount |
| Gegenkonto | Contra Account |
| BU-Schlüssel | Tax code (8 = 19%, 9 = 7%) |
| Belegdatum | Document date (DDMM) |
| Buchungstext | Entry text |
| Belegfeld 1 | Invoice number |
Encoding
DATEV requires latin-1 (CP1252) encoding. Frihet automatically converts special characters (accents, ñ) when exporting.
Xero CSV
Xero is the most used accounting software in Anglo-Saxon markets. The Xero CSV contains 43 columns that cover all fields of a sales invoice.
Main Fields
| Field | Description |
|---|---|
| *ContactName | Client name (required) |
| *InvoiceNumber | Invoice number |
| *InvoiceDate | Issue date (DD/MM/YYYY) |
| *DueDate | Due date |
| *UnitAmount | Unit price |
| *Quantity | Quantity |
| *AccountCode | Accounting account code |
| TaxType | Tax type (OUTPUT, INPUT, NONE) |
| Description | Description of the item |
| Currency | ISO currency code (EUR, USD, GBP...) |
Import into Xero
- In Xero, go to Business > Invoices > Import
- Select CSV as the format
- Load the file exported from Frihet
- Map the columns (Frihet's CSV uses the exact Xero names)
- Confirm the import
QuickBooks CSV
The QuickBooks CSV format is compatible with QuickBooks Online and QuickBooks Desktop.
CSV Fields
| Field | Description |
|---|---|
| InvoiceNo | Invoice number |
| Customer | Client name |
| InvoiceDate | Issue date (MM/DD/YYYY) |
| DueDate | Due date |
| Item | Description of the item |
| Quantity | Quantity |
| Rate | Unit price |
| Amount | Line total amount |
| TaxCode | Tax code |
| TaxAmount | Tax amount |
| Memo | Additional notes |
QuickBooks uses the MM/DD/YYYY (month/day/year) format. Frihet automatically converts dates when exporting.
Generic CSV
The generic CSV format is the universal option when no other format fits the target software. It includes all available fields with the broadest possible compatibility.
Features
- Encoding: UTF-8 with BOM (compatible with Excel in all languages)
- Delimiter: comma
- Dates: ISO 8601 format (
YYYY-MM-DD) - Amounts: decimal notation with a dot (
1234.56)
Included Fields
The generic CSV exports all invoice fields: number, date, client (name, tax ID, address), items (description, quantity, price, tax), totals, payment status, and VeriFactu metadata.
How to Export
Export by Period (Accounting Firm Dashboard)
From the Accounting Firm Dashboard (Premium plan):
- Go to Accounting Firm Dashboard > Export tab
- Select the export format
- Select the year and the quarter (Q1 to Q4) or Full year
- If you manage multiple clients, select the client
- Click Download export
The file contains the invoices and expenses for the selected period in the chosen format.
Batch Tax Model Generation
The Batch export button on the Accounting Firm Dashboard generates draft tax models for several clients at once:
- Go to the Accounting Firm Dashboard and click Batch export
- Choose the model (303, 130, 111 or 115), the format (PDF or AEAT TXT) and the period
- Select the clients for whom you want to generate the model
- Click Generate ZIP
- A ZIP file with one document per selected client is downloaded
Batch generation saves time at quarterly closing when managing multiple clients from the same accounting firm workspace.
Notes on Encoding
ContaPlus, A3 and DATEV formats require latin-1 (ISO 8859-1 / CP1252) encoding. Frihet performs the conversion automatically upon export:
- Compatible characters are converted directly
- Characters without a latin-1 equivalent are transliterated (e.g., Asian characters are replaced by their closest ASCII representation)
Xero, QuickBooks, SAF-T, and generic CSV formats use UTF-8 and have no character restrictions.
Related: Ledger Book | Tax Forms | All Integrations