Class InvoiceSummary
Invoice details
Inherited Members
Namespace: Oci.OnesubscriptionService.Models
Assembly: OCI.DotNetSDK.Onesubscription.dll
Syntax
public class InvoiceSummary
Properties
ArInvoices
Declaration
[JsonProperty(PropertyName = "arInvoices")]
public string ArInvoices { get; set; }
Property Value
Type | Description |
---|---|
string | AR Invoice Numbers comma separated under one invoice |
BillToAddress
Declaration
[Required(ErrorMessage = "BillToAddress is required.")]
[JsonProperty(PropertyName = "billToAddress")]
public InvoicingAddress BillToAddress { get; set; }
Property Value
Type | Description |
---|---|
InvoicingAddress |
Remarks
Required
BillToContact
Declaration
[Required(ErrorMessage = "BillToContact is required.")]
[JsonProperty(PropertyName = "billToContact")]
public InvoicingUser BillToContact { get; set; }
Property Value
Type | Description |
---|---|
InvoicingUser |
Remarks
Required
BillToCustomer
Declaration
[Required(ErrorMessage = "BillToCustomer is required.")]
[JsonProperty(PropertyName = "billToCustomer")]
public InvoicingBusinessPartner BillToCustomer { get; set; }
Property Value
Type | Description |
---|---|
InvoicingBusinessPartner |
Remarks
Required
CreatedBy
Declaration
[JsonProperty(PropertyName = "createdBy")]
public string CreatedBy { get; set; }
Property Value
Type | Description |
---|---|
string | User that executed SPM Invoice process |
Currency
Declaration
[Required(ErrorMessage = "Currency is required.")]
[JsonProperty(PropertyName = "currency")]
public InvoicingCurrency Currency { get; set; }
Property Value
Type | Description |
---|---|
InvoicingCurrency |
Remarks
Required
InvoiceLines
Declaration
[JsonProperty(PropertyName = "invoiceLines")]
public List<InvoiceLineSummary> InvoiceLines { get; set; }
Property Value
Type | Description |
---|---|
List<InvoiceLineSummary> | Invoice Lines under particular invoice. |
Organization
Declaration
[Required(ErrorMessage = "Organization is required.")]
[JsonProperty(PropertyName = "organization")]
public InvoicingOrganization Organization { get; set; }
Property Value
Type | Description |
---|---|
InvoicingOrganization |
Remarks
Required
PaymentMethod
Declaration
[Required(ErrorMessage = "PaymentMethod is required.")]
[JsonProperty(PropertyName = "paymentMethod")]
public string PaymentMethod { get; set; }
Property Value
Type | Description |
---|---|
string | Payment Method |
Remarks
Required
PaymentTerm
Declaration
[Required(ErrorMessage = "PaymentTerm is required.")]
[JsonProperty(PropertyName = "paymentTerm")]
public InvoicingPaymentTerm PaymentTerm { get; set; }
Property Value
Type | Description |
---|---|
InvoicingPaymentTerm |
Remarks
Required
ReceiptMethod
Declaration
[JsonProperty(PropertyName = "receiptMethod")]
public string ReceiptMethod { get; set; }
Property Value
Type | Description |
---|---|
string | Receipt Method of Payment Mode |
SpmInvoiceNumber
Declaration
[Required(ErrorMessage = "SpmInvoiceNumber is required.")]
[JsonProperty(PropertyName = "spmInvoiceNumber")]
public string SpmInvoiceNumber { get; set; }
Property Value
Type | Description |
---|---|
string | SPM Document Number is an functional identifier for invoice in SPM |
Remarks
Required
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }
Property Value
Type | Description |
---|---|
string | Document Status in SPM which depicts current state of invoice |
Remarks
Required
SubscriptionNumber
Declaration
[Required(ErrorMessage = "SubscriptionNumber is required.")]
[JsonProperty(PropertyName = "subscriptionNumber")]
public string SubscriptionNumber { get; set; }
Property Value
Type | Description |
---|---|
string | Invoice associated subscription plan number. |
Remarks
Required
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | SPM Invocie creation date |
TimeInvoiceDate
Declaration
[Required(ErrorMessage = "TimeInvoiceDate is required.")]
[JsonProperty(PropertyName = "timeInvoiceDate")]
public DateTime? TimeInvoiceDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Invoice Date |
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | SPM Invoice updated date |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
string | Document Type in SPM like SPM Invoice,SPM Credit Memo etc., |
Remarks
Required
UpdatedBy
Declaration
[JsonProperty(PropertyName = "updatedBy")]
public string UpdatedBy { get; set; }
Property Value
Type | Description |
---|---|
string | User that updated SPM Invoice |