Class Invoice
This class represents an invoice
Inheritance
System.Object
Invoice
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()
Assembly: Dangl.AVACloud.Client.dll
Syntax
public class Invoice : INotifyPropertyChanged
Properties
|
Improve this Doc
View Source
Allowances
Allowances / deductions on the invoice
Declaration
[JsonProperty("allowances", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ObservableCollection<InvoiceAllowance> Allowances { get; set; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<InvoiceAllowance> |
|
|
Improve this Doc
View Source
Buyer
Information about the buyer
Declaration
[JsonProperty("buyer", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Organization Buyer { get; set; }
Property Value
|
Improve this Doc
View Source
Charges
Charges / additional costs on the invoice
Declaration
[JsonProperty("charges", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ObservableCollection<InvoiceCharge> Charges { get; set; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<InvoiceCharge> |
|
|
Improve this Doc
View Source
CurrencyCode
The three letter ISO currency code
Declaration
[JsonProperty("currencyCode", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string CurrencyCode { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Documents
Attached documents to the invoice
Declaration
[JsonProperty("documents", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ObservableCollection<SupportingDocument> Documents { get; set; }
Property Value
|
Improve this Doc
View Source
InvoiceDate
Declaration
[JsonProperty("invoiceDate", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public DateTime? InvoiceDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
|
Improve this Doc
View Source
InvoiceNotes
If present, this is an unstructured text that can be used to give additional information
about the invoice.
Declaration
[JsonProperty("invoiceNotes", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ObservableCollection<InvoiceNote> InvoiceNotes { get; set; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<InvoiceNote> |
|
|
Improve this Doc
View Source
InvoiceNumber
The number of the invoice
Declaration
[JsonProperty("invoiceNumber", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string InvoiceNumber { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
InvoicePeriod
The period during which the services or goods were delivered
Declaration
[JsonProperty("invoicePeriod", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public InvoicePeriod InvoicePeriod { get; set; }
Property Value
|
Improve this Doc
View Source
InvoiceType
Declaration
[JsonProperty("invoiceType", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(StringEnumConverter))]
public InvoiceType? InvoiceType { get; set; }
Property Value
|
Improve this Doc
View Source
LineItems
Single line items in the invoice
Declaration
[JsonProperty("lineItems", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ObservableCollection<InvoiceLineItem> LineItems { get; set; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<InvoiceLineItem> |
|
|
Improve this Doc
View Source
Payee
A payee is someone who receives the payment that is different from the seller
Declaration
[JsonProperty("payee", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Payee Payee { get; set; }
Property Value
|
Improve this Doc
View Source
PaymentDueDate
Until when the payment is due
Declaration
[JsonProperty("paymentDueDate", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public DateTime? PaymentDueDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
|
Improve this Doc
View Source
PaymentInstructions
Instructions how to perform the payment
Declaration
[JsonProperty("paymentInstructions", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public PaymentInstructions PaymentInstructions { get; set; }
Property Value
|
Improve this Doc
View Source
PaymentTerms
A text description of payment terms, e.g. cash discounts or payment conditions
Declaration
[JsonProperty("paymentTerms", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string PaymentTerms { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
PreviousInvoices
In case of partial of final invoices, it's possible to reference the previous invoice numbers
Declaration
[JsonProperty("previousInvoices", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ObservableCollection<PreviousInvoice> PreviousInvoices { get; set; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<PreviousInvoice> |
|
|
Improve this Doc
View Source
References
An object holding reference used in this invoice
Declaration
[JsonProperty("references", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public References References { get; set; }
Property Value
|
Improve this Doc
View Source
Seller
Information about the seller
Declaration
[JsonProperty("seller", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public Organization Seller { get; set; }
Property Value
|
Improve this Doc
View Source
SourceType
The source type from which the invoice was created
Declaration
[JsonProperty("sourceType", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public SourceType SourceType { get; set; }
Property Value
|
Improve this Doc
View Source
Totals
Declaration
[JsonProperty("totals", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public InvoiceTotals Totals { get; set; }
Property Value
|
Improve this Doc
View Source
VatBreakdown
This is used to list VAT by category, e.g. for invoices
where parts are in different VAT categories
Declaration
[JsonProperty("vatBreakdown", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ObservableCollection<VatBreakdown> VatBreakdown { get; set; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<VatBreakdown> |
|
Methods
|
Improve this Doc
View Source
FromJson(String)
Declaration
public static Invoice FromJson(string data)
Parameters
Type |
Name |
Description |
System.String |
data |
|
Returns
|
Improve this Doc
View Source
RaisePropertyChanged(String)
Declaration
protected virtual void RaisePropertyChanged(string propertyName = null)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
|
Improve this Doc
View Source
ToJson()
Declaration
Returns
Type |
Description |
System.String |
|
Events
|
Improve this Doc
View Source
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged