To enable edoc D365 BC invoice cockpit (cloud) to receive the prepared invoice records from a preceding digital incoming invoice processing system (e.g. edoc invoice), you must publish three web services in Microsoft Dynamics 365 Business Central.
You can also export data from Business Central to use this data in edoc invoice, for example.
As before, you can create and publish web services directly in Microsoft Dynamics 365 Business Central. Alternatively, you can also create and publish the web services on the edoc invoice cockpit Setup page using the Publish edoc web services function with one click.
To manually publish the three web services for data import
In the web services dialog, fill in the following fields with the specified values:
-
Object type: Select the Page entry.
-
Object ID: Enter the following IDs:
-
72290884: The page receives the status table data from the previous digital incoming invoice processing.
-
72290885: The page receives the header table data from the previous digital incoming invoice processing.
-
72290886: The page receives the item table data from the previous digital incoming invoice processing.
-
-
Service name: Enter a meaningful name. Enter different service names for each object ID. The service names per object ID serve as endpoints for communication, e.g. with edoc invoice. Examples:
-
For Object ID with the value 72290884: edocInvoiceCockpitStatus
-
For Object ID with the value 72290885: edocInvoiceCockpitHeader
-
For Object ID with the value 72290886: edocInvoiceCockpitPosition
-
-
All tenants: Deactivate the entry if required.
-
Published: Activate the entry to publish the web service.
To manually publish the web services for data export
There are numerous endpoints (tables and pages) available in Business Central that you can use for data export.
For the overview of the BC endpoints see here.
In the web services dialog, fill in the fields with the corresponding values from the overview of BC endpoints:
-
Object type: Select the Page entry.
-
Object ID: Enter the page ID for the object.
-
Service name: Enter the name of the BC endpoint.
-
All tenants: Deactivate the entry if required.
-
Published: Activate the entry to publish the web service.
Proceed in the same way for all BC endpoints that you want to use.