The import of the SAF-T from another program failed
Symptom
In Accounting › Configure › Migration and imports › Import SAF-T file, the import stays in the With errors state, with “File: Rejected” and the number of problems in the Report, or the preview says that entries were rejected. Nothing was written to the books.
Message
The file's messages are in Open the report by type and result or in Download the report (XLSX). The preview's messages are in the Preview text and in Errors and warnings.
- Missing account or customer, on Validate. There is one line for each, all at once:
The account "999" is used in the file (2 time(s), for example in TransactionID 2026-03-10 DIA1 T-0001, TransactionID 2026-03-11 DIA1 T-0002; the first on line 1, column 3375) but is not in the list of accounts of the file. Add this account to the chart of accounts in the system that generated the file, or correct the account in those entries, and import it again.
- Entries rejected in the preview:
Also rejected, the reason is in the log: 3 entries in a locked period and 0 in a certified journal (the date is never changed).
- Opening balances rejected in the preview:
The opening entry would be rejected. The date 31/12/2024 is in a locked period (lock date 2025-12-31): the record was not imported and its date was not changed. Unlock the period or import a later period.
- Taxes without a match in the preview:
BLOCKED: these taxes do not exist or have another rate in the company, create or fix them first: IVA PT NOR 17.00%.
- Missing profile, when clicking Validate:
Importing a SAF-T (PT) file also needs the Accounting Administrator and Contact creation profiles: the import creates accounts, partners and entries in your name.
- Someone who can only consult, such as the Fiscal officer with no other profiles, sees at the top of the import:
You can consult the imports but not carry them out: importing a file needs the Fiscal Migration / Import profile (and also Accounting Administrator and Contact creation). Ask your administrator to give it to you.
Verified causes
- Missing reference in the file. An entry uses an account that is not in the file's list of accounts, or a customer that is not in the list of customers. The message says which one, how many times it is used and where the first one is.
- Locked period. The date of the opening balances or of the entries is before the company's lock date. The program refuses and does not change the date. In the example, a 2025 file in a company locked until 31/12/2025 creates 0 entries.
- Tax without a match. The file's tax table has a tax the company does not have, or has another rate. The import never creates taxes. The program only compares taxes when Products or Sales documents (SalesInvoices) are ticked, and Validate unticks them if the file does not contain them. Without them, the Preview text says “Tax table: 1 entries in the file, not compared with the taxes of the company because neither Products nor Sales documents are being imported. The comparison is only made when one of them is imported, and no tax is ever created.”: this is not an error.
- Missing profile. Whoever imports also needs the Accounting Administrator and Contact creation profiles. Without them, Validate refuses and the import stays in New. The Fiscal officer alone can only consult: they see the warning and have no New, no import buttons and no way to upload a file.
- File from another company. The tax number (NIF) in the file is not that of the selected company. This and the file's other rejections, such as encoding, are in How to import a SAF-T file from another program.
What to check
- Company: is the company at the top of the screen the file's company? Compare it with the Tax number in the file.
- Dates: is the File period start after the company's lock date? With the opening date, count the last day of the previous year.
- Accounts and customers: in the source program, do all accounts and customers used in the entries come out in the file's lists?
- Taxes: does the company have the taxes with the same rate? See Errors and warnings.
How to fix it
- Missing account or customer: send the messages, which give the code and the entry, to the supplier of the previous program. They add the account or customer to the file's lists, or correct the entries. Import the corrected file in a new import. Do not edit the file by hand.
- Locked period: the message gives two ways out: unlock the period or import a later period. Unlocking is a decision for the certified accountant: the program asks for the reason and the tax submissions profile. Pending validation by a certified accountant: when a period can be unlocked to receive history.
- Tax without a match: create or correct the tax in Accounting › Configure › General › Taxes, and click Validate and Preview again.
- Another company: switch to the file's company at the top of the screen, and import there.
- Missing profile: ask the system administrator for the profiles the message names, and click Validate again.
Expected result
Validate leaves the state as Validated, and Preview leaves it as Previewed, with no errors in “Errors found”. Only Confirm the import writes to the books. Until you confirm, you can correct and repeat with no effect on the books.
When to contact support
Contact support if the supplier of the previous program confirms that the file meets the official schema and Validate still refuses it, or if the preview rejects entries without giving the reason.
Information to send
- The company and its tax number (NIF), the source program and the file's period.
- The report, from Download the report (XLSX).
- The Preview text, if you reached that step.
- Do not send the SAF-T file through an unprotected channel: it contains customer and supplier data.