Payment UK VAT
Applies UK VAT rates to payment fees (for example an invoice or card surcharge). A payment fee charged to the buyer is further consideration for the goods, not a separate exempt payment service: the Upper Tribunal held that a card fee takes the VAT rate of the main supply (SilverDoor v HMRC [2024] UKUT 147, following the Court of Justice in C-276/09 Everything Everywhere).
Registration
import { pluginRegistry } from '@unchainedshop/core';
import { PaymentUkTaxPlugin } from '@unchainedshop/plugins/pricing/payment-uk-tax';
pluginRegistry.register(PaymentUkTaxPlugin);
Or register all UK tax adapters (product, delivery and payment) via the country preset:
import { registerUkTaxPlugins } from '@unchainedshop/plugins/presets/countries/uk';
registerUkTaxPlugins();
How It Works
- Locates the supply like Product UK VAT: the delivery address, else the billing address, else the country of the order or request, in the UK VAT area (GB, IM)
- Determines the tax category from the payment provider's
uk-tax-categoryconfiguration entry, falling back to STANDARD (20%) - Resolves the rate valid at order time from the bundled era table, extracts it from gross fees and adds it to net fees
Payment fees of goods delivered outside of the UK VAT area stay untaxed, like the goods. The fee follows the rate of the main supply: a shop that only sells zero-rated goods (for example books) sets zero on its payment providers; for orders mixing rates, the fee has to be split by the share of each rate, which needs a custom adapter.
Rate data and category semantics are shared with the Product UK VAT adapter (bundled uk-tax-rates.json, era-based, gov.uk-verified).
Configuration
mutation ConfigurePaymentProvider {
updatePaymentProvider(
paymentProviderId: "provider-id"
paymentProvider: {
configuration: [
{ key: "uk-tax-category", value: "standard" }
]
}
) {
_id
}
}
Adapter Details
| Property | Value |
|---|---|
| Key | shop.unchained.pricing.payment-uk-tax |
| Version | 1.0.0 |
| Order Index | 80 |
| Source | pricing/payment-uk-tax/adapter.ts |
Related
- Product UK VAT - UK VAT for products
- Delivery UK VAT - UK VAT for delivery fees
- Payment Swiss Tax - Swiss VAT for payment fees