Table of Contents

Class SfInvoice

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Invoice

SObject Name: Invoice

Custom Object: False

public class SfInvoice : SObject
Inheritance
SfInvoice
Inherited Members

Properties

Balance

Balance

Name: Balance

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "balance")]
[Updateable(false)]
[Createable(false)]
public decimal? Balance { get; set; }

Property Value

decimal?

BillToContact

ReferenceTo: Contact

RelationshipName: BillToContact

[JsonProperty(PropertyName = "billToContact")]
[Updateable(false)]
[Createable(false)]
public SfContact BillToContact { get; set; }

Property Value

SfContact

BillToContactId

Contact ID

Name: BillToContactId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "billToContactId")]
[Updateable(true)]
[Createable(false)]
public string BillToContactId { get; set; }

Property Value

string

BillingAccount

ReferenceTo: Account

RelationshipName: BillingAccount

[JsonProperty(PropertyName = "billingAccount")]
[Updateable(false)]
[Createable(false)]
public SfAccount BillingAccount { get; set; }

Property Value

SfAccount

BillingAccountId

Account ID

Name: BillingAccountId

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "billingAccountId")]
[Updateable(true)]
[Createable(false)]
public string BillingAccountId { get; set; }

Property Value

string

CreatedBy

ReferenceTo: User

RelationshipName: CreatedBy

[JsonProperty(PropertyName = "createdBy")]
[Updateable(false)]
[Createable(false)]
public SfUser CreatedBy { get; set; }

Property Value

SfUser

CreatedById

Created By ID

Name: CreatedById

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "createdById")]
[Updateable(false)]
[Createable(false)]
public string CreatedById { get; set; }

Property Value

string

CreatedDate

Created Date

Name: CreatedDate

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "createdDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? CreatedDate { get; set; }

Property Value

DateTimeOffset?

Description

Description

Name: Description

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "description")]
[Updateable(true)]
[Createable(false)]
public string Description { get; set; }

Property Value

string

DocumentNumber

Document Number

Name: DocumentNumber

SF Type: string

AutoNumber field

Nillable: False

[JsonProperty(PropertyName = "documentNumber")]
[Updateable(false)]
[Createable(false)]
public string DocumentNumber { get; set; }

Property Value

string

DueDate

Due Date

Name: DueDate

SF Type: date

Nillable: False

[JsonProperty(PropertyName = "dueDate")]
[Updateable(true)]
[Createable(false)]
public DateTime? DueDate { get; set; }

Property Value

DateTime?

Id

Invoice ID

Name: Id

SF Type: id

Nillable: False

[JsonProperty(PropertyName = "id")]
[Updateable(false)]
[Createable(false)]
public string Id { get; set; }

Property Value

string

InvoiceDate

Invoice Date

Name: InvoiceDate

SF Type: date

Nillable: False

[JsonProperty(PropertyName = "invoiceDate")]
[Updateable(true)]
[Createable(false)]
public DateTime? InvoiceDate { get; set; }

Property Value

DateTime?

InvoiceLockedDateTime

Invoice Locked Date Time

Name: InvoiceLockedDateTime

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "invoiceLockedDateTime")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? InvoiceLockedDateTime { get; set; }

Property Value

DateTimeOffset?

InvoiceNumber

Invoice Number

Name: InvoiceNumber

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "invoiceNumber")]
[Updateable(true)]
[Createable(false)]
public string InvoiceNumber { get; set; }

Property Value

string

IsDeleted

Deleted

Name: IsDeleted

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isDeleted")]
[Updateable(false)]
[Createable(false)]
public bool? IsDeleted { get; set; }

Property Value

bool?

IsInvoiceLocked

Invoice Locked

Name: IsInvoiceLocked

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isInvoiceLocked")]
[Updateable(false)]
[Createable(false)]
public bool? IsInvoiceLocked { get; set; }

Property Value

bool?

LastModifiedBy

ReferenceTo: User

RelationshipName: LastModifiedBy

[JsonProperty(PropertyName = "lastModifiedBy")]
[Updateable(false)]
[Createable(false)]
public SfUser LastModifiedBy { get; set; }

Property Value

SfUser

LastModifiedById

Last Modified By ID

Name: LastModifiedById

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "lastModifiedById")]
[Updateable(false)]
[Createable(false)]
public string LastModifiedById { get; set; }

Property Value

string

LastModifiedDate

Last Modified Date

Name: LastModifiedDate

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "lastModifiedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastModifiedDate { get; set; }

Property Value

DateTimeOffset?

LastReferencedDate

Last Referenced Date

Name: LastReferencedDate

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "lastReferencedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastReferencedDate { get; set; }

Property Value

DateTimeOffset?

LastViewedDate

