Skip to main content

Documentation Index

Fetch the complete documentation index at: https://86d.app/docs/llms.txt

Use this file to discover all available pages before exploring further.

The tax module computes taxes at checkout based on the shipping address, the cart contents, and your nexus configuration. It ships with a built-in jurisdiction backend that handles common cases and adapters for TaxJar and Avalara when you need authoritative real-time rates. Source: modules/tax · npm: @86d-app/tax

Installation

86d module add tax

Configuration

tax({
  backend: "builtin",        // "builtin" | "taxjar" | "avalara"
  taxjarApiKey: "...",
  avalaraAccountId: "...",
  avalaraLicenseKey: "...",
});

Admin endpoints

MethodPathDescription
GET/admin/tax/nexusList jurisdictions where you collect tax
POST/admin/tax/nexusAdd a nexus
POST/admin/tax/calculateTest calculation for an address