Table of Contents

Interface IPartyProvider

Namespace
Integrations.Application.Parties
Assembly
Integrations.Application.dll

Customer/vendor records in the tax provider (needed for exemption and resale certificates).

public interface IPartyProvider

Methods

UpsertCustomerAsync(int, PartyRecord, CancellationToken)

Creates or updates the customer in the provider company.

Task UpsertCustomerAsync(int companyId, PartyRecord party, CancellationToken cancellationToken)

Parameters

companyId int
party PartyRecord
cancellationToken CancellationToken

Returns

Task

UpsertVendorAsync(int, PartyRecord, CancellationToken)

Creates or updates the vendor in the provider company.

Task UpsertVendorAsync(int companyId, PartyRecord party, CancellationToken cancellationToken)

Parameters

companyId int
party PartyRecord
cancellationToken CancellationToken

Returns

Task