Last Viewed Date

Name: LastViewedDate

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "lastViewedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastViewedDate { get; set; }

Property Value

DateTimeOffset?

NetCreditsApplied

Net Credits Applied

Name: NetCreditsApplied

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "netCreditsApplied")]
[Updateable(false)]
[Createable(false)]
public decimal? NetCreditsApplied { get; set; }

Property Value

decimal?

NetPaymentsApplied

Net Payments Applied

Name: NetPaymentsApplied

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "netPaymentsApplied")]
[Updateable(false)]
[Createable(false)]
public decimal? NetPaymentsApplied { get; set; }

Property Value

decimal?

OwnerId

Owner ID

Name: OwnerId

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "ownerId")]
[Updateable(true)]
[Createable(false)]
public string OwnerId { get; set; }

Property Value

string

ReferenceEntityId

ReferenceEntity ID

Name: ReferenceEntityId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "referenceEntityId")]
[Updateable(true)]
[Createable(false)]
public string ReferenceEntityId { get; set; }

Property Value

string

SObjectTypeName

[JsonIgnore]
public static string SObjectTypeName { get; }

Property Value

string

Status

Status

Name: Status

SF Type: picklist

Nillable: False

[JsonProperty(PropertyName = "status")]
[Updateable(false)]
[Createable(false)]
public string Status { get; set; }

Property Value

string

SystemModstamp

System Modstamp

Name: SystemModstamp

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "systemModstamp")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? SystemModstamp { get; set; }

Property Value

DateTimeOffset?

TotalAdjustmentAmount

Total Adjustment Amount

Name: TotalAdjustmentAmount

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "totalAdjustmentAmount")]
[Updateable(false)]
[Createable(false)]
public decimal? TotalAdjustmentAmount { get; set; }

Property Value

decimal?

TotalAdjustmentAmountWithTax

Total Adjustment Amount with Tax

Name: TotalAdjustmentAmountWithTax

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "totalAdjustmentAmountWithTax")]
[Updateable(false)]
[Createable(false)]
public decimal? TotalAdjustmentAmountWithTax { get; set; }

Property Value

decimal?

TotalAdjustmentTaxAmount

Total Adjustment Tax Amount

Name: TotalAdjustmentTaxAmount

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "totalAdjustmentTaxAmount")]
[Updateable(false)]
[Createable(false)]
public decimal? TotalAdjustmentTaxAmount { get; set; }

Property Value

decimal?

TotalAmount

Total Amount

Name: TotalAmount

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "totalAmount")]
[Updateable(false)]
[Createable(false)]
public decimal? TotalAmount { get; set; }

Property Value

decimal?

TotalAmountWithTax

Total with Tax

Name: TotalAmountWithTax

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "totalAmountWithTax")]
[Updateable(false)]
[Createable(false)]
public decimal? TotalAmountWithTax { get; set; }

Property Value

decimal?

TotalChargeAmount

Total Charges

Name: TotalChargeAmount

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "totalChargeAmount")]
[Updateable(false)]
[Createable(false)]
public decimal? TotalChargeAmount { get; set; }

Property Value

decimal?

TotalChargeAmountWithTax

Total Charge Amount with Tax

Name: TotalChargeAmountWithTax

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "totalChargeAmountWithTax")]
[Updateable(false)]
[Createable(false)]
public decimal? TotalChargeAmountWithTax { get; set; }

Property Value

decimal?

TotalChargeTaxAmount

Total Charge Tax Amount

Name: TotalChargeTaxAmount

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "totalChargeTaxAmount")]
[Updateable(false)]
[Createable(false)]
public decimal? TotalChargeTaxAmount { get; set; }

Property Value

decimal?

TotalTaxAmount

Total Tax

Name: TotalTaxAmount

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "totalTaxAmount")]
[Updateable(false)]
[Createable(false)]
public decimal? TotalTaxAmount { get; set; }

Property Value

decimal?

WriteOffStatus

Write Off Status

Name: WriteOffStatus

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "writeOffStatus")]
[Updateable(false)]
[Createable(false)]
public string WriteOffStatus { get; set; }

Property Value

string

WriteOffTotalChargeAmount

Write Off Total Charge Amount

Name: WriteOffTotalChargeAmount

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "writeOffTotalChargeAmount")]
[Updateable(false)]
[Createable(false)]
public decimal? WriteOffTotalChargeAmount { get; set; }

Property Value

decimal?

WriteOffTotalTaxAmount

Write Off Total Tax Amount

Name: WriteOffTotalTaxAmount

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "writeOffTotalTaxAmount")]
[Updateable(false)]
[Createable(false)]
public decimal? WriteOffTotalTaxAmount { get; set; }

Property Value

decimal?