Table of Contents

Class PartyDto

Namespace
Integrations.Contracts.Parties
Assembly
Integrations.Contracts.dll

A customer or vendor as this service knows it, with its sync state at the tax provider.

public sealed record PartyDto : IEquatable<PartyDto>
Inheritance
PartyDto
Implements
Inherited Members

Constructors

PartyDto(string, PartyType, string, string, AddressDto, string?, bool, string?, PartySyncStatus, string?, DateTimeOffset?)

A customer or vendor as this service knows it, with its sync state at the tax provider.

public PartyDto(string EntityId, PartyType PartyType, string Code, string Name, AddressDto Address, string? Email, bool IsExempt, string? EntityUseCode, PartySyncStatus SyncStatus, string? LastError, DateTimeOffset? LastSyncedAt)

Parameters

EntityId string

Owning entity (PVC, DXT-CA, ...).

PartyType PartyType

Customer or vendor.

Code string

PVC Connect's customer/vendor code; also the code at the provider.

Name string

Legal or trading name.

Address AddressDto

Billing or remit-to address.

Email string

Contact for certificate requests, if known.

IsExempt bool

The party claims an exemption.

EntityUseCode string

Avalara entity use code for the claimed exemption, if any.

SyncStatus PartySyncStatus

Whether the provider has accepted the current version.

LastError string

Why the last sync failed or was deferred, if it did.

LastSyncedAt DateTimeOffset?

When the provider last accepted this record.

Properties

Address

Billing or remit-to address.

public AddressDto Address { get; init; }

Property Value

AddressDto

Code

PVC Connect's customer/vendor code; also the code at the provider.

public string Code { get; init; }

Property Value

string

Email

Contact for certificate requests, if known.

public string? Email { get; init; }

Property Value

string

EntityId

Owning entity (PVC, DXT-CA, ...).

public string EntityId { get; init; }

Property Value

string

EntityUseCode

Avalara entity use code for the claimed exemption, if any.

public string? EntityUseCode { get; init; }

Property Value

string

IsExempt

The party claims an exemption.

public bool IsExempt { get; init; }

Property Value

bool

LastError

Why the last sync failed or was deferred, if it did.

public string? LastError { get; init; }

Property Value

string

LastSyncedAt

When the provider last accepted this record.

public DateTimeOffset? LastSyncedAt { get; init; }

Property Value

DateTimeOffset?

Name

Legal or trading name.

public string Name { get; init; }

Property Value

string

PartyType

Customer or vendor.

public PartyType PartyType { get; init; }

Property Value

PartyType

SyncStatus

Whether the provider has accepted the current version.

public PartySyncStatus SyncStatus { get; init; }

Property Value

PartySyncStatus