RevenueUnits
Revenue unit/department configuration.
Fields
| Field | Type | Required | Version | Description |
|---|---|---|---|---|
id |
integer | Yes | 1.1 | Unique revenue unit identifier |
name |
string | Yes | 1.1 | Revenue unit name |
customerId |
integer | Yes | 1.1 | Reference to Customer |
external_references |
array | No | 1.1 | External system mappings |
External References Structure
[
{"key": "cost_center", "value": "string"},
{"key": "department_code", "value": "string"}
]
Example
{
"id": 101,
"name": "Restaurant",
"customerId": 12345,
"external_references": [
{"key": "cost_center", "value": "CC-101"},
{"key": "department_code", "value": "REST"}
]
}
Example - Multiple Revenue Units
[
{
"id": 101,
"name": "Restaurant",
"customerId": 12345,
"external_references": []
},
{
"id": 102,
"name": "Bar",
"customerId": 12345,
"external_references": []
},
{
"id": 103,
"name": "Takeaway",
"customerId": 12345,
"external_references": []
}
]
Related Entities
- Customer - Parent customer/tenant
- BusinessUnit - Parent business unit
- Orders - Orders reference revenue unit