Class UpsertPartyRequest
- Namespace
- Integrations.Contracts.Parties
- Assembly
- Integrations.Contracts.dll
Minimum customer/vendor data sent to the tax provider. PVC Connect keeps the master record; proprietary fields stay home.
IsExempt/EntityUseCode describe claimed exemptions (non-profit, direct pay); certificates prove them.
public sealed record UpsertPartyRequest : IEquatable<UpsertPartyRequest>
- Inheritance
-
UpsertPartyRequest
- Implements
- Inherited Members
Constructors
UpsertPartyRequest(string, AddressDto, string?, bool, string?)
Minimum customer/vendor data sent to the tax provider. PVC Connect keeps the master record; proprietary fields stay home.
IsExempt/EntityUseCode describe claimed exemptions (non-profit, direct pay); certificates prove them.
public UpsertPartyRequest(string Name, AddressDto Address, string? Email = null, bool IsExempt = false, string? EntityUseCode = null)
Parameters
NamestringLegal or trading name as it should appear on certificates.
AddressAddressDtoBilling address (customers) or remit-to address (vendors).
EmailstringWhere certificate requests are sent. Optional.
IsExemptboolThe party claims an exemption (non-profit, government, direct pay).
EntityUseCodestringAvalara entity use code for the claimed exemption (e.g.
Efor charitable). Optional.
Properties
Address
Billing address (customers) or remit-to address (vendors).
public AddressDto Address { get; init; }
Property Value
Where certificate requests are sent. Optional.
public string? Email { get; init; }
Property Value
EntityUseCode
Avalara entity use code for the claimed exemption (e.g. E for charitable). Optional.
public string? EntityUseCode { get; init; }
Property Value
IsExempt
The party claims an exemption (non-profit, government, direct pay).
public bool IsExempt { get; init; }
Property Value
Name
Legal or trading name as it should appear on certificates.
public string Name { get; init; }