OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / InvoiceBase Class / TotalAmount Property



In This Topic
    TotalAmount Property
    In This Topic
    The total amount due for this Invoice.
    Syntax
    'Declaration
     
    
    <DataMemberAttribute(False)>
    <DisplayNameAttribute("")>
    Public ReadOnly Property TotalAmount As Decimal
    'Usage
     
    
    Dim instance As InvoiceBase
    Dim value As Decimal
     
    value = instance.TotalAmount
    [DataMember(false)]
    [DisplayName("")]
    public decimal TotalAmount {get;}
    [DataMember(false)]
    [DisplayName("")]
    public:
    property decimal TotalAmount {
       decimal get();
    }
    Remarks
    This field is read-only and cannot be directly modified.

    Calculated as the sum of total costs for all Orders assigned to this Invoice.
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also