> For the complete documentation index, see [llms.txt](https://docs.mastersoftgroup.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mastersoftgroup.com/harmony-suite/user-guides/version-3.0.0/business-lookup-and-validation/business-validation/business-validation-using-commercial-name-parser.md).

# Business Validation using Commercial Name Parser

Information about commercial name parser within the context of Business Validation PDP

It's crucial to emphasize that every commercial name undergoes parsing, and the parsed outcome from the parser is then subjected to standardization PDP or validation via Business Validation PDPs.&#x20;

**Brief Explanation of Standardization:**

Standardization is a way of achieving consistency across company legal terms etc. for e.g. the user would want to standardize company term "proprietary" to pty" before its fed to Business Validation PDPs. Refer page no 101 of [Harmony Management Console Reference Guide](https://docs.mastersoftgroup.com/harmony-suite/user-guides/version-3.0.0/management-console-reference-guide.md) for details on standardization.

This standardization can be achieved using CompanyNameStandardization PDP.&#x20;

**Brief Explanation of Business Validation:**

This process serves to further validate the standardized business data to reduce errors and guarantee the accuracy of business information.

## Start Parse

User will need to pick the Client Role and Locale (AUSTRALIA/NEW\_ZEALAND) to tokenize the company data.

Here is an explanation of commercial name parse using default DEMO role for COMPANY\_DATA model. Using this role ensures the company data is parsed and standardized.

<figure><img src="https://2735524619-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhp3nSGDGzW6K0AYaMW45%2Fuploads%2FoyYsW6mvQW6el1rgjM4F%2Fimage.png?alt=media&amp;token=00a7bbd1-16fa-4766-b3a3-c85b9af40052" alt=""><figcaption></figcaption></figure>

**Sample 1:** Single company name parse

Refer companyName json object to see that the input has been parsed as an "organisationalName" and the company terms are standardized.

```json
// Input
{
    "harmonyServiceConfig": {
        "role": "DEMO",
        "locale":"AUSTRALIA"
    
    },
    "parserInput": {
        "rawDataInput": {
            "companyName": {
                "value": "1 CCTV Proprietary Limited"	
            }
        }
    }
}

```

```json
// Response 
{
    "ciqPartyDocument": {
        "pdpchangeContext": {},
        "options": {
            "exposeAttributes": "7"
        },
        "containedInParties": false,
        "locationInParties": 0,
        "companyName": {
            "personalName": false,
            "companyName": "1 CCTV PTY LTD",
            "organisationalName": true,
            "nameQuality": 9
        }
    }
}
```

**Sample 2:** Multiple company name entities parse

```json
// Input
{
    "harmonyServiceConfig": {
        "role": "DEMO",
        "locale":"AUSTRALIA"
    },
    "parserInput": {
        "rawDataInput": {
            "companyName": {
                "value": "Eternal Graphix trading as Xyz pty ltd as trustee for James Jones"
            }
            }
    }
}

```

```json
// Response
{
    "ciqPartyRelationshipDocument": {
        "options": {
            "originalInput": "Eternal Graphix trading as Xyz pty ltd as trustee for James Jones",
            "exposeAttributes": "7"
        },
        "numberOfParties": 3,
        "parties": [
            {
                "pdpchangeContext": {},
                "containedInParties": true,
                "relationshipLabel": "person1",
                "locationInParties": 1,
                "personName": {
                    "personalName": true,
                    "lastName": "Graphix",
                    "firstName": "Eternal",
                    "organisationalName": false,
                    "fullName": "Eternal Graphix",
                    "nameQuality": 4
                }
            },
            {
                "pdpchangeContext": {},
                "containedInParties": true,
                "relationshipLabel": "organisation1",
                "locationInParties": 2,
                "companyName": {
                    "personalName": false,
                    "organisationalName": true,
                    "companyName": "Xyz pty ltd",
                    "nameQuality": 6
                }
            },
            {
                "pdpchangeContext": {},
                "containedInParties": true,
                "relationshipLabel": "person2",
                "locationInParties": 3,
                "personName": {
                    "personalName": true,
                    "lastName": "Jones",
                    "firstName": "James",
                    "organisationalName": false,
                    "fullName": "James Jones",
                    "nameQuality": 4
                }
            }
        ]
    },
    "relationships": [
        {
            "from": "person1",
            "to": "organisation1",
            "title": "trading",
            "arcrole": "http://www.msi.com.au/relationships/trading"
        },
        {
            "from": "organisation1",
            "to": "person2",
            "title": "trust",
            "arcrole": "http://www.msi.com.au/relationships/trust"
        }
    ]
}
```

**Notes for Interpreting the Parsed JSON Objects of Sample 1 and Sample 2:**

**containedInParties** in CIQPartyDocument represents tokenized presentation of input entity. containedInParties will be false for a single entity and true for multiple entities. This suggests that it contains or holds parties which could be individuals or organizations.&#x20;

**originalInput** under options JSON object is only shown for company names.

1. with containedInParties as true or
2. or for company names for which parsing has been surpassed in instances where the names are failed to parse by parser. For details refer [Parse exceptions](https://docs.mastersoftgroup.com/harmony-suite/user-guides/version-3.0.0/business-lookup-and-validation/guides/name-parse-ambiguity.md#parse-exception).

&#x20;**numberOfParties** represent the actual count of the entities.

**locationInParties** represent the entity number.

**relationships** json object represents the relation of entities.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mastersoftgroup.com/harmony-suite/user-guides/version-3.0.0/business-lookup-and-validation/business-validation/business-validation-using-commercial-name-parser.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
