Documentation/ Integrations with external programs/ Aplifisa
Aplifisa: exporting the entries
Aplifisa works by file export: Dijit downloads the import files and you load them into Aplifisa. There are two of them, and the order they go in matters.
Invoice list › tick › Export to Aplifisa
On this page
The button and its two options
The Export to Aplifisa button appears in three lists: purchase invoices, expense invoices and sales. It has an arrow next to it, and each part does something different:
- The button: downloads the two text files that Aplifisa imports.
- The arrow: offers Review Excel, a spreadsheet for going over the entries before you load them.
Purchases and expenses come out with the purchase entry; sales, with the sales entry. Each list exports its own, so sales accounting is downloaded from the sales list.
The two files
| File | What it holds |
|---|---|
| XSUBCTA.TXT | The ledger accounts the entries use. |
| XDIARIO.TXT | The entries. |
Those names are what the Aplifisa importer looks for. Download them and load them as they are, without renaming them.
The order they are loaded in
- First XSUBCTA.TXT, the accounts.
- Then XDIARIO.TXT, the entries.
The entries need the accounts to exist already. Load XDIARIO first and Aplifisa rejects them, which looks like a problem with the file when it is a problem with the order.
The review spreadsheet
The spreadsheet holds the same entries, for going over them before you load them. It is not imported into Aplifisa: it is only there to be read.
It comes out with a fixed name, Reporte Aplifisa Compras or Reporte Aplifisa Ventas, depending on the list you asked for it from.
The documents that go into the export
Dijit exports, in this order:
- The documents you have ticked.
- If you tick none, the ones the list's filter leaves in view.
- If no filter is set, every document in the list.
If there is nothing to export, the screen says so and no file is downloaded.
Before you export
Check that the invoices have the right supplier, date, net, VAT and ledger account. There is no check beforehand here: the file is built with whatever is there, and anything that goes into your accounts wrong costs more to correct later.
Coding a document is what decides which account each amount goes to.
The risk of duplicating
Dijit lets you export the same invoices twice, because it does not know whether the file was ever imported into Aplifisa. Keeping track of what is already loaded is up to you.
One routine that works: export closed periods, a week or a month, and note down which period is already loaded.
Things that come up
| Situation | Cause | What to do |
|---|---|---|
| Aplifisa rejects the entries | XDIARIO was loaded before XSUBCTA. | Load XSUBCTA first and XDIARIO after it. |
| The button is not there | The integration is not switched on for your account. | Ask Dijit AI for it. |
| The Aplifisa integration is not enabled for this company | The company you are in does not have it switched on. | Check the company chosen at the top and, if it is the right one, ask for it to be switched on. |
| No documents to export | Nothing is ticked and the filter leaves no invoice in view. | Clear the filter or tick the invoices. |
| Entries have been duplicated | The same file was imported twice. | Export closed periods and note down what is loaded. |