@theredspace/spp-client
    Preparing search index...

    Interface Actualcost

    interface Actualcost {
        cost: number;
        cost_typeid: string;
        created: string;
        currency: string;
        date: string;
        externalid?: string;
        id: string;
        is_accrual: "0" | "1";
        name: string;
        notes?: string;
        period: string;
        updated: string;
        userid: string;
    }
    Index

    Properties

    cost: number

    The cost amount

    cost_typeid: string

    The internal ID of the cost type

    created: string

    [Read-only] When the record was created

    currency: string

    The currency code of the cost

    date: string

    [Required] Date for the actual cost (YYYY-MM-DD)

    externalid?: string

    If imported, the external system’s unique record ID

    id: string

    [Read-only] Unique internal ID

    is_accrual: "0" | "1"

    A “1/0” flag indicating whether this actual cost is an accrual

    name: string

    The (unused) name of the actual cost, present for subtotalling

    notes?: string

    Optional notes

    period: string

    [Required] Period type: “Daily”, “Weekly”, “Monthly”, “Quarterly”, or “Annually”

    updated: string

    [Read-only] When the record was last modified

    userid: string

    [Required] The user ID this cost applies to

    Usage and Relationships

    The ActualCost represents the real costs incurred for a project or task. It is often linked to budgets and accounting periods for financial tracking.

    Related Types:

    • AccountingPeriod: The period during which the cost was incurred.
    • Budget: The planned allocation against which the actual cost is compared.

    Key Fields:

    • id: Unique identifier for the cost record.
    • amount: The monetary value of the cost.
    • date: The date when the cost was incurred.