Skip to main content

Internal Customer Identification

  • While creating a customer in CMD, customer is classified as either Internal or External. An Internal customer is customer related to Maersk or its subsidiary brands.
  • During customer creation process this classification happens in background. If customer is identified as potential Internal customer, then customer will be sent to Workflow for Finance approval. Upon finance approval customer is tagged as Internal else external.
  • Although this classification runs in background while creating customer, it's also exposed via an API in ingest customer service.

API Details

Open API Specification: Click here

Request and Response Schema

Algorithm

  1. Check with tax details.

1.1) Input tax number match with Any Existing Active CMD Internal customer tax numbers 1.2) If match found -> Customer is INTERNAL. ELSE -> next steps

  1. keywords (Exact Match)

2.1) We have a keywords list in DB, Check if any keyword in present in the customer’s name. 2.1.1) If keyword is single word string --> Exact Match 2.1.2) If keyword is multi word string --> contains Match 2.2) If keyword present -> Customer is INTERNAL. ELSE -> next steps

  1. FUZZY Match

3.1) fetch GEMS customer names. 3.2) Remove stop-words from input customer name and the GEMS customer names. 3.3) perform fuzzy match for customer-name and each GEMS customer-name till you get a match score 88%. If match found return Internal else External.

Please refer the detailed Flow diagram, in below Flow diagram return true means customer is Internal, false refers to External customer.

Was this page helpful?