Namespace Integrations.Contracts.Tax
Classes
- AddressValidationDto
Normalizedis the USPS/Canada Post form with coordinates, used to pin the exact tax jurisdiction when one ZIP code spans several cities or counties.Qualityis the geocode precision (e.g.Rooftop).
- CreateCreditRequest
Credit memo against a committed document. Omit
Linesto 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.FxLockIdis required only when the caller already locked the rate; otherwise the daily rate forDateis locked automatically when the currency differs from the entity's base currency.
- CreditLineRequest
Credit part of a committed invoice:
LineNumberrefers to the original line,Amountis 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.
TotalTaxFunctionalis 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+Categoryselect the tax code through the mapping table unlessTaxCodeoverrides it.JobSiteoverrides 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.