Dijit Dijit Documentation

Documentation/ Integrations with external programs/ Factusol

Factusol integration: goods-in and purchase invoices

With the Factusol link, the goods received notes Dijit has read come out in a file you import into Factusol as goods-in documents, without entering the data by hand again. Purchase invoices come out in a separate file of their own, which goes in as received invoices.

Documents › Purchases › Goods received notes › File for FACTUSOL

How Dijit connects to Factusol

The connection to Factusol goes through the maker's own official files, following their guidelines. Dijit generates those files and you import them into your Factusol, from Utilidades › Importaciones.

That is why Dijit's settings ask for seven details of your Factusol (warehouse, series, numbering and VAT rates) and for no password and no server address: Dijit does not go into your Factusol, it hands it the files.

The download button and the parameter group appear once the integration is switched on for your company. You switch it on yourself when you sign up, by choosing Factusol as your program. If you did not do it then, ask Dijit IA for it: the assistant prepares the ticket and support switches it on.

The codes that have to be in place

The file has to carry Factusol codes for the supplier and for the items, because it does not accept names or descriptions. You supply those codes the first time, inside Dijit, so that Dijit learns them and fills them in by itself from the second time on:

If either one is missing, Dijit does not generate the file and tells you which document and which line is short.

The item code only goes in on the lines that arrive from that moment on. The lines that were already there without a code stay as they were: those you assign one by one.

The lines file takes thirteen characters for the item code. If yours is longer, it travels cut short and Factusol does not recognise it.

That first time being manual is not a reading failure: it works that way in every integration, and there are four concrete reasons why no system can get that match right on its own.

Your item catalogue, step by step

  1. Get the list out of Factusol. In Factusol, Impresión › Ficheros › Artículos › Generar en EXCEL. What comes out is a printed listing, so the columns change with the options you tick: that is fine, Dijit does not expect any particular layout.
  2. Upload it to Dijit. The External product catalogue menu, Import button. Dijit shows you the spreadsheet's columns and you say which one holds what; the code and the name are required. The code is the key: if it is already there it is updated, if not it is created, and nothing is deleted for being absent from the file.
  3. Match the FACTUSOL columns too. If the listing carries the supplier and the supplier's reference, say which columns they are: with those two, that supplier's lines end up linked without your picking anything line by line. If the VAT comes as a type number rather than a percentage, tick «VAT comes as a FACTUSOL type (0, 1, 2 or 3), not as a percentage»: the first time, Dijit asks you for your table of types and saves it in the FACTUSOL settings. The Discontinued and Do not use columns keep the items you no longer handle out of the catalogue.
  4. Pick the item on the line, where you still need to. On the delivery note line, press ERP item assignment and search Catalogue item by code or by name. If you prefer, you can also type the code by hand into ERP reference code.

The catalogue in detail, with the import rules and the upkeep, is in the external product catalogue: that is where the supplier and their reference and VAT as a FACTUSOL type are set out.

The supplier code box, step by step

Documents › Purchases › Goods received notes › open a delivery note

The delivery note header, with the integration switched on, has the FACTUSOL supplier code box. Type into it the number that supplier has in your Factusol and save the header. The box's rules:

What you type there is kept on the supplier's record in Dijit, so you only have to type it once: it counts for every delivery note from that supplier, today's and the ones still to come. When you save it, the delivery notes from that supplier that had no code are given it; the ones that already had one stay as they were.

If you have uploaded your list to the external supplier catalogue, the codes are already on the records from the import and there is none to type. Under the box there is also a search box for the catalogue, to pick the code where one is missing.

To see at once who is still short of one, on the purchase invoice and goods-in delivery note lists you can add the Supplier ERP column from the column selector: it shows green where the supplier has their code and red where they do not, and it has a text filter of its own. It is the quick way to go over it before generating the file.

The seven settings

Account › Parameters › FACTUSOL

Open Parameters and the group is there with its seven boxes empty the first time. They are these:

BoxWhat goes in it
Código del almacén de entrada The Factusol warehouse the goods come into.
Serie de la entrada de mercancía The document type Factusol opens the goods-in with.
Último número de entrada usado The goods-in counter. Dijit keeps it and moves it on with every file.
Último número de factura recibida usado The counter for purchase invoices, separate from the goods-in one because Factusol numbers them separately too. Left empty, it starts at 900000.
Tipos de IVA, igual orden que FACTUSOL: 21,10,4 The rates in order, for instance 21,10,4. You can separate them with commas, slashes, semicolons or spaces: 21/10/4, 21;10;4 and 21 10 4 all read the same. The lines file does not carry the percentage: it carries the rate's position, exactly as the rates are set up in your Factusol.
Estado de la entrada (0 pendiente / 1 facturada) The status the goods-in is born with in Factusol.
Qué se genera (ENTRADAS / FACTURAS / AMBAS) What you mean to pass to Factusol. Goods-in documents and invoices each have a button of their own, so this box does not limit what you can download today.

In the VAT rates, put in every rate you use. If a line carries a percentage that is not on that list, it goes into the file as exempt.

Without the warehouse and the series nothing is generated: Dijit says they need setting up before the files can be produced.

Those same rates are what translate the VAT when you upload your item listing with «VAT comes as a FACTUSOL type (0, 1, 2 or 3), not as a percentage» ticked. If you do not have them here yet, the import itself asks you for them and saves them in these settings. It is set out in the external product catalogue.

How the goods-in file is generated

Documents › Purchases › Goods received notes

  1. Tick the delivery notes you want to pass to Factusol.
  2. Press the export button on the action bar, the one whose tooltip reads File for FACTUSOL.
  3. If everything can be represented, the browser downloads a ZIP with the goods-in number in its name, for instance FACTUSOL_900004.zip, and the message FACTUSOL file downloaded appears.
  4. Unzip it into a folder and import the files into Factusol, from Utilidades › Importaciones.

The button works only on what you have ticked. Tick nothing and there is nothing to generate.

The delivery notes that go into the file end up as SENT, as with every other integration, and the list shows it as soon as the download finishes. It happens when the file is generated, even if you never import it into Factusol. The status does not go back: you can download the same delivery note again, but it stays SENT.

What is in the ZIP

The ZIP holds three files, and each one comes twice: as .xls and as .ods. The contents are the same; only the format changes, because Factusol has one import button for each. You use the three files of one format and leave the other three.

FileWhat it holds
ENT.xls and ENT.odsEach goods-in header: series, number, date, supplier, warehouse, status and the amounts per VAT rate.
LEN.xls and LEN.odsEach goods-in line: item, quantity, price and the position of the VAT rate.
SEN.xls and SEN.odsThe lines' batches. They only turn up if some line carries a batch.

How to import it into Factusol

Utilidades › Importaciones

That group has two buttons for this, and each one looks for the files of its own format:

ButtonWhen to use it
Ficheros .XLSX / .XLS Only if you have Microsoft Excel installed with its licence. Factusol asks Excel to read the file for it.
Ficheros .ODS If you do not have Excel. It needs no other program.

Either one leaves the same goods-in note in Factusol. In the window that opens:

You tick the batches when there are batches. If no delivery note in that download carries one, the ZIP brings no SEN file and that box stays unticked.

With the header and the lines ticked but not the batches, the goods-in note is created in Factusol without them: the stock is not split by batch and the traceability is lost.

Unzip each download into its own folder. If the files of two downloads end up in the same folder, Factusol imports the one it finds by name and you can take the wrong delivery note into stock.

Splitting a line into batches

A line can be split across up to three batches. The batch goes in the Lote column of the item list, which you add from the column picker.

Next to the field is a button whose tooltip reads Split into several batches, and it opens the Line batches window. Inside it:

If an added batch is left without a quantity, or the two of them eat the whole line quantity, the file is not generated.

Batch 1 also carries the consumption date, which comes from the Fec. Cad. column of the item list, the one you add from the same column picker. Batches 2 and 3 travel without a date.

The goods-in number

