Show/Hide Toolbars

Additional Resources

In this step, the link between the created invoice and the Thereforeā„¢ document are created. This will make the invoice appear in the Drop Zone of the Thereforeā„¢ Business Central Connector.

 

Endpoint: https://api.businesscentral.dynamics.com/v2.0/<environment name>/api/therefore/connector/v1.0/companies(<company id>)/tfdocuments

 

Body Mapping:

 

JSON Name

JSON Value

ThereforeDocumentNo

WF.MainDocNo

TableID

38

DocumentType

2

DocumentNo

IndexData.GetField("Invoice_No")

CategoryNo

<Thereforeā„¢ category number for this workflow>

AdditionalInfo

<Optional text>

Filename

<The file name that should be shown in the Drop Zone>

 

38 is the Table ID of the Purchase Header in Business Central.

 

Response Mapping:

 

Category Field

Assignment

LinkId

CreateDocLink.GetValue("LinkID");

Ā© 2024 Therefore Corporation, all rights reserved.