---
updatedAt: 2025-03-11T09:58:58.000Z
agentTools:
  projectIndex: https://customise.toq.io/llms.txt
---

# Guide for Modelers

### **Business Details Panel Section**

On the **Business Details Page**, there is:

* **One Main Section**
* **One Subform**

Depending on the **compliance status**, **either the main section or the subform will be displayed**.

If the status of the Business Details section is 'IN PROGRESS', the section is editable

**Condition to Display the Editable Section (Panel Section):** \{\{(($temp.currentCompany && !saveConfirmation)||(saveConfirmation && $temp.currentCompanyRes))&&$temp.compStatus.businessDetailsStatus=='IN\_PROGRESS'}}

<Image align="center" src="https://files.readme.io/0ad4a1e418327530bdef1cc8cd4328a542398d75c6bb3b77ec1de8dec1ecfb59-AD_4nXc99Ogb66qnibZ1JJ2T6U22FEpBJUfD7lw78y9taAyTQWwQ5-i8mX8ZASK9dxn4y_3Hf-MCzQTF1lqcEnjMb81HW2gQn_3s17Kl7g111iZ4pjTUQV5qZ0GJtMA6ebRgfGESpQwo.png" />

<br />

### **Checking Business Details Subform**

* When status is "Under Review", a read-only version of the subform is displayed.
* Custom Components Used:
  * [Data Item](https://customise.toq.io/docs/data-item#/) -  shows previously submitted details.

<br />

### **Adding New Fields to Business Details**

To add new fields, update **both** the **panel section** and the **subform**:

#### **1️⃣ Business Details Panel**

* Add the new fields that users need to fill out.
* Map the new fields to the **`currentCompany`variable**.
* Ensure these fields are also mapped in the **`CPT_P002`process** under **"Save Business Details Service Registry"**.
* The data is stored at the **process scope level** under the **"business" variable**.

<Image align="center" src="https://files.readme.io/bf5b768ff0b1238e517b0de314906ca91c16d36f95ad89050f32db45dd83a0e3-AD_4nXefA_YtsYj7jZ3zprlLHrepzrsdkT_7U92c-9IckcrTv2rtZ_S8fpjOPQxmtaLrxdMMbEVhHoTM77t_6iqN118Q7uo3RSU3C84TXjsDsFRxUCo0SLPOERZ0UMxFrs6BxGwRQBucbw.png" />

#### **2️⃣ Business Details Subform**

* Display the new fields that were submitted and sent for validation.

#### Company Data Fields for Business Details Section

| **Template Display Name** | **Toqio DB param** | **Required** | **Type** |
| ------------------------- | ------------------ | ------------ | -------- |
| **Name**                  | name               | Mandatory    | string   |
| **CIF**                   | cif                | Mandatory    | string   |
| **Description**           | description        | Optional     | string   |
| **Registration Date**     | registrationDate   | Optional     | string   |
| **Trading Address**       | tradingAddress     | Optional     | string   |
| **Trading Address 2**     | tradingAddress2    | Optional     | string   |
| **Trading City**          | tradingCity        | Optional     | string   |
| **Trading Country**       | tradingCountry     | Optional     | string   |
| **Trading Name**          | tradingName        | Optional     | string   |
| **Trading Postal Code**   | tradingPostalCode  | Optional     | string   |
| **Website URL**           | websiteUrl         | Optional     | string   |
| **Postal Code**           | postalCode         | Optional     | string   |
| **Country Code**          | countryCode        | Mandatory    | string   |
| **Address**               | address            | Optional     | string   |
| **City**                  | city               | Optional     | string   |
| **Business Code**         | businessCode       | Optional     | string   |

#### **Requirement Definitions:**

* **Mandatory** – this field is required in the form and cannot be removed.
* **Optional** – this field can be included or removed in the template-based application.

If you want to add additional information fields (e.g., cash/card percentage), you can add them through the panel to send them to the provider.

🔹 **Note:** These fields **will not be stored** in the Toqio database or used in other processes.

<br />

***

### **Managing Data & API Endpoints**

#### Fetching Company Information

* **Triggered via** the `C_P013` process.
* **REST configuration:**

<Image align="center" src="https://files.readme.io/a9c0b14a900dc2ebaaac967eceae9b5e240ff15ffdf1e4c94fd27b1dad2fa7c1-AD_4nXeeVF-7-iYB-6slpWPnL01M32Se0JQk4oQ7e_6Pe0EfFcO6DZMGjCTWNXhy_7jbwePPavv3ZhdtaYkiEcLkPwVW2vohVhEufdUa3wfnS1zL_57bsdWMFIEL6KS1qhiBjo9Y4LuGVg.png" />

<br />

#### Fetching Compliance status for the section

* **Triggered via** the `C_P014` process.
* **Requirement**: The provider name must be dynamically assigned.
* **REST configuration:**

<Image align="center" src="https://files.readme.io/c30306a6c72b31eaad2801b4e48dbd1ff808515da424352072a40affee647e70-AD_4nXeS3bRINFZP61BuNR-coBiePjwlyjgdSq0woBPtViiSYbUXyJ-Pk97bcpB528mOpGytRAHWRphw3XcuLnLKfVnrdF1z3LwcoMcZgDFVAnykGEWW1IcdwkgK-YAqpKTc1bvDpCZOJg.png" />

<br />

#### Fetching User email

* **Triggered via** the `C_P012` process.
* **REST configuration:**

<Image align="center" src="https://files.readme.io/d01fbf3bcdafb4e999e4abc81cf2597da9d121487cdfd5223d6fc081d5eeeb9e-AD_4nXdPQNIakS-PcT13gw9--OjMMO_75dwpGQEeVxIRWlbWUemj2lFX4VtYIfwmg0YrmIty_GBOtAoSavTE1pB49Ok5GFuPKnPecJ9jrOCL7Jxpyurtpcoy-7gJmdhg8_Ht7dWNpKTeMA.png" />

<br />

#### Fetching Available Countries

* **Triggered via** the `C_P010` process.
* **REST configuration:**

<Image align="center" src="https://files.readme.io/67c1e0232208b5226e061f0c45244a4234890fca900f8fe9d5bafae57d8c41af-AD_4nXeW1Mc72wIZXC-IrPCqbaVyhdddn2V2Dx4kkkDxIkl7FZSKJryyMPa7gmsVY8vplbHTrdAL2W1MUrxptG760RRDc90Ep5SyHsHU-O8iD68U0e9UeZ25sBvyWgHdInTVnuvC1adfiA.png" />

<br />

#### Submitting Business Details

* **Triggered via** the `CPT_P002` process.
* Arguments Passed: currentCompany (business)
* **REST configuration:** ➜ Save business details

<Image align="center" src="https://files.readme.io/0d91848635833afea79fdfbbdfe07e0284787df3df0a840102a93826334fc626-AD_4nXfKpJoe_QzlvdlE6jmDeEOsReBV3g9CMGaTDqj4MF4BW9y4eypicHRWlf5bN-WN6vF1J7a2QO19x6jwoLM_1Rf9CueEXbVz8vaIO0vUpPl956k0EgnEOeTKcJylwcjlKd6NQ6Nk.png" />

<br />

**REST configuration:**  ➜ Update section compliance status

<Image align="center" src="https://files.readme.io/da501e8bb654e5f14f20361a958bafab76aef1cff3e9c227d9e56161b2d9664f-AD_4nXdGOG_efKEMBJfBZHJ4M6eQDuWsarypqXsjjyvzZXSBHYZ36MuWenO5hIZdkM8Mhvpt7q3HqHk3W3jPt5dNfsskITdFVFL9nxrbYNoOEayZPfsomLFzJOAyYP50BtQWfc-pqWhwWA.png" />