Deprixa Plus — Cash on Delivery (COD) · COD Fields on the Shipment
COD data is stored directly on the shipment record. The following fields are set when COD is enabled:
| Field | Type | Description |
|---|---|---|
| is_cod | Boolean | Whether this shipment requires cash collection at delivery. |
| cod_amount | Decimal | The amount to be collected from the recipient. |
| cod_status | Enum | Current COD status: pending, collected, or remitted. |
| cod_collected_at | Timestamp | Date and time the driver confirmed collection from the recipient. |
| cod_collected_by | Foreign key | User ID of the person who recorded the collection. |
| cod_remitted_at | Timestamp | Date and time the remittance was recorded. |
| cod_remitted_by | Foreign key | User ID of the admin who recorded the remittance. |