Class CertificateDto
- Namespace
- Integrations.Contracts.Parties
- Assembly
- Integrations.Contracts.dll
An exemption or resale certificate held by the tax provider.
public sealed record CertificateDto : IEquatable<CertificateDto>
- Inheritance
-
CertificateDto
- Implements
- Inherited Members
Constructors
CertificateDto(int, string?, string?, string?, string?, string?, DateOnly?, DateOnly?, bool, string?, IReadOnlyList<string>, IReadOnlyList<string>)
An exemption or resale certificate held by the tax provider.
public CertificateDto(int Id, string? ExemptionNumber, string? Region, string? Country, string? ExposureZone, string? ExemptionReason, DateOnly? SignedDate, DateOnly? ExpirationDate, bool IsValid, string? Status, IReadOnlyList<string> PurchaseOrderNumbers, IReadOnlyList<string> CustomerCodes)
Parameters
IdintAvalara certificate id.
ExemptionNumberstringNumber on the certificate (e.g. state resale permit number).
RegionstringState/province the certificate covers.
CountrystringCountry of
Region.ExposureZonestringAvalara exposure zone name (the jurisdiction the certificate is valid in).
ExemptionReasonstringWhy the purchase is exempt (resale, charitable, government, ...).
SignedDateDateOnly?When the certificate was signed.
ExpirationDateDateOnly?When it expires; null for perpetual certificates (e.g. New York).
IsValidboolAvalara's validity flag after review.
StatusstringAvalara's processing status (e.g.
COMPLETE).PurchaseOrderNumbersIReadOnlyList<string>POs the certificate is limited to (single-purchase certificates).
CustomerCodesIReadOnlyList<string>Customers the certificate is attached to (customer certificates).
Properties
Country
Country of Region.
public string? Country { get; init; }
Property Value
CustomerCodes
Customers the certificate is attached to (customer certificates).
public IReadOnlyList<string> CustomerCodes { get; init; }
Property Value
ExemptionNumber
Number on the certificate (e.g. state resale permit number).
public string? ExemptionNumber { get; init; }
Property Value
ExemptionReason
Why the purchase is exempt (resale, charitable, government, ...).
public string? ExemptionReason { get; init; }
Property Value
ExpirationDate
When it expires; null for perpetual certificates (e.g. New York).
public DateOnly? ExpirationDate { get; init; }
Property Value
ExposureZone
Avalara exposure zone name (the jurisdiction the certificate is valid in).
public string? ExposureZone { get; init; }
Property Value
Id
Avalara certificate id.
public int Id { get; init; }
Property Value
IsValid
Avalara's validity flag after review.
public bool IsValid { get; init; }
Property Value
PurchaseOrderNumbers
POs the certificate is limited to (single-purchase certificates).
public IReadOnlyList<string> PurchaseOrderNumbers { get; init; }
Property Value
Region
State/province the certificate covers.
public string? Region { get; init; }
Property Value
SignedDate
When the certificate was signed.
public DateOnly? SignedDate { get; init; }
Property Value
Status
Avalara's processing status (e.g. COMPLETE).
public string? Status { get; init; }