Delivery Swiss Tax
Applies Swiss VAT rates to delivery fees. Only activates for orders with delivery addresses in Switzerland (CH) or Liechtenstein (LI).
Installation
import '@unchainedshop/plugins/pricing/delivery-swiss-tax';
How It Works
- Checks if the order has a delivery and address in CH/LI
- Resolves the tax category from delivery provider configuration
- Falls back to DEFAULT rate (8.1%) if not specified
- Calculates and adds tax to the delivery fee
Tax Categories
| Category | Rate (2024+) | Rate (pre-2024) |
|---|---|---|
| DEFAULT | 8.1% | 7.7% |
| REDUCED | 2.6% | 2.5% |
| SPECIAL | 3.8% | 3.7% |
Configuration
Set the tax category on the delivery provider:
mutation CreateDeliveryProvider {
createDeliveryProvider(
deliveryProvider: {
type: SHIPPING
adapterKey: "shop.unchained.post"
configuration: [
{ key: "swiss-tax-category", value: "default" }
]
}
) {
_id
}
}
Activation Conditions
The adapter only activates when:
- The order exists
- Order delivery is set
- Delivery address is in Switzerland or Liechtenstein
Adapter Details
| Property | Value |
|---|---|
| Key | shop.unchained.pricing.delivery-swiss-tax |
| Version | 1.0.0 |
| Order Index | 80 |
| Source | pricing/delivery-swiss-tax.ts |
Related
- Product Swiss Tax - Swiss VAT for products
- Free Delivery - Zero-cost delivery
- Delivery Pricing - Custom delivery pricing