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
ContentHash
Hash of the synced fields; an unchanged upsert skips the provider call.
public string ContentHash { get; set; }
Property Value
Contact for certificate requests.
public string? Email { get; set; }
Property Value
EntityId
Entity (AvaTax company) the party is synced to.
public string EntityId { get; init; }
Property Value
EntityUseCode
AvaTax entity use code for the exemption reason (e.g. E charitable, direct pay codes).
public string? EntityUseCode { get; set; }
Property Value
Id
Record id.
public Guid Id { get; init; }
Property Value
IsExempt
True when the party claims exemption (non-profit, direct pay, ...). Certificates prove it.
public bool IsExempt { get; set; }
Property Value
LastError
Why the last sync failed or was deferred.
public string? LastError { get; set; }
Property Value
LastSyncedAt
When the provider last accepted it.
public DateTimeOffset? LastSyncedAt { get; set; }
Property Value
Name
Legal or trading name.
public string Name { get; set; }
Property Value
PartyCode
PVC Connect's customer/vendor code.
public string PartyCode { get; init; }
Property Value
PartyType
Customer or vendor.
public PartyType PartyType { get; init; }
Property Value
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
UpdatedAt
When it last changed here.
public DateTimeOffset UpdatedAt { get; set; }