Class InvoiceTotals
Totals for the invoice
Inheritance
System.Object
InvoiceTotals
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dangl.AVACloud.Client
Assembly: Dangl.AVACloud.Client.dll
Syntax
public class InvoiceTotals : INotifyPropertyChanged
Properties
| Improve this Doc View SourceAlreadyPaidTotal
The total amount that has already been paid for this invoice, e.g. used when
previous invoice sums are included here that have already been paid.
Declaration
[JsonProperty("alreadyPaidTotal", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public decimal? AlreadyPaidTotal { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> |
TotalAfterDeductions
This is the total net value of the invoice after applied allowances and charges,
meaning the actual net sum to be paid.
Declaration
[JsonProperty("totalAfterDeductions", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public decimal? TotalAfterDeductions { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> |
TotalAllowances
This is the sum of all allowances (e.g. deductions or withheld tax) in the invoice
Declaration
[JsonProperty("totalAllowances", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public decimal? TotalAllowances { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> |
TotalCharges
This is the sum of all charges in the invoice, except VAT. For example, late
fees or surcharges.
Declaration
[JsonProperty("totalCharges", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public decimal? TotalCharges { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> |
TotalGross
The total gross amount of the invoice, including all taxes and deductions.
Declaration
[JsonProperty("totalGross", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public decimal? TotalGross { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> |
TotalNet
Sum of all invoice items in net.
Declaration
[JsonProperty("totalNet", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public decimal? TotalNet { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> |
TotalToBePaid
The sum that needs to be paid for this invoice. This is the total gross amount
minus the already paid amount.
Declaration
[JsonProperty("totalToBePaid", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public decimal? TotalToBePaid { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> |
TotalVatAmount
The total amount of VAT in the invoice.
Declaration
[JsonProperty("totalVatAmount", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public decimal? TotalVatAmount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> |
Methods
| Improve this Doc View SourceFromJson(String)
Declaration
public static InvoiceTotals FromJson(string data)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | data |
Returns
| Type | Description |
|---|---|
| InvoiceTotals |
RaisePropertyChanged(String)
Declaration
protected virtual void RaisePropertyChanged(string propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | propertyName |
ToJson()
Declaration
public string ToJson()
Returns
| Type | Description |
|---|---|
| System.String |
Events
| Improve this Doc View SourcePropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type | Description |
|---|---|
| System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged