Web Services
The standard shipment provides various Web services for the necessary exchange of data with EASY Invoice. These services can be extended or removed, depending on the desired scenario.
Web services are a simple method of making application functions accessible to various external systems and users. By default, Business Central provides a number of objects as Web services to enable enhanced integration with other Microsoft services. You can add other Web services as needed. For more information, please refer to the official documentation: https://docs.microsoft.com/en-us/dynamics365/business-central/across-how-publish-web-service
The table below provides an overview of the individual Web services:
Object type |
Object ID |
Object name |
Caption En |
Web service name |
Exchanging master data |
||||
Page |
26 |
Vendor Card |
Vendor card |
ECM_VendorCard |
Page |
425 |
Vendor Bank Account Card |
Vendor bank account card |
ECM_VendorBankAccountCard |
Page |
426 |
Vendor Bank Account List |
Vendor bank account list |
ECM_VendorBankAccountList |
Page |
30 |
Item Card |
Item card |
ECM_ItemCard |
Page |
31 |
Items |
Items |
ECM_ItemList |
Page |
5498 |
Units of Measure (Entity)* |
Units of measure |
ECM_UnitsofMeasureEntity |
Page |
18 |
G/L Account List |
G/L account list |
ECM_GLAccountList |
Page |
314 |
General Posting Setup |
General posting setup |
ECM_GeneralPostingSetup |
Page |
472 |
VAT Posting Setup |
Sales tax/VAT posting setup |
ECM_VATPostingSetup |
Page |
5600 |
Fixed Asset Card |
Fixed asset card |
ECM_FixedAssetCard |
Page |
5601 |
Fixed Assets |
Fixed assets |
ECM_FixedAssetList |
Page |
76 |
Resource Card |
Resource card |
ECM_ResourceCard |
Page |
77 |
Resources |
Resources |
ECM_ResourceList |
Page |
52 |
Purchase Credit Memo |
Purchase credit memo |
ECM_PurchaseCreditMemo |
Page |
51 |
Purchase Invoice |
Purchase invoice |
ECM_PurchaseInvoice |
Page |
50 |
Purchase Order |
Purchase order |
ECM_PurchaseOrder |
Page |
54 |
Lines |
Lines |
ECM_PurchaseOrderSubform |
Page |
6640 |
Purchase Return Order |
Purchase return order |
ECM_PurchaseReturnOrder |
Page |
6641 |
Lines |
Lines |
ECM_PurchaseReturnOrderSubform |
Page |
5709 |
Get Receipt Lines |
Get receipt lines |
ECM_GetReceiptLines |
Page |
6648 |
Get Return Shipment Lines |
Get return shipment lines |
ECM_GetReturnShipmentLines |
Dimension queries |
||||
Query |
5125001 |
ECM Dimension Value 1 |
Global dimension value 1 |
ECM_DimensionValue1 |
Query |
5125002 |
ECM Dimension Value 2 |
Global dimension value 2 |
ECM_DimensionValue2 |
Query |
5125003 |
ECM Dimension Value 3 |
Global dimension value 3 |
ECM_DimensionValue3 |
Query |
5125004 |
ECM Dimension Value 4 |
Global dimension value 4 |
ECM_DimensionValue4 |
Query |
5125005 |
ECM Dimension Value 5 |
Global dimension value 5 |
ECM_DimensionValue5 |
Query |
5125006 |
ECM Dimension Value 6 |
Global dimension value 6 |
ECM_DimensionValue6 |
Query |
5125007 |
ECM Dimension Value 7 |
Global dimension value 7 |
ECM_DimensionValue7 |
Query |
5125008 |
ECM Dimension Value 8 |
Global dimension value 8 |
ECM_DimensionValue8 |
Invoice data |
||||
Code unit |
5125041 |
ECM Invoice JSON Web Service |
Invoice JSON Web service |
ECM_InvoiceJSONWebService |
*The entity tables are no longer supported as of Dynamics 365 Business Central version 21. Therefore, the 209 "Units" table may need to be used instead of the "Units of Measure (Entity)" for this web service.
The ECM Invoice Web Service receives posting data records transferred from EASY Invoice and creates them as unposted purchase invoices/credit memos in Business Central. In the process, the transferred data for the various fields is processed in the order in which it is transferred in the JSON object. After a field input, a validate is executed, which fills additional fields with information or overwrites previously filled fields (Dynamics Standard: Corresponds to the manual input in the client).
If the created purchase invoices/credit notes do not correspond to the desired ideas, it is to be tested first in Business Central itself whether the sequence of the transferred data is meaningful or leads to undesired effects during the document creation. If the JSON file needs to be adjusted, change the configuration of the data tools in EASY Invoice so that the JSON file is created in such a way that it can be processed as desired.