Table of Contents

Namespace Integrations.Domain.Tax

Classes

LineTaxResult

Provider-neutral result for one line.

TaxCodeMapping

Maps PVC work classification (work type / sub type / trade) and line category to a provider tax code. Data, not code: the Modernization work-type redesign only changes rows. The most specific active match wins; null columns are wildcards. Tax Research at Avalara is the authority on which code to use.

TaxDocument

A tax document (AR invoice/credit or AP bill/credit) as recorded by this service, mirrored in the tax provider. Identified by the caller's natural key (SourceSystem, SourceDocumentId) so retries are idempotent.

TaxDocumentLine

One line of a tax document, with its calculated tax by jurisdiction.

TaxLineJurisdiction

Tax for one line in one jurisdiction (e.g. TX state 6%, city 1%, county 0.5%; ON HST 13%).

Enums

JurisdictionLevel

Level of the jurisdiction that levies a tax.

LineCategory

Line cost type. Labor and materials must be separate lines: taxability differs by state (e.g. OH vs UT HVAC).

TaxDirection

AR = selling to clients (sales tax charged). AP = buying from vendors/subcontractors (use tax, vendor tax).

TaxDocumentKind

Whether a document charges tax or gives it back.

TaxDocumentStatus

Where a tax document is in its lifecycle.