Show / Hide Table of Contents

Class Invoice

Invoice details

Inheritance
object
Invoice
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OspgatewayService.Models
Assembly: OCI.DotNetSDK.Ospgateway.dll
Syntax
public class Invoice

Properties

BillToAddress

Declaration
[JsonProperty(PropertyName = "billToAddress")]
public BillToAddress BillToAddress { get; set; }
Property Value
Type Description
BillToAddress

Currency

Declaration
[JsonProperty(PropertyName = "currency")]
public Currency Currency { get; set; }
Property Value
Type Description
Currency

InternalInvoiceId

Declaration
[JsonProperty(PropertyName = "internalInvoiceId")]
public string InternalInvoiceId { get; set; }
Property Value
Type Description
string

Transaction identifier

InvoiceAmount

Declaration
[JsonProperty(PropertyName = "invoiceAmount")]
public decimal? InvoiceAmount { get; set; }
Property Value
Type Description
decimal?

Total amount of invoice

InvoiceAmountAdjusted

Declaration
[JsonProperty(PropertyName = "invoiceAmountAdjusted")]
public decimal? InvoiceAmountAdjusted { get; set; }
Property Value
Type Description
decimal?

Invoice amount adjust

InvoiceAmountApplied

Declaration
[JsonProperty(PropertyName = "invoiceAmountApplied")]
public decimal? InvoiceAmountApplied { get; set; }
Property Value
Type Description
decimal?

Invoice amount applied

InvoiceAmountCredited

Declaration
[JsonProperty(PropertyName = "invoiceAmountCredited")]
public decimal? InvoiceAmountCredited { get; set; }
Property Value
Type Description
decimal?

Invoice amount credit

InvoiceAmountDue

Declaration
[JsonProperty(PropertyName = "invoiceAmountDue")]
public decimal? InvoiceAmountDue { get; set; }
Property Value
Type Description
decimal?

Balance of invoice

InvoiceId

Declaration
[Required(ErrorMessage = "InvoiceId is required.")]
[JsonProperty(PropertyName = "invoiceId")]
public string InvoiceId { get; set; }
Property Value
Type Description
string

Invoice identifier which is generated on the on-premise sie. Pls note this is not an OCID

Remarks

Required

InvoiceNumber

Declaration
[JsonProperty(PropertyName = "invoiceNumber")]
public string InvoiceNumber { get; set; }
Property Value
Type Description
string

Invoice external reference

InvoicePoNumber

Declaration
[JsonProperty(PropertyName = "invoicePoNumber")]
public string InvoicePoNumber { get; set; }
Property Value
Type Description
string

Invoice PO number

InvoiceRefNumber

Declaration
[JsonProperty(PropertyName = "invoiceRefNumber")]
public string InvoiceRefNumber { get; set; }
Property Value
Type Description
string

Invoice reference number

InvoiceStatus

Declaration
[JsonProperty(PropertyName = "invoiceStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Invoice.InvoiceStatusEnum? InvoiceStatus { get; set; }
Property Value
Type Description
Invoice.InvoiceStatusEnum?

Invoice status

InvoiceType

Declaration
[JsonProperty(PropertyName = "invoiceType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Invoice.InvoiceTypeEnum? InvoiceType { get; set; }
Property Value
Type Description
Invoice.InvoiceTypeEnum?

Type of invoice

IsCreditCardPayable

Declaration
[JsonProperty(PropertyName = "isCreditCardPayable")]
public bool? IsCreditCardPayable { get; set; }
Property Value
Type Description
bool?

Is credit card payment eligible

IsDisplayDownloadPdf

Declaration
[JsonProperty(PropertyName = "isDisplayDownloadPdf")]
public bool? IsDisplayDownloadPdf { get; set; }
Property Value
Type Description
bool?

Is pdf download access allowed

IsPayable

Declaration
[JsonProperty(PropertyName = "isPayable")]
public bool? IsPayable { get; set; }
Property Value
Type Description
bool?

Whether invoice can be payed

IsPdfEmailAvailable

Declaration
[JsonProperty(PropertyName = "isPdfEmailAvailable")]
public bool? IsPdfEmailAvailable { get; set; }
Property Value
Type Description
bool?

Is emailing pdf allowed

LastPaymentDetail

Declaration
[JsonProperty(PropertyName = "lastPaymentDetail")]
public PaymentDetail LastPaymentDetail { get; set; }
Property Value
Type Description
PaymentDetail

PaymentTerms

Declaration
[JsonProperty(PropertyName = "paymentTerms")]
public string PaymentTerms { get; set; }
Property Value
Type Description
string

Payment terms

PreferredEmail

Declaration
[JsonProperty(PropertyName = "preferredEmail")]
public string PreferredEmail { get; set; }
Property Value
Type Description
string

Preferred Email on the invoice

SubscriptionIds

Declaration
[JsonProperty(PropertyName = "subscriptionIds")]
public List<string> SubscriptionIds { get; set; }
Property Value
Type Description
List<string>

List of subscription identifiers

Tax

Declaration
[JsonProperty(PropertyName = "tax")]
public decimal? Tax { get; set; }
Property Value
Type Description
decimal?

Tax of invoice amount

TimeInvoice

Declaration
[JsonProperty(PropertyName = "timeInvoice")]
public DateTime? TimeInvoice { get; set; }
Property Value
Type Description
DateTime?

Date of invoice

TimeInvoiceDue

Declaration
[JsonProperty(PropertyName = "timeInvoiceDue")]
public DateTime? TimeInvoiceDue { get; set; }
Property Value
Type Description
DateTime?

Due date of invoice

In this article
Back to top