The goods-in number belongs to Factusol and does not exist in Dijit. The Último número de entrada usado setting keeps it: Dijit hands the next numbers out among the delivery notes in that download and saves the last one when it finishes.

It starts high on purpose, because customers also number goods-in by hand. Change that number and the next download carries on from wherever you left it.

The counter moves on with every download, even if you never import the file into Factusol. Download the same delivery note twice and each ZIP carries a different number: import one of the two, not both.

The purchase invoice file

Documents › Purchases › Purchase invoices

Purchase invoices have a file of their own, separate from the delivery note one. It goes into Factusol as a received invoice and carries the header only: the supplier, the date, the number, the VAT, the surcharge, the withholding and the total. It does not carry the products, because the goods come in with the delivery note. You can send both files: the goods-in moves the stock and the invoice leaves the cost.

Unlike the goods-in document, the invoice does carry the number your supplier gave it, in the box Factusol keeps for the outside number.

Tick the invoices and press the File for FACTUSOL button on the table bar. There is no ZIP here: you pick the format from a menu and a single file comes down.

Menu optionWhen to use it
LibreOffice / Calc (.ods) Always works. It needs no other program.
Excel (.xls) Only if you have Microsoft Excel installed with its licence.

The format you picked last time is ticked in the menu. The file comes down with its number in the name, for instance FACTUSOL_FAC_900001.ods, and the invoices end up as SENT, just like the delivery notes.

To import it, save the file in an empty folder, a new one for each download and never the same one as the delivery note files. In Factusol, go to Utilidades › Importaciones, press the button for the format you downloaded, choose that folder, leave Fila inicial at 1 and tick only Facturas recibidas, under Compras. Then open the invoice in Factusol and check the supplier, the date, the number and the VAT and total amounts. The first time, do it with a single invoice.

The list of problems

Dijit checks everything you ticked before it generates. If something cannot be represented it generates nothing at all, not even the documents that were fine, and opens the The file cannot be generated window with the list of what to put right, document by document. That is deliberate: better to fix it in Dijit than to put a goods-in into Factusol that moves no stock, or whose batches do not add up.

What the list saysWhat to fix
The supplier has no FACTUSOL code Type it into Dijit: either FACTUSOL supplier code in the delivery note header, or Referencia on the supplier's record.
The supplier's FACTUSOL code is not digits Keep it to digits, up to five. The list says the code that supplier has. With anything else, Factusol would file the goods-in under supplier 0 without saying so.
A line with no FACTUSOL item code Assign the item on that line, in Dijit, or type its Factusol code there.
It has more than three VAT rates The file takes three. Split the delivery note or go over the breakdown.
It has no lines Check how the delivery note was read: with no lines there is no goods-in to create.
A batch with no quantity, or batches beyond the line quantity Open Line batches and make the split add up.

On purchase invoices there are only two checks: that the supplier has their FACTUSOL code and that the invoice does not carry more than three VAT rates. Nothing is checked on the lines, because they do not travel in the file.

Things that come up

What you seeWhyWhat to do
The file button is not there The integration is not switched on for the company, or you are not on goods received notes or purchase invoices. Check the screen and, if it is the first, ask Dijit IA to have it switched on.
It says the warehouse or the series needs setting up The FACTUSOL group in Parameters is empty. Fill in the seven boxes and save.
The invoice went into Factusol with no products That is how it is meant to be: the invoice goes with the header only. Nothing. The goods come in with the delivery note for that same purchase.
The ZIP has no SEN.xls or SEN.ods No line in what you ticked carries a batch. Nothing: that is normal when you do not work with batches.
Factusol says it cannot find the file, or that you have it open You pressed Ficheros .XLSX / .XLS and that computer has no licensed copy of Microsoft Excel. Close the message and press Ficheros .ODS, with the same folder.
Factusol imports the goods-in with the wrong VAT The order of the rates in the setting does not match the order in the program. Put the order right in Parameters and generate again.
Factusol says the goods-in number already exists That numbering was used by hand in Factusol. Raise Último número de entrada usado above what has been used.

↑ Back to top

Last reviewed: 23 November 2026 · The Dijit team