Condition
Conditional Setter
Field Config
Used for mapping raw file uploads to standardized model within DealerClear.
| Field | Type | Description |
|---|
| conditions | array of ConditionalSetter | a list of conditional field setters, where the first one that returns true, returns it's set_to value |
| source_field | string | The source-data column name to pull from if all conditions return false (or if not conditions provided) |
| value | object Value | If provided, this value is set if all conditions fail and source_field isn't provided |
| modifiers | array of Modifier | a list of modifiers to apply to the output value |
| datatype | enum DataType | the output value's datatype |
Modifier
Parts Invoice
Used for payout reconciliation service - standardized invoice format for all DMS's.
| Field | Type | Description |
|---|
| account_id | string | |
| invoice_id | string | |
| date | date | |
| total_sale | number | |
| total_cost | number | |
| order_number | string | |
| control_number | string | |
| notes | string | |
Value
| Field | Type | Description |
|---|
| datatype | DataType | the datatype of the value |
| value | string | raw value |