Class ResaleCertificateRequest
- Namespace
- Integrations.Contracts.Parties
- Assembly
- Integrations.Contracts.dll
Track that PVC's resale certificate must be on file with a vendor for a PO. The certificate itself is sent from Avalara (ECM); this service records the need and checks Avalara until a matching certificate appears.
public sealed record ResaleCertificateRequest : IEquatable<ResaleCertificateRequest>
- Inheritance
-
ResaleCertificateRequest
- Implements
- Inherited Members
Constructors
ResaleCertificateRequest(string, string, string, string?, string?, Guid?, string)
Track that PVC's resale certificate must be on file with a vendor for a PO. The certificate itself is sent from Avalara (ECM); this service records the need and checks Avalara until a matching certificate appears.
public ResaleCertificateRequest(string EntityId, string VendorCode, string Region, string? PurchaseOrderNumber = null, string? WorkOrderNumber = null, Guid? TaxDocumentId = null, string Country = "US")
Parameters
EntityIdstringEntity buying for resale (the certificate holder).
VendorCodestringVendor that must receive the certificate.
RegionstringState/province the purchase is taxed in.
PurchaseOrderNumberstringPO the certificate covers. Optional.
WorkOrderNumberstringWork order the PO belongs to. Optional.
TaxDocumentIdGuid?The AP tax document that triggered the request, if any.
CountrystringISO 3166-1 alpha-2 country of
Region. Defaults toUS.
Properties
Country
ISO 3166-1 alpha-2 country of Region. Defaults to US.
public string Country { get; init; }
Property Value
EntityId
Entity buying for resale (the certificate holder).
public string EntityId { get; init; }
Property Value
PurchaseOrderNumber
PO the certificate covers. Optional.
public string? PurchaseOrderNumber { get; init; }
Property Value
Region
State/province the purchase is taxed in.
public string Region { get; init; }
Property Value
TaxDocumentId
The AP tax document that triggered the request, if any.
public Guid? TaxDocumentId { get; init; }
Property Value
- Guid?
VendorCode
Vendor that must receive the certificate.
public string VendorCode { get; init; }
Property Value
WorkOrderNumber
Work order the PO belongs to. Optional.
public string? WorkOrderNumber { get; init; }