2.0 KiB
2.0 KiB
Cost Module Documentation
This module provides functionalities related to managing various costs within the business model.
Actions
!!bizmodel.cost_define
Defines a cost item and its associated properties.
Parameters:
bizname(string, required): The name of the business model instance to which this cost belongs.descr(string, required): Description of the cost item. Ifnameis not provided, it will be derived from this.name(string, optional): Unique name for the cost item. If not provided, it will be generated fromdescr.cost(string, required): The cost value. Can be a fixed value (e.g., '1000USD') or a growth rate (e.g., '0:1000,59:2000'). Ifindexationis used, this should not contain a colon. This value is extrapolated.indexation(percentage, optional, default: '0%'): Annual indexation rate for the cost. Applied over 6 years if specified.costcenter(string, optional): The costcenter associated with this cost.cost_percent_revenue(percentage, optional, default: '0%'): Ensures the cost is at least this percentage of the total revenue.extrapolate: If you want to extrapolate revenue or cogs do extrapolate:1, default is 0.
!!bizmodel.costcenter_define
Defines a cost center.
Parameters:
bizname(string, required): The name of the business model instance to which this cost belongs.descr(string, required): Description of the cost center. Ifnameis not provided, it will be derived from this.name(string, optional): Unique name for the cost center. If not provided, it will be generated fromdescr.department(string, optional): The department associated with this cost center.
Example:
!!bizmodel.costcenter_define bizname:'test'
descr:'Marketing Cost Center'
name:'marketing_cc'
department:'marketing'
!!bizmodel.cost_define bizname:'test'
descr:'Office Rent'
cost:'5000USD'
indexation:'3%'
costcenter:'marketing_cc'
cost_percent_revenue:'1%'