Documentation/ Integrations with external programs/ Holded
Holded integration: connecting and sending invoices
With the Holded connection, the invoices Dijit has read are recorded in your accounts with their lines, their taxes and the original document attached, without entering the data by hand again.
Account › Parameters › Holded · and the invoice list › Send to Holded
On this page
- First time: connecting the account
- What the test can tell you
- Day to day: sending
- How they arrive in Holded
- The Holded item on each line
- The batch on each line
- The chart of accounts brought in from Holded
- What is sent and what is not
- If the sending comes out partial
- If it warns about the attachments
- Things that come up
First time: connecting the account
- In Holded, get your account's API key.
- In Dijit, go to Parameters, the Holded section.
- Paste the key and save.
- Press Test connection. If all is well, it tells you at once.
Save before testing. The button checks the key already stored, not the one you have just typed. It is this screen's commonest confusion.
What the test can tell you
| Answer | What it means | What to do |
|---|---|---|
| The connection works | All correct. | You can start sending. |
| The API key is missing | No key is stored yet. | Paste it and save. |
| Holded rejects the key | It was copied wrongly or has been revoked. | Get it from Holded again. |
| The integration is not switched on for this company | It has not been set up. | Ask Dijit IA for it. |
| The call quota has run out | Holded limits calls per month according to your plan. | Wait for it to renew, or look at your Holded plan. |
Day to day: sending
- Go to the invoice list and check the ones you want to send.
- Tick their boxes.
- If you want to, choose the Holded supplier in Supplier name (ERP), in the invoice's General tab. If you do not choose one, Dijit looks the supplier up by its tax number and creates it when it is not there.
- Press Send to Holded and confirm.
The reviewing happens in Dijit, before sending: what you send goes into Holded already posted.
If one of the invoices you ticked has been sent before, Dijit says so first: of the selected invoices are already in Holded. Another purchase will be created for each one; delete the previous one in Holded.
How they arrive in Holded
| Aspect | How it ends up |
|---|---|
| Date | The supplier invoice's date, not the sending's. |
| Due date | Where the invoice has payment terms in Dijit (30 days, for instance), the due date is the invoice's date plus those days, and the date printed on the document is not taken into account. Where it has no payment terms, the due date read from the invoice is sent. |
| Status | Approved, with its journal entry. Credit notes arrive unapproved. |
| Content | With their lines and their taxes. Where the lines do not add up to the invoice total, one line per VAT rate arrives instead, without the item detail. |
| Attachment | The original document, as a PDF or a photo, just as it came in. |
On sending, Dijit approves the purchase and Holded creates the journal entry with the supplier, the expense and the taxes. The decision is still yours, but you take it in Dijit, before pressing Send to Holded.
If Holded will not let an invoice be approved, Dijit tells you. The warning reads Purchase not approved in Holded: that invoice is in Holded as a draft and without a journal entry, and you can approve it from Holded.
The PDF attachment can be switched off with a switch in the parameters. It is on by default.
For the tax, Dijit looks in your Holded for the purchase tax at that percentage. Where your account has no VAT at that rate, it uses the Canary Islands IGIC at the same percentage. Where it finds neither, the invoice does not go out and the warning says which purchase taxes you do have at that percentage, so that you can pick one.
Holded takes one due date per purchase, not payment days. That is why Dijit works it out before sending: the invoice's date plus the payment terms. If you want every invoice from a supplier to fall due the same way, set the payment terms on its record in Dijit and its new invoices will arrive with them in place.
The Holded item on each line
Each invoice line can be linked to its item in the Holded catalogue. In the items tab, press the line's database icon (ERP item assignment) and pick the item in ERP item name. Your whole catalogue is loaded, however many items it holds, so the first load can take a little longer.
The line reaches Holded linked to that item, with the price, the discount and the tax from the invoice: the stock moves and the item shows up in your Holded reports. Next time the same item comes in, Dijit remembers it.
The batch on each line
If your items carry batches in Holded, each line's units go into the invoice's real batch rather than into the description. For the batch to go in, three things have to be true:
- The line is linked to its Holded item.
- That item is of the with batches kind in Holded.
- The line has its batch filled in Dijit, in the Batch column.
| Situation | What happens in Holded |
|---|---|
| The batch is already on the item | The units go into that batch. It is found even when the capitals differ or there is text in front of it: L72V0428 finds PSVA58340 LOTE: L72V0428. |
| The batch is there but archived | It is switched back on and the units go into it. |
| The batch is not there | It is created on the item with its number, the invoice's expiry date and, as the entry date, the invoice's date. The rest of the item is left alone. |
| The line carries two or three batches with their quantities | It is split into one line per batch, with the same price, discount and tax. Batch 1 keeps the remaining units. |
| The line carries two or three batches without quantities | There is nothing to split by: all the units go into the first batch. |
| The item does not carry batches | The line goes without a batch, and the batch does not show up in Holded. |
| The line has no batch | Holded puts its units into the item's first batch. |
| The batch cannot be set | The invoice is not sent and Dijit gives the reason, so that the units do not end up in another batch. |
The item is only touched once the invoice has passed every check: an invoice that does not go out changes nothing in Holded. The stock rises in the batch when the purchase is approved, and Dijit approves it on sending.
If you have a catch-all batch on the item, LOTE01 for instance, and you no longer use it, you can take it off in Holded: from then on the units go into the invoice's real batch.
Every item with batches means one more call to Holded when sending. Invoices with many batch items use up more of your monthly quota and take a few seconds longer.
The chart of accounts brought in from Holded
Your Holded chart of accounts comes into Dijit with a button: in Accounting, Chart of Accounts, press Import from Holded. With more than one company, you choose which of them the accounts go to. Only the missing ones are added, so you can repeat it whenever you like.
What is sent and what is not
| Sent | Not sent |
|---|---|
| Purchase invoices | Sales invoices |
| Expense invoices | Delivery notes |
It is a known limitation of the integration, not a setting: sales are not sent.
If the sending comes out partial
You will see how many went in and how many gave trouble. The application says so with those two figures and adds the important instruction:
The ones already sent are in Holded: to send one again, delete its purchase in Holded first. Correct the ones that failed and send those once more.
If none goes in, the message is different, saying no invoice was processed and to check the Holded settings, and it points at a connection problem rather than at the documents.
If you do need to send an invoice again, after correcting it for instance, delete it in Holded first. Dijit will warn you that it has already been sent, and sending it without deleting the earlier one leaves you with two purchases.
If it warns about the attachments
It can happen that the invoice goes into Holded but the PDF could not be attached. In that case a specific attachments warning appears, saying on how many invoices it happened.
The invoice is properly recorded. The warning refers only to the file. There is no need to send it again: that would duplicate the invoice in Holded.
If the attachment is essential, it can be uploaded by hand in Holded from the original document downloaded from Dijit.
Things that come up
| What you see | Why | What to do |
|---|---|---|
| The test fails right after pasting the key | It tests the stored key, not the typed one. | Save and test again. |
| Holded rejects a key that used to work | It has been revoked or has expired in Holded. | Generate a new one, paste it, save and test. |
| The sending comes back with the quota used up | The month's quota on your Holded plan has been spent. | Wait for it to renew, or look at the plan in Holded. |
| Sales invoices do not appear in Holded | They are not sent: the integration covers purchases and expenses. | Handle sales another way. |
| An invoice is in Holded without its PDF | Only the attachment failed. | Upload it by hand in Holded. Do not send the invoice again. |
| Holded warns that the purchase has not been approved | Holded would not let it be approved. | It is in Holded as a draft and without a journal entry. Approve it from Holded. |
| The invoice arrived with a single line per VAT rate | The lines did not add up to the invoice total. | Go over the lines in Dijit, delete the purchase in Holded and send it again. |
| The units went into the first batch instead of the invoice's | The line had no batch in Dijit. | Fill the batch in on the line, delete the purchase in Holded and send it again. |
| The batch does not show up in Holded | The line is not linked to an item, or the item does not carry batches. | Link the item, or change it to with batches in Holded. |
| It says the batch could not be set | Holded would not save the batch on the item. | Look at the item in Holded and send it again. |
| The due date in Holded is not the one you expected | The invoice had no payment terms in Dijit, so the date read from the document was sent. | Set the payment terms on the invoice, or on the supplier's record, delete the purchase in Holded and send it again. |
| I want to send an invoice that has already gone | Something was corrected after sending it. | Delete it in Holded and send it again from Dijit. |