Show/Hide Toolbars

Additional Resources

Creates the link between the created invoice and the Thereforeā„¢ document.

 

This will make the document appear in the Drop Zone, similar to a mapping.

 

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ā„¢ CategoryNo for this WF>

AdditionalInfo

<Optional text>

Filename

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

 

BC Table 38 Purchase Header

 

Response Mapping:

 

Category Field

Assignment

InvoiceID

Json.GetValue("LinkID")

Ā© 2023 Therefore Corporation, all rights reserved.