# CreateCustomerMainData

**Type:** object

## Fields

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `customerNumber` | integer (int64) | No | Customer Number, if null then Generate New Customer Number |
| `personId` | integer (int64) | No | Persona Identifier, if null then set Customer Number |
| `externalCustomerNumber` | integer (int64) | No | External System Relational Identifier, if null then set Customer Number |
| `firmCustomerFlag` | boolean | Yes | Corporate Customer Indicator, true=Corporate Customer, false=Not |
| `customerType` | string | Yes | Customer Type, 1=Corporate, 2=Retail, 3=Employee, 4=Sole Proprietorship |
| `accountingCustomerType` | string | No | Accounting Customer Type |
| `creditCustomerType` | string | No | Credit Customer Type |
| `branchCode` | integer (int32) | No | Customer Branch Code, if null then set Zero |
| `isLite` | boolean | No | Lite Customer Flag, if null then set Zero |
| `tenantId` | string | No | Lite Customer TenantId |

