Table of Contents

Class CertificateRequestDto

Namespace
Integrations.Contracts.Parties
Assembly
Integrations.Contracts.dll

A tracked need for a certificate: a resale certificate owed to a vendor, or an exemption invite sent to a customer.

public sealed record CertificateRequestDto : IEquatable<CertificateRequestDto>
Inheritance
CertificateRequestDto
Implements
Inherited Members

Constructors

CertificateRequestDto(Guid, string, CertificateRequestKind, PartyType, string, string, string, string?, string?, Guid?, CertificateRequestStatus, int?, int?, string?, string?, DateTimeOffset, DateTimeOffset?)

A tracked need for a certificate: a resale certificate owed to a vendor, or an exemption invite sent to a customer.

public CertificateRequestDto(Guid Id, string EntityId, CertificateRequestKind Kind, PartyType PartyType, string PartyCode, string Region, string Country, string? PurchaseOrderNumber, string? WorkOrderNumber, Guid? TaxDocumentId, CertificateRequestStatus Status, int? ProviderCertificateId, int? ProviderInvitationId, string? RequestLink, string? LastError, DateTimeOffset CreatedAt, DateTimeOffset? FulfilledAt)

Parameters

Id Guid

Request id.

EntityId string

Owning entity.

Kind CertificateRequestKind

Resale to vendor, or exemption invite to customer.

PartyType PartyType

Whether PartyCode is a customer or vendor.

PartyCode string

The customer or vendor code.

Region string

State/province code(s) covered; comma-separated for invites.

Country string

ISO 3166-1 alpha-2 country.

PurchaseOrderNumber string

PO the request is for, if any.

WorkOrderNumber string

Work order the request is for, if any.

TaxDocumentId Guid?

AP tax document that triggered the request, if any.

Status CertificateRequestStatus

Where the request is in its lifecycle.

ProviderCertificateId int?

Avalara certificate that fulfilled it, once fulfilled.

ProviderInvitationId int?

Avalara CertExpress invitation id (invites only).

RequestLink string

Upload link sent to the customer (invites only).

LastError string

Why the request failed, if it did.

CreatedAt DateTimeOffset

When the need was recorded.

FulfilledAt DateTimeOffset?

When a matching certificate appeared.

Properties

Country

ISO 3166-1 alpha-2 country.

public string Country { get; init; }

Property Value

string

CreatedAt

When the need was recorded.

public DateTimeOffset CreatedAt { get; init; }

Property Value

DateTimeOffset

EntityId

Owning entity.

public string EntityId { get; init; }

Property Value

string

FulfilledAt

When a matching certificate appeared.

public DateTimeOffset? FulfilledAt { get; init; }

Property Value

DateTimeOffset?

Id

Request id.

public Guid Id { get; init; }

Property Value

Guid

Kind

Resale to vendor, or exemption invite to customer.

public CertificateRequestKind Kind { get; init; }

Property Value

CertificateRequestKind

LastError

Why the request failed, if it did.

public string? LastError { get; init; }

Property Value

string

PartyCode

The customer or vendor code.

public string PartyCode { get; init; }

Property Value

string

PartyType

Whether PartyCode is a customer or vendor.

public PartyType PartyType { get; init; }

Property Value

PartyType

ProviderCertificateId

Avalara certificate that fulfilled it, once fulfilled.

public int? ProviderCertificateId { get; init; }

Property Value

int?

ProviderInvitationId

Avalara CertExpress invitation id (invites only).

public int? ProviderInvitationId { get; init; }

Property Value

int?

PurchaseOrderNumber

PO the request is for, if any.

public string? PurchaseOrderNumber { get; init; }

Property Value

string

Region

State/province code(s) covered; comma-separated for invites.

public string Region { get; init; }

Property Value

string

Upload link sent to the customer (invites only).

public string? RequestLink { get; init; }

Property Value

string

Status

Where the request is in its lifecycle.

public CertificateRequestStatus Status { get; init; }

Property Value

CertificateRequestStatus

TaxDocumentId

AP tax document that triggered the request, if any.

public Guid? TaxDocumentId { get; init; }

Property Value

Guid?

WorkOrderNumber

Work order the request is for, if any.

public string? WorkOrderNumber { get; init; }

Property Value

string