Table of Contents

Namespace Integrations.Contracts.Tax

Classes

AddressValidationDto

Normalized is the USPS/Canada Post form with coordinates, used to pin the exact tax jurisdiction when one ZIP code spans several cities or counties. Quality is the geocode precision (e.g. Rooftop).

CreateCreditRequest

Credit memo against a committed document. Omit Lines to credit everything not yet credited.

CreateTaxDocumentRequest

Create (or, while not committed, replace) a tax document. Idempotent on (EntityId, SourceSystem, SourceDocumentId, Direction): resending the same content returns the existing document. FxLockId is required only when the caller already locked the rate; otherwise the daily rate for Date is locked automatically when the currency differs from the entity's base currency.

CreditLineRequest

Credit part of a committed invoice: LineNumber refers to the original line, Amount is positive.

JurisdictionTaxDto

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

TaxDocumentDto

Amounts are rounded to the currency's minor units. TotalTaxFunctional is in the entity's base currency.

TaxEstimateDto

Result of a real-time estimate. Nothing was recorded.

TaxEstimateRequest

Real-time estimate (e.g. before PO/NTE approval). Nothing is recorded in the tax provider.

TaxLineDto

A calculated line with its tax broken down by jurisdiction.

TaxLineRequest

One cost line. WorkType/WorkSubType/Trade + Category select the tax code through the mapping table unless TaxCode overrides it. JobSite overrides the document's job site for this line.

VoidTaxDocumentRequest

Cancel a document at the provider.

Enums

GlCategory

Accounting bucket for tax amounts, so the ERP sync can post them to the right GL account.

JurisdictionLevel

Level of the jurisdiction that levies a tax.

LineCategory

Labor and materials must be separate lines: taxability differs by state and work type.

TaxDirection

Receivable = AR (client invoices, sales tax). Payable = AP (vendor/subcontractor bills, use tax).

TaxDocumentKind

Whether a document charges tax or gives it back.

TaxDocumentStatus

Where a tax document is in its lifecycle.