Table of Contents

Class PartySyncRecord

Namespace
Integrations.Domain.Parties
Assembly
Integrations.Domain.dll

A customer or vendor as sent to the tax provider for one entity. PVC Connect owns the master record; this keeps only the minimum fields the provider needs (proprietary data stays home), plus sync state for retries. A customer shared with several entities has one row per entity.

public sealed class PartySyncRecord
Inheritance
PartySyncRecord
Inherited Members

Properties

Address

Billing or remit-to address.

public Address Address { get; set; }

Property Value

Address

ContentHash

Hash of the synced fields; an unchanged upsert skips the provider call.

public string ContentHash { get; set; }

Property Value

string

Email

Contact for certificate requests.

public string? Email { get; set; }

Property Value

string

EntityId

Entity (AvaTax company) the party is synced to.

public string EntityId { get; init; }

Property Value

string

EntityUseCode

AvaTax entity use code for the exemption reason (e.g. E charitable, direct pay codes).

public string? EntityUseCode { get; set; }

Property Value

string

Id

Record id.

public Guid Id { get; init; }

Property Value

Guid

IsExempt

True when the party claims exemption (non-profit, direct pay, ...). Certificates prove it.

public bool IsExempt { get; set; }

Property Value

bool

LastError

Why the last sync failed or was deferred.

public string? LastError { get; set; }

Property Value

string

LastSyncedAt

When the provider last accepted it.

public DateTimeOffset? LastSyncedAt { get; set; }

Property Value

DateTimeOffset?

Name

Legal or trading name.

public string Name { get; set; }

Property Value

string

PartyCode

PVC Connect's customer/vendor code.

public string PartyCode { get; init; }

Property Value

string

PartyType

Customer or vendor.

public PartyType PartyType { get; init; }

Property Value

PartyType

SourceVersion

Version of the last change applied from PVC Connect (from the upsert message), if the sender supplies one.

public long? SourceVersion { get; set; }

Property Value

long?

Status

Sync state at the provider.

public SyncStatus Status { get; set; }

Property Value

SyncStatus

UpdatedAt

When it last changed here.

public DateTimeOffset UpdatedAt { get; set; }

Property Value

DateTimeOffset