You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -295,21 +295,28 @@ taxOrigin | string | Your tax origin used to determine taxation
295
295
You can apply a default tax rate for all customers or individual per-country tax rates. By default all customers are set to `taxable`, unless overridden by `taxExempt` or by automatic [VAT Collection](#vat-collection).
296
296
297
297
Apply a default tax rate to all customers:
298
+
299
+
```js
300
+
{ default:'txr_...' }
301
+
```
302
+
303
+
Apply a tax rate to eu customers only:
304
+
298
305
```js
299
-
{ default:'...' }
306
+
{ eu:'txr_...' }
300
307
```
301
308
302
309
Only apply a tax rate for `GB` customers:
303
310
304
311
```js
305
-
{ GB:'...' }
312
+
{ GB:'txr_...' }
306
313
```
307
314
308
315
Apply a specific tax rate for `US` customers, otherwise use the default tax rate:
309
316
310
317
```js
311
-
{ US:'...',
312
-
default:'...' }
318
+
{ US:'txr_...',
319
+
default:'txr_...' }
313
320
```
314
321
315
322
A tax rate should be a valid Stripe `tax_rate` object ID.
0 commit comments