Table of Contents

Class ExpenseCreate

Namespace
Autodesk.ACC.CostManagement.Models
Assembly
Autodesk.ACC.CostManagement.dll
public class ExpenseCreate : IAdditionalDataHolder, IParsable
Inheritance
ExpenseCreate
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Constructors

ExpenseCreate()

Instantiates a new ExpenseCreate and sets the default values.

public ExpenseCreate()

Properties

AdditionalData

Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

public IDictionary<string, object> AdditionalData { get; set; }

Property Value

IDictionary<string, object>

ContractId

ID of the contract to which the expense belongs. Expense items will be created based on contract schedule of values.

public string? ContractId { get; set; }

Property Value

string

Description

The detail description of the expense.

public string? Description { get; set; }

Property Value

string

ExternalId

The ID of the item in its original external system. You can use this ID to track the source of truth or to look up the data in an integrated system.

public string? ExternalId { get; set; }

Property Value

string

ExternalMessage

A message that explains the sync status of the ERP integration with the BIM 360 Cost module.

public string? ExternalMessage { get; set; }

Property Value

string

ExternalSystem

The name of the external system. You can use this name to track the source of truth or to search in an integrated system.

public string? ExternalSystem { get; set; }

Property Value

string

Id

Unique identifier of the expense.

public string? Id { get; set; }

Property Value

string

IntegrationState

Lock state used by ERP integration, default value is null.

public ExpenseCreate_integrationState? IntegrationState { get; set; }

Property Value

ExpenseCreate_integrationState?

IssuedAt

The date and time when the expense is issued.

public DateTimeOffset? IssuedAt { get; set; }

Property Value

DateTimeOffset?

Name

The name of the expense.

public string? Name { get; set; }

Property Value

string

Note

The note of the expense. Draftjs formatted rich text (https://draftjs.org/)

public string? Note { get; set; }

Property Value

string

Number

System-generated sequential number.

public string? Number { get; set; }

Property Value

string

PaymentDue

The payment due date of the expense.

public DateTimeOffset? PaymentDue { get; set; }

Property Value

DateTimeOffset?

PaymentReference

The check/cheque number or electronic transfer number.

public string? PaymentReference { get; set; }

Property Value

string

PaymentType

The Populated by ERP no default, could be something like Check/Cheque/Electronic Transfer.

public string? PaymentType { get; set; }

Property Value

string

PurchasedBy

The user who purchased items in the expense. This is the ID of a user managed by BIM 360 Admin.

public string? PurchasedBy { get; set; }

Property Value

string

ReceivedAt

The date and time when the expense is received.

public DateTimeOffset? ReceivedAt { get; set; }

Property Value

DateTimeOffset?

ReferenceNumber

The reference number of the expense.

public string? ReferenceNumber { get; set; }

Property Value

string

Scope

The expense type of the expense. Possible values: full, partial.

public ExpenseCreate_scope? Scope { get; set; }

Property Value

ExpenseCreate_scope?

Status

The status of the expense. Possible values: draft, pending, revise, rejected, approved, paid.

public ExpenseCreate_status? Status { get; set; }

Property Value

ExpenseCreate_status?

SupplierId

The supplier for the expense. This is the ID of a company managed by BIM 360 Admin.

public string? SupplierId { get; set; }

Property Value

string

SupplierName

The supplier name for the expense. User can create a new supplier or select from BIM 360 Admin.

public string? SupplierName { get; set; }

Property Value

string

Term

The term of the expense. It is customizable by the project admin.

public string? Term { get; set; }

Property Value

string

Type

The type of the expense. It is customizable by the project admin.

public string? Type { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static ExpenseCreate CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

ExpenseCreate

A ExpenseCreate

GetFieldDeserializers()

The deserialization information for the current model

public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()

Returns

IDictionary<string, Action<IParseNode>>

A IDictionary<string, Action<IParseNode>>

Serialize(ISerializationWriter)

Serializes information the current object

public virtual void Serialize(ISerializationWriter writer)

Parameters

writer ISerializationWriter

Serialization writer to use to serialize this model