Create linked documents by API

Hi everyone,

i’m quite new to dolibarr and i started to integrate the dolibarr system with other systems (e.g. shop and DMS) so far so good…

with an incoming invoice i create an supllier_invoice and attach the invoice document. the invoice is also archived in the DMS, i would like to also add the URL of the document in the archive to the dolibarr invoice with the linked documents.

can this be achived with an API-Call could i create a linked document?

Thanks in advance

Lars

Perhaps. As I remember it, I use the API to find the link to proposal, order and invoice PDF’s. I think I piece the information together using different variables and values.

the problem is not to find a document, its to add an link to an “external” docment or to add an link to an external document system, where additional documents might stored.
the link should be automatically be added by an API Call in the section “Linked Files” / “Linked files and documents”

using by “Link a new File/doument” but by API

maybe you could add a complementary attribute which would be this external link?

1 Like

This is what I do in my installation