A document can be linked to the correct company using master data matching.
For master data matching, all companies saved in edoc invoice are retrieved via the endpoint GET http://<invoice-service>/capture/systeminfo. The saved properties for a company are compared with the company properties specified in the document.
If a company ID is passed in the document that can be uniquely associated with a saved company, the document is linked directly to that company. In this case, only the company ID is used for the link.
If a company cannot be uniquely identified using the company ID, the company is determined based on several attributes. Depending on how unique an attribute is, it is weighted differently. For more information on attribute weighting, see here: Master data matching methods (edoc master data matching service)
The following properties of a company are relevant for master data matching:
-
Company ID: Weighting: high.
-
Company name: Weighting: medium.
-
Alias names: Weighting: medium. If several aliases have been specified for a company in edoc invoice, the alias with the highest score is preferred.
-
Addresses: If several addresses have been specified for a company, the address with the highest score is preferred.
-
Street: Weighting: medium.
-
Zip code: Weighting: high.
-
City: Weighting: medium.
-
Country: Weighting: low.
-
-
Purchase order numbers: Weighting: high. All specified purchase order numbers must belong to the same company so that the company can be clearly identified.
If the company has been successfully determined, the following data is written to the properties of the document in edoc documents:
-
Company ID
-
Company name
Things to know
In order for master data matching to be as successful as possible, sufficient and well-maintained master data must be available. The result of the master data matching also depends on how well the document properties were previously recognized. The more properties are recognized and the more complete the master data is, the more likely a good result